Package org.apache.naming
Class AbstractRef
- java.lang.Object
-
- javax.naming.Reference
-
- org.apache.naming.AbstractRef
-
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
EjbRef,HandlerRef,LookupRef,ResourceEnvRef,ResourceLinkRef,ResourceRef,ServiceRef,TransactionRef
public abstract class AbstractRef extends Reference
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
-
-
Constructor Summary
Constructors Constructor Description AbstractRef(String className)AbstractRef(String className, String factory, String factoryLocation)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringgetDefaultFactoryClassName()StringgetFactoryClassName()Retrieves the class name of the factory of the object to which this reference refers.StringtoString()Return a String rendering of this object.
-
-
-
Method Detail
-
getFactoryClassName
public final String getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.- Overrides:
getFactoryClassNamein classReference
-
getDefaultFactoryClassName
protected abstract String getDefaultFactoryClassName()
-
-