fr.dyade.aaa.jndi2.soap
Class JndiSoapService
java.lang.Object
fr.dyade.aaa.jndi2.soap.JndiSoapService
public class JndiSoapService
extends java.lang.Object
The
JndiSoapService
class implements a JNDI access through a
SOAP service.
Actually, this service is a "classical" JNDI client accessing the JNDI
server.
void | bind(String name, Hashtable map) - Service method: decodes and binds an object.
|
void | init(String jndiHost, int jndiPort) - Initializes the
JndiSoapService .
|
Hashtable | lookup(String name) - Service method: retrieves an object and returns it coded.
|
void | rebind(String name, Hashtable map) - Service method: decodes and rebinds an object.
|
void | unbind(String name) - Service method: unbinds an object.
|
bind
public void bind(String name,
Hashtable map)
throws NamingException
Service method: decodes and binds an object.
name
- Name to use for binding the object.map
- Coded object.
init
public void init(String jndiHost,
int jndiPort)
throws NamingException
Initializes the JndiSoapService
.
jndiHost
- Host hosting the JNDI server.jndiPort
- JNDI server's port.
lookup
public Hashtable lookup(String name)
throws NamingException
Service method: retrieves an object and returns it coded.
rebind
public void rebind(String name,
Hashtable map)
throws NamingException
Service method: decodes and rebinds an object.
name
- Name to use for rebinding the object.map
- Coded object.
unbind
public void unbind(String name)
throws NamingException
Service method: unbinds an object.
Copyright B) 2004 Scalagent - All rights reserved