public interface ObjectFactoryBuilder
| Modifier and Type | Method and Description |
|---|---|
ObjectFactory |
createObjectFactory(Object refInfo,
Hashtable<?,?> environment)
Create a new object using the supplied environment.
|
ObjectFactory createObjectFactory(Object refInfo, Hashtable<?,?> environment) throws NamingException
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.NamingException