1 50 package org.apache.avalon.excalibur.naming; 51 52 import javax.naming.Binding ; 53 import javax.naming.Context ; 54 import javax.naming.Name ; 55 import javax.naming.NameClassPair ; 56 import javax.naming.NameParser ; 57 import javax.naming.NamingException ; 58 59 66 public interface NamingProvider 67 { 68 NameParser getNameParser() 69 throws NamingException , Exception ; 70 71 void bind( Name name, String className, Object object ) 72 throws NamingException , Exception ; 73 74 void rebind( Name name, String className, Object object ) 75 throws NamingException , Exception ; 76 77 Context createSubcontext( Name name ) 78 throws NamingException , Exception ; 79 80 void destroySubcontext( Name name ) 81 throws NamingException , Exception ; 82 83 NameClassPair [] list( Name name ) 84 throws NamingException , Exception ; 85 86 Binding [] listBindings( Name name ) 87 throws NamingException , Exception ; 88 89 Object lookup( Name name ) 90 throws NamingException , Exception ; 91 92 void unbind( Name name ) 93 throws NamingException , Exception ; 94 } 95 | Popular Tags |