org.apache.naming

Class ResourceRef

public class ResourceRef extends Reference

Represents a reference address to a resource.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Remy Maucherat

Field Summary
static StringAUTH
Auth address type.
static StringDEFAULT_FACTORY
Default factory for this reference.
static StringDESCRIPTION
Description address type.
static StringSCOPE
Scope address type.
Constructor Summary
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.
Method Summary
StringgetFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.
StringtoString()
Return a String rendering of this object.

Field Detail

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.

Constructor Detail

ResourceRef

public ResourceRef(String resourceClass, String description, String scope, String auth)
Resource Reference.

Parameters: resourceClass Resource class scope Resource scope auth Resource authetication

ResourceRef

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 Detail

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 © 2000-2011 Apache Software Foundation. All Rights Reserved.