org.jnp.server
Class NamingServerWrapper

java.lang.Object
  extended by org.jnp.server.NamingServerWrapper
All Implemented Interfaces:
Remote, Naming

public class NamingServerWrapper
extends Object
implements Naming

A delegating wrapper that can be used to create a unique rmi server endpoint that shares the an underlying Naming server implementation.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Method Summary
 void bind(Name name, Object obj, String className)
           
 Context createSubcontext(Name name)
           
 Collection list(Name name)
           
 Collection listBindings(Name name)
           
 Object lookup(Name name)
           
 void rebind(Name name, Object obj, String className)
           
 void unbind(Name name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bind

public void bind(Name name,
                 Object obj,
                 String className)
          throws NamingException,
                 RemoteException
Specified by:
bind in interface Naming
Throws:
NamingException
RemoteException

createSubcontext

public Context createSubcontext(Name name)
                         throws NamingException,
                                RemoteException
Specified by:
createSubcontext in interface Naming
Throws:
NamingException
RemoteException

list

public Collection list(Name name)
                throws NamingException,
                       RemoteException
Specified by:
list in interface Naming
Throws:
NamingException
RemoteException

listBindings

public Collection listBindings(Name name)
                        throws NamingException,
                               RemoteException
Specified by:
listBindings in interface Naming
Throws:
NamingException
RemoteException

lookup

public Object lookup(Name name)
              throws NamingException,
                     RemoteException
Specified by:
lookup in interface Naming
Throws:
NamingException
RemoteException

rebind

public void rebind(Name name,
                   Object obj,
                   String className)
            throws NamingException,
                   RemoteException
Specified by:
rebind in interface Naming
Throws:
NamingException
RemoteException

unbind

public void unbind(Name name)
            throws NamingException,
                   RemoteException
Specified by:
unbind in interface Naming
Throws:
NamingException
RemoteException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.