org.apache.naming
Class ResourceRef
Reference
org.apache.naming.ResourceRef
public class ResourceRef
extends Reference
Represents a reference address to a resource.
Version:
- Remy Maucherat
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.
|
ResourceRef(String resourceClass, String description, String scope, String auth) - Resource Reference.
|
ResourceRef(String resourceClass, String description, String scope, String auth, String factory, String factoryLocation) - Resource Reference.
|
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.
|
AUTH
public static final String AUTH
Auth address type.
DEFAULT_FACTORY
public static final String DEFAULT_FACTORY
Default factory for this reference.
DESCRIPTION
public static final String DESCRIPTION
Description address type.
SCOPE
public static final String SCOPE
Scope address type.
ResourceRef
public ResourceRef(String resourceClass,
String description,
String scope,
String auth)
Resource Reference.
resourceClass
- Resource classscope
- Resource scopeauth
- Resource authetication
ResourceRef
public ResourceRef(String resourceClass,
String description,
String scope,
String auth,
String factory,
String factoryLocation)
Resource Reference.
resourceClass
- Resource classscope
- Resource scopeauth
- Resource authetication
getFactoryClassName
public String getFactoryClassName()
Retrieves the class name of the factory of the object to which this
reference refers.
toString
public String toString()
Return a String rendering of this object.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.