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