public class ResourceRef extends AbstractRef
| Modifier and Type | Field and Description | 
|---|---|
| static String | AUTHAuth address type. | 
| static String | DEFAULT_FACTORYDefault factory for this reference. | 
| static String | DESCRIPTIONDescription address type. | 
| static String | SCOPEScope address type. | 
| static String | SINGLETONIs this resource a singleton | 
addrs, classFactory, classFactoryLocation, className| Constructor and Description | 
|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getDefaultFactoryClassName() | 
getFactoryClassName, toStringpublic 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
public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton)
resourceClass - Resource classdescription - Description of the resourcescope - Resource scopeauth - Resource authenticationsingleton - Is this resource a singleton (every lookup should return
                  the same instance rather than a new instance)?public ResourceRef(String resourceClass, String description, String scope, String auth, boolean singleton, String factory, String factoryLocation)
resourceClass - Resource classdescription - Description of the resourcescope - Resource scopeauth - Resource authenticationsingleton - Is this resource a singleton (every lookup should return
                  the same instance rather than a new instance)?factory - The possibly null class name of the object's factory.factoryLocation - The possibly null location from which to load the
                        factory (e.g. URL)protected String getDefaultFactoryClassName()
getDefaultFactoryClassName in class AbstractRefCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.