javax.naming.spi
public interface ObjectFactoryBuilder
Method Summary | |
---|---|
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