org.codehaus.spice.jndikit.rmi.server
Class RMINamingProviderImpl

java.lang.Object
  extended by org.codehaus.spice.jndikit.rmi.server.RMINamingProviderImpl
All Implemented Interfaces:
Serializable, Remote, NamingProvider, RMINamingProvider

public class RMINamingProviderImpl
extends Object
implements Serializable, RMINamingProvider

The RMI implementation of provider.

Version:
$Revision: 1.1 $
Author:
Peter Donald
See Also:
Serialized Form

Constructor Summary
RMINamingProviderImpl(Context root)
           
 
Method Summary
 void bind(Name name, String className, Object object)
           
 Context createSubcontext(Name name)
           
 void destroySubcontext(Name name)
           
 NameParser getNameParser()
           
 NameClassPair[] list(Name name)
           
 Binding[] listBindings(Name name)
           
 Object lookup(Name name)
           
 void rebind(Name name, String className, Object object)
           
 void unbind(Name name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMINamingProviderImpl

public RMINamingProviderImpl(Context root)
Method Detail

getNameParser

public NameParser getNameParser()
                         throws NamingException
Specified by:
getNameParser in interface NamingProvider
Throws:
NamingException

bind

public void bind(Name name,
                 String className,
                 Object object)
          throws NamingException
Specified by:
bind in interface NamingProvider
Throws:
NamingException

rebind

public void rebind(Name name,
                   String className,
                   Object object)
            throws NamingException
Specified by:
rebind in interface NamingProvider
Throws:
NamingException

createSubcontext

public Context createSubcontext(Name name)
                         throws NamingException
Specified by:
createSubcontext in interface NamingProvider
Throws:
NamingException

destroySubcontext

public void destroySubcontext(Name name)
                       throws NamingException
Specified by:
destroySubcontext in interface NamingProvider
Throws:
NamingException

list

public NameClassPair[] list(Name name)
                     throws NamingException
Specified by:
list in interface NamingProvider
Throws:
NamingException

listBindings

public Binding[] listBindings(Name name)
                       throws NamingException
Specified by:
listBindings in interface NamingProvider
Throws:
NamingException

lookup

public Object lookup(Name name)
              throws NamingException
Specified by:
lookup in interface NamingProvider
Throws:
NamingException

unbind

public void unbind(Name name)
            throws NamingException
Specified by:
unbind in interface NamingProvider
Throws:
NamingException


Copyright © 1999-2008 Codehaus. All Rights Reserved.