Package org.apache.naming.factory
Class EjbFactory
java.lang.Object
org.apache.naming.factory.FactoryBase
org.apache.naming.factory.EjbFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectFactoryIf a default factory is available for the given reference type, create the default factory.protected ObjectIf this reference is a link to another JNDI object, obtain that object.protected booleanDetermines if this factory supports processing the provided reference object.Methods inherited from class org.apache.naming.factory.FactoryBase
getObjectInstance
-
Constructor Details
-
EjbFactory
public EjbFactory()
-
-
Method Details
-
isReferenceTypeSupported
Description copied from class:FactoryBaseDetermines if this factory supports processing the provided reference object.- Specified by:
isReferenceTypeSupportedin classFactoryBase- Parameters:
obj- The object to be processed- Returns:
trueif this factory can process the object, otherwisefalse
-
getDefaultFactory
Description copied from class:FactoryBaseIf a default factory is available for the given reference type, create the default factory.- Specified by:
getDefaultFactoryin classFactoryBase- Parameters:
ref- The reference object to be processed- Returns:
- The default factory for the given reference object or
nullif no default factory exists. - Throws:
NamingException- If the default factory cannot be created
-
getLinked
Description copied from class:FactoryBaseIf this reference is a link to another JNDI object, obtain that object.- Specified by:
getLinkedin classFactoryBase- Parameters:
ref- The reference object to be processed- Returns:
- The linked object or
nullif linked objects are not supported by or not configured for this reference object - Throws:
NamingException- Error accessing linked object
-