| 
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.naming.Reference
org.apache.naming.ResourceRef
public class ResourceRef
Represents a reference address to a resource.
| Field Summary | |
|---|---|
static String | 
AUTH
Auth address type.  | 
static String | 
DEFAULT_FACTORY
Default factory for this reference.  | 
static String | 
DESCRIPTION
Description address type.  | 
static String | 
SCOPE
Scope address type.  | 
static String | 
SINGLETON
Is this resource a singleton  | 
| Fields inherited from class javax.naming.Reference | 
|---|
addrs, classFactory, classFactoryLocation, className | 
| Constructor Summary | |
|---|---|
ResourceRef(String resourceClass,
            String description,
            String scope,
            String auth,
            boolean singleton)
Resource Reference.  | 
|
ResourceRef(String resourceClass,
            String description,
            String scope,
            String auth,
            boolean singleton,
            String factory,
            String factoryLocation)
Resource Reference.  | 
|
| Method Summary | |
|---|---|
 String | 
getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.  | 
 String | 
toString()
Return a String rendering of this object.  | 
| Methods inherited from class javax.naming.Reference | 
|---|
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, hashCode, remove, size | 
| Methods inherited from class java.lang.Object | 
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String DEFAULT_FACTORY
public static final String DESCRIPTION
public static final String SCOPE
public static final String AUTH
public static final String SINGLETON
| Constructor Detail | 
|---|
public ResourceRef(String resourceClass,
                   String description,
                   String scope,
                   String auth,
                   boolean singleton)
resourceClass - Resource classscope - Resource scopeauth - Resource authentication
public ResourceRef(String resourceClass,
                   String description,
                   String scope,
                   String auth,
                   boolean singleton,
                   String factory,
                   String factoryLocation)
resourceClass - Resource classscope - Resource scopeauth - Resource authentication| Method Detail | 
|---|
public String getFactoryClassName()
getFactoryClassName in class Referencepublic String toString()
toString in class Reference
  | 
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||