Package org.apache.naming.factory
Class ResourceFactory
- java.lang.Object
- 
- org.apache.naming.factory.FactoryBase
- 
- org.apache.naming.factory.ResourceFactory
 
 
- 
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
 
 public class ResourceFactory extends FactoryBase Object factory for Resources.- Author:
- Remy Maucherat
 
- 
- 
Constructor SummaryConstructors Constructor Description ResourceFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.naming.spi.ObjectFactorygetDefaultFactory(javax.naming.Reference ref)If a default factory is available for the given reference type, create the default factory.protected java.lang.ObjectgetLinked(javax.naming.Reference ref)If this reference is a link to another JNDI object, obtain that object.protected booleanisReferenceTypeSupported(java.lang.Object obj)Determines if this factory supports processing the provided reference object.- 
Methods inherited from class org.apache.naming.factory.FactoryBasegetObjectInstance
 
- 
 
- 
- 
- 
Method Detail- 
isReferenceTypeSupportedprotected boolean isReferenceTypeSupported(java.lang.Object obj) Description copied from class:FactoryBaseDetermines if this factory supports processing the provided reference object.- Specified by:
- isReferenceTypeSupportedin class- FactoryBase
- Parameters:
- obj- The object to be processed
- Returns:
- trueif this factory can process the object, otherwise- false
 
 - 
getDefaultFactoryprotected javax.naming.spi.ObjectFactory getDefaultFactory(javax.naming.Reference ref) throws javax.naming.NamingExceptionDescription copied from class:FactoryBaseIf a default factory is available for the given reference type, create the default factory.- Specified by:
- getDefaultFactoryin class- FactoryBase
- Parameters:
- ref- The reference object to be processed
- Returns:
- The default factory for the given reference object or
          nullif no default factory exists.
- Throws:
- javax.naming.NamingException- If the default factory cannot be created
 
 - 
getLinkedprotected java.lang.Object getLinked(javax.naming.Reference ref) Description copied from class:FactoryBaseIf this reference is a link to another JNDI object, obtain that object.- Specified by:
- getLinkedin class- FactoryBase
- 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
 
 
- 
 
-