Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » naming » [javadoc | source]
org.apache.naming
public class: ResourceRef [javadoc | source]
java.lang.Object
   javax.naming.Reference
      org.apache.naming.ResourceRef

All Implemented Interfaces:
    Serializable, Cloneable

Represents a reference address to a resource.
Field Summary
public static final  String DEFAULT_FACTORY    Default factory for this reference. 
public static final  String DESCRIPTION    Description address type. 
public static final  String SCOPE    Scope address type. 
public static final  String AUTH    Auth address type. 
Constructor:
 public ResourceRef(String resourceClass,
    String description,
    String scope,
    String auth) 
    Resource Reference.
    Parameters:
    resourceClass - Resource class
    scope - Resource scope
    auth - Resource authetication
 public ResourceRef(String resourceClass,
    String description,
    String scope,
    String auth,
    String factory,
    String factoryLocation) 
    Resource Reference.
    Parameters:
    resourceClass - Resource class
    scope - Resource scope
    auth - Resource authetication
Method from org.apache.naming.ResourceRef Summary:
getFactoryClassName,   toString
Methods from javax.naming.Reference:
add,   add,   clear,   clone,   equals,   get,   get,   getAll,   getClassName,   getFactoryClassLocation,   getFactoryClassName,   hashCode,   remove,   size,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.naming.ResourceRef Detail:
 public String getFactoryClassName() 
    Retrieves the class name of the factory of the object to which this reference refers.
 public String toString() 
    Return a String rendering of this object.