org.apache.avalon.excalibur.naming
Interface NamingProvider

All Known Subinterfaces:
RMINamingProvider
All Known Implementing Classes:
NameServiceProxy, NameServiceProxy

public interface NamingProvider

The underlying communication interface for remote contexts.

Version:
$Revision: 1.2 $
Author:
Peter Donald

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)
           
 

Method Detail

getNameParser

public javax.naming.NameParser getNameParser()
                                      throws javax.naming.NamingException,
                                             java.lang.Exception

bind

public void bind(javax.naming.Name name,
                 java.lang.String className,
                 java.lang.Object object)
          throws javax.naming.NamingException,
                 java.lang.Exception

rebind

public void rebind(javax.naming.Name name,
                   java.lang.String className,
                   java.lang.Object object)
            throws javax.naming.NamingException,
                   java.lang.Exception

createSubcontext

public javax.naming.Context createSubcontext(javax.naming.Name name)
                                      throws javax.naming.NamingException,
                                             java.lang.Exception

destroySubcontext

public void destroySubcontext(javax.naming.Name name)
                       throws javax.naming.NamingException,
                              java.lang.Exception

list

public javax.naming.NameClassPair[] list(javax.naming.Name name)
                                  throws javax.naming.NamingException,
                                         java.lang.Exception

listBindings

public javax.naming.Binding[] listBindings(javax.naming.Name name)
                                    throws javax.naming.NamingException,
                                           java.lang.Exception

lookup

public java.lang.Object lookup(javax.naming.Name name)
                        throws javax.naming.NamingException,
                               java.lang.Exception

unbind

public void unbind(javax.naming.Name name)
            throws javax.naming.NamingException,
                   java.lang.Exception


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