| javax.naming.spi.ObjectFactoryBuilder
ObjectFactoryBuilder | public interface ObjectFactoryBuilder (Code) | | An object factory builder creates an object factory, and an object factory
creates objects of a specified type. A variety of different objects may be
used by a JNDI application; these objects are meaningful to the application
and can be manipulated according to the methods available to the class of the
object, such as a printer object. The application uses
NamingManager.setObjectFactoryBuilder() to specify its own or
its preferred builder to override JNDI default policies; any such builder
must implement the ObjectFactoryBuilder interface.
|
createObjectFactory | ObjectFactory createObjectFactory(Object o, Hashtable, ?> envmt) throws NamingException(Code) | | Returns an ObjectFactory customized by the
envmt parameter that is capable of creating instances of
the object o .
Parameters: o - may be null Parameters: envmt - may be null an ObjectFactory customized by theenvmt parameter that is capable of creatinginstances of the object o . throws: NamingException - if an object factory could not be created. |
|
|