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:
  • Constructor Details

    • AbstractRef

      public AbstractRef(String className)
    • AbstractRef

      public AbstractRef(String className, String factory, String factoryLocation)
  • Method Details

    • getFactoryClassName

      public final String getFactoryClassName()
      Retrieves the class name of the factory of the object to which this reference refers.
      Overrides:
      getFactoryClassName in class Reference
    • getDefaultFactoryClassName

      protected abstract String getDefaultFactoryClassName()
    • toString

      public final String toString()
      Return a String rendering of this object.
      Overrides:
      toString in class Reference