|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.jndi2.soap.JndiSoapService
The JndiSoapService
class implements a JNDI access through a
SOAP service.
Actually, this service is a "classical" JNDI client accessing the JNDI server.
Constructor Summary | |
JndiSoapService()
|
Method Summary | |
void |
bind(java.lang.String name,
java.util.Hashtable map)
Service method: decodes and binds an object. |
void |
init(java.lang.String jndiHost,
int jndiPort)
Initializes the JndiSoapService . |
java.util.Hashtable |
lookup(java.lang.String name)
Service method: retrieves an object and returns it coded. |
void |
rebind(java.lang.String name,
java.util.Hashtable map)
Service method: decodes and rebinds an object. |
void |
unbind(java.lang.String name)
Service method: unbinds an object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JndiSoapService()
Method Detail |
public void init(java.lang.String jndiHost, int jndiPort) throws javax.naming.NamingException
JndiSoapService
.
jndiHost
- Host hosting the JNDI server.jndiPort
- JNDI server's port.
javax.naming.NamingException
- If the JNDI server is not reachable or if
the parameters are invalid.public void bind(java.lang.String name, java.util.Hashtable map) throws javax.naming.NamingException
name
- Name to use for binding the object.map
- Coded object.
javax.naming.NamingException
- If the binding fails, or if the object could
not be decoded.public void rebind(java.lang.String name, java.util.Hashtable map) throws javax.naming.NamingException
name
- Name to use for rebinding the object.map
- Coded object.
javax.naming.NamingException
- If the rebinding fails, or if the object could
not be decoded.public java.util.Hashtable lookup(java.lang.String name) throws javax.naming.NamingException
javax.naming.NamingException
- If the lookup fails or if the object is not
codable.public void unbind(java.lang.String name) throws javax.naming.NamingException
javax.naming.NamingException
- If the unbinding fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |