fr.dyade.aaa.jndi2.soap.JndiSoapService Class Reference

List of all members.

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

Detailed Description

The 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.


Member Function Documentation

void fr.dyade.aaa.jndi2.soap.JndiSoapService.init ( String  jndiHost,
int  jndiPort 
) throws NamingException

Initializes the JndiSoapService.

Parameters:
jndiHost Host hosting the JNDI server.
jndiPort JNDI server's port.
Exceptions:
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.

Parameters:
name Name to use for binding the object.
map Coded object.
Exceptions:
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.

Parameters:
name Name to use for rebinding the object.
map Coded object.
Exceptions:
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.

Exceptions:
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.

Exceptions:
NamingException If the unbinding fails.

Definition at line 115 of file JndiSoapService.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:17:16 2008 for joram by  doxygen 1.5.0