Package com.zfabrik.naming.jndi.provider
Interface INamingProvider
public interface INamingProvider
Programming model for naming integration. Allows custom provisioning
of Initial Context Factory, Object Factory, etc
-
Method Summary
Modifier and TypeMethodDescriptiongetInitialContextFactory(Hashtable<?,?> env)
gets an Initial Context Factory.getObjectFactory(String name)
gets an object factory for the given namegetStateFactory(String name)
returns a state factory for the given name.getURLContextFactory(String scheme, Hashtable<?,?> env)
gets an' URL Context Factory for the specified scheme and environment
-
Method Details
-
getInitialContextFactory
gets an Initial Context Factory.- Throws:
NamingException
-
getURLContextFactory
gets an' URL Context Factory for the specified scheme and environment- Throws:
NamingException
-
getObjectFactory
gets an object factory for the given name- Throws:
NamingException
-
getStateFactory
returns a state factory for the given name.- Parameters:
name
- name of the state factory- Returns:
- a state factory
- Throws:
NamingException
-