Public Member Functions | |
| void | init (String jndiHost, int jndiPort) throws NamingException |
| void | bind (String name, Hashtable map) throws NamingException |
| void | rebind (String name, Hashtable map) throws NamingException |
| Hashtable | lookup (String name) throws NamingException |
| void | unbind (String name) throws NamingException |
Static Public Attributes | |
| static final Logger | logger |
JndiSoapService class implements a JNDI access through a SOAP service. Actually, this service is a "classical" JNDI client accessing the JNDI server.
Definition at line 43 of file JndiSoapService.java.
| void fr.dyade.aaa.jndi2.soap.JndiSoapService.init | ( | String | jndiHost, | |
| int | jndiPort | |||
| ) | throws NamingException |
Initializes the JndiSoapService.
| jndiHost | Host hosting the JNDI server. | |
| jndiPort | JNDI server's port. |
| NamingException | If the JNDI server is not reachable or if the parameters are invalid. |
Definition at line 59 of file JndiSoapService.java.
| void fr.dyade.aaa.jndi2.soap.JndiSoapService.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. |
| NamingException | If the binding fails, or if the object could not be decoded. |
Definition at line 77 of file JndiSoapService.java.
| void fr.dyade.aaa.jndi2.soap.JndiSoapService.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. |
| NamingException | If the rebinding fails, or if the object could not be decoded. |
Definition at line 90 of file JndiSoapService.java.
| Hashtable fr.dyade.aaa.jndi2.soap.JndiSoapService.lookup | ( | String | name | ) | throws NamingException |
Service method: retrieves an object and returns it coded.
| NamingException | If the lookup fails or if the object is not codable. |
Definition at line 100 of file JndiSoapService.java.
References fr.dyade.aaa.jndi2.soap.JndiSoapService.logger.
| void fr.dyade.aaa.jndi2.soap.JndiSoapService.unbind | ( | String | name | ) | throws NamingException |
Service method: unbinds an object.
| NamingException | If the unbinding fails. |
Definition at line 115 of file JndiSoapService.java.
1.5.0