public class EjbFactory extends FactoryBase
Constructor and Description |
---|
EjbFactory() |
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) throws NamingException
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 objectNamingException
- Error accessing linked objectCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.