fr.dyade.aaa.jndi2.soap

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

Method Summary

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.

Method Details

bind

public void 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.


init

public void init(String jndiHost,
                 int jndiPort)
            throws NamingException
Initializes the JndiSoapService.

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

Parameters:
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