org.codehaus.spice.jndikit
Interface NamingProvider

All Known Subinterfaces:
RMINamingProvider
All Known Implementing Classes:
RMINamingProviderImpl

public interface NamingProvider

The underlying communication interface for remote contexts.

Version:
$Revision: 1.1 $
Author:
Peter Donald

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)
           
 

Method Detail

getNameParser

public NameParser getNameParser()
                         throws NamingException,
                                Exception
Throws:
NamingException
Exception

bind

public void bind(Name name,
                 String className,
                 Object object)
          throws NamingException,
                 Exception
Throws:
NamingException
Exception

rebind

public void rebind(Name name,
                   String className,
                   Object object)
            throws NamingException,
                   Exception
Throws:
NamingException
Exception

createSubcontext

public Context createSubcontext(Name name)
                         throws NamingException,
                                Exception
Throws:
NamingException
Exception

destroySubcontext

public void destroySubcontext(Name name)
                       throws NamingException,
                              Exception
Throws:
NamingException
Exception

list

public NameClassPair[] list(Name name)
                     throws NamingException,
                            Exception
Throws:
NamingException
Exception

listBindings

public Binding[] listBindings(Name name)
                       throws NamingException,
                              Exception
Throws:
NamingException
Exception

lookup

public Object lookup(Name name)
              throws NamingException,
                     Exception
Throws:
NamingException
Exception

unbind

public void unbind(Name name)
            throws NamingException,
                   Exception
Throws:
NamingException
Exception


Copyright © 1999-2005 Codehaus. All Rights Reserved.