public class ResourceFactory extends FactoryBase
Constructor and Description |
---|
ResourceFactory() |
Modifier and Type | Method and Description |
---|---|
protected ObjectFactory |
getDefaultFactory(Reference ref)
If a default factory is available for the given reference type, create
the default factory.
|
protected Object |
getLinked(Reference ref)
If this reference is a link to another JNDI object, obtain that object.
|
protected boolean |
isReferenceTypeSupported(Object obj)
Determines if this factory supports processing the provided reference
object.
|
getObjectInstance
protected boolean isReferenceTypeSupported(Object obj)
FactoryBase
isReferenceTypeSupported
in class FactoryBase
obj
- The object to be processedtrue
if this factory can process the object,
otherwise false
protected ObjectFactory getDefaultFactory(Reference ref) throws NamingException
FactoryBase
getDefaultFactory
in class FactoryBase
ref
- The reference object to be processednull
if no default factory exists.NamingException
- If the default factory cannot be createdprotected Object getLinked(Reference ref)
FactoryBase
getLinked
in class FactoryBase
ref
- The reference object to be processednull
if linked objects are
not supported by or not configured for this reference objectCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.