public class EjbFactory extends FactoryBase
Constructor and Description |
---|
EjbFactory() |
Modifier and Type | Method and Description |
---|---|
protected javax.naming.spi.ObjectFactory |
getDefaultFactory(javax.naming.Reference ref)
If a default factory is available for the given reference type, create
the default factory.
|
protected java.lang.Object |
getLinked(javax.naming.Reference ref)
If this reference is a link to another JNDI object, obtain that object.
|
protected boolean |
isReferenceTypeSupported(java.lang.Object obj)
Determines if this factory supports processing the provided reference
object.
|
getObjectInstance
protected boolean isReferenceTypeSupported(java.lang.Object obj)
FactoryBase
isReferenceTypeSupported
in class FactoryBase
obj
- The object to be processedtrue
if this factory can process the object,
otherwise false
protected javax.naming.spi.ObjectFactory getDefaultFactory(javax.naming.Reference ref) throws javax.naming.NamingException
FactoryBase
getDefaultFactory
in class FactoryBase
ref
- The reference object to be processednull
if no default factory exists.javax.naming.NamingException
- If the default factory can not be createdprotected java.lang.Object getLinked(javax.naming.Reference ref) throws javax.naming.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 objectjavax.naming.NamingException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.