@Service public class JndiNamingObjectFactory extends Object implements NamingObjectFactory
This factory creates objects by looking them up in the given Context
NamingObjectProxy.InitializationNamingObjectProxy| Constructor and Description |
|---|
JndiNamingObjectFactory(String name,
String jndiName,
boolean cacheResult) |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(Context ic)
Create and return an object.
|
boolean |
isCreateResultCacheable()
Tells if the result of create() is cacheable.
|
public boolean isCreateResultCacheable()
NamingObjectFactoryisCreateResultCacheable in interface NamingObjectFactorypublic Object create(Context ic) throws NamingException
NamingObjectProxycreate in interface NamingObjectProxyNamingExceptionCopyright © 2017. All rights reserved.