org.apache.avalon.excalibur.naming.rmi.server
Class RMINamingProviderImpl

java.lang.Object
  |
  +--org.apache.avalon.excalibur.naming.rmi.server.RMINamingProviderImpl
All Implemented Interfaces:
NamingProvider, java.rmi.Remote, RMINamingProvider, java.io.Serializable

public class RMINamingProviderImpl
extends java.lang.Object
implements java.io.Serializable, RMINamingProvider

The RMI implementation of provider.

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

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

Field Detail

m_root

protected javax.naming.Context m_root
Constructor Detail

RMINamingProviderImpl

public RMINamingProviderImpl(javax.naming.Context root)
Method Detail

getNameParser

public javax.naming.NameParser getNameParser()
                                      throws javax.naming.NamingException
Specified by:
getNameParser in interface NamingProvider

bind

public void bind(javax.naming.Name name,
                 java.lang.String className,
                 java.lang.Object object)
          throws javax.naming.NamingException
Specified by:
bind in interface NamingProvider

rebind

public void rebind(javax.naming.Name name,
                   java.lang.String className,
                   java.lang.Object object)
            throws javax.naming.NamingException
Specified by:
rebind in interface NamingProvider

createSubcontext

public javax.naming.Context createSubcontext(javax.naming.Name name)
                                      throws javax.naming.NamingException
Specified by:
createSubcontext in interface NamingProvider

destroySubcontext

public void destroySubcontext(javax.naming.Name name)
                       throws javax.naming.NamingException
Specified by:
destroySubcontext in interface NamingProvider

list

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

listBindings

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

lookup

public java.lang.Object lookup(javax.naming.Name name)
                        throws javax.naming.NamingException
Specified by:
lookup in interface NamingProvider

unbind

public void unbind(javax.naming.Name name)
            throws javax.naming.NamingException
Specified by:
unbind in interface NamingProvider


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.