javax.naming.spi

Interface ObjectFactoryBuilder

public interface ObjectFactoryBuilder

Represents the builder that creates the object factories.

See Also:

Method Summary
ObjectFactorycreateObjectFactory(Object refInfo, Hashtable<?,?> environment)
Create a new object using the supplied environment.

Method Detail

createObjectFactory

public ObjectFactory createObjectFactory(Object refInfo, Hashtable<?,?> environment)
Create a new object using the supplied environment.

Parameters: refInfo the referencing object, for which the new object must be created (can be null). If not null, it is usually an instance of the Reference or Referenceable. environment contains the additional information about the factory being created. Can be null.

Returns: the created object factory. The null is never returned.

Throws: NamingException