|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.jndi2.client.NamingContextImpl
fr.dyade.aaa.jndi2.soap.SoapExt_NamingContextImpl
The SoapExt_NamingContextImpl
class is an extended
NamingContextImpl
calling a JNDI SOAP service's methods
rather than using a TCP connection for interacting with the JNDI server.
Field Summary |
Fields inherited from interface javax.naming.Context |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
Constructor Summary | |
SoapExt_NamingContextImpl(java.lang.String soapHost,
int soapPort,
java.lang.String jndiHost,
int jndiPort)
Constructs a SoapExt_NamingContextImpl , deploys and
initializes the JNDI SOAP service. |
Method Summary | |
void |
bind(java.lang.String name,
java.lang.Object obj)
Binds an object. |
javax.naming.Context |
createSubcontext(java.lang.String name)
Method not implemented. |
void |
destroySubcontext(java.lang.String name)
Method not implemented. |
javax.naming.NamingEnumeration |
list(java.lang.String name)
Method not implemented. |
javax.naming.NamingEnumeration |
listBindings(java.lang.String name)
Method not implemented. |
java.lang.Object |
lookup(java.lang.String name)
Retrieves an object. |
void |
rebind(java.lang.String name,
java.lang.Object obj)
Rebinds an object. |
void |
unbind(java.lang.String name)
Unbinds an object. |
Methods inherited from class fr.dyade.aaa.jndi2.client.NamingContextImpl |
addToEnvironment, addToEnvironment, bind, close, composeName, composeName, createSubcontext, destroySubcontext, finalize, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, listBindings, lookup, lookupLink, lookupLink, rebind, removeFromEnvironment, rename, rename, toString, unbind |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SoapExt_NamingContextImpl(java.lang.String soapHost, int soapPort, java.lang.String jndiHost, int jndiPort) throws javax.naming.NamingException
SoapExt_NamingContextImpl
, deploys and
initializes the JNDI SOAP service.
soapHost
- Host hosting the SOAP service.soapPort
- SOAP service's port.jndiHost
- Host hosting the JNDI server.jndiPort
- JNDI server's port.
javax.naming.NamingException
- If the SOAP service could not be initialized.Method Detail |
public void bind(java.lang.String name, java.lang.Object obj) throws javax.naming.NamingException
bind
in interface javax.naming.Context
bind
in class NamingContextImpl
javax.naming.NamingException
- If the binding fails or if the object could
not be coded for the SOAP protocol.public void rebind(java.lang.String name, java.lang.Object obj) throws javax.naming.NamingException
rebind
in interface javax.naming.Context
rebind
in class NamingContextImpl
javax.naming.NamingException
- If the binding fails or if the object could
not be coded for the SOAP protocol.public java.lang.Object lookup(java.lang.String name) throws javax.naming.NamingException
lookup
in interface javax.naming.Context
lookup
in class NamingContextImpl
javax.naming.NamingException
- If the lookup fails or if the object could
not be decoded.public void unbind(java.lang.String name) throws javax.naming.NamingException
unbind
in interface javax.naming.Context
unbind
in class NamingContextImpl
javax.naming.NamingException
- If the unbind fails.public javax.naming.NamingEnumeration list(java.lang.String name) throws javax.naming.NamingException
list
in interface javax.naming.Context
list
in class NamingContextImpl
javax.naming.NamingException
- Systematically.public javax.naming.NamingEnumeration listBindings(java.lang.String name) throws javax.naming.NamingException
listBindings
in interface javax.naming.Context
listBindings
in class NamingContextImpl
javax.naming.NamingException
- Systematically.public javax.naming.Context createSubcontext(java.lang.String name) throws javax.naming.NamingException
createSubcontext
in interface javax.naming.Context
createSubcontext
in class NamingContextImpl
javax.naming.NamingException
- Systematically.public void destroySubcontext(java.lang.String name) throws javax.naming.NamingException
destroySubcontext
in interface javax.naming.Context
destroySubcontext
in class NamingContextImpl
javax.naming.NamingException
- Systematically.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |