Package org.apache.naming
Class ResourceLinkRef
java.lang.Object
javax.naming.Reference
org.apache.naming.AbstractRef
org.apache.naming.ResourceLinkRef
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a reference address to a resource.
- Author:
- Remy Maucherat
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Default factory for this reference.static final String
Description address type.Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
-
Constructor Summary
ConstructorDescriptionResourceLinkRef
(String resourceClass, String globalName, String factory, String factoryLocation) ResourceLink Reference. -
Method Summary
Methods inherited from class org.apache.naming.AbstractRef
getFactoryClassName, toString
-
Field Details
-
DEFAULT_FACTORY
-
GLOBALNAME
-
-
Constructor Details
-
ResourceLinkRef
public ResourceLinkRef(String resourceClass, String globalName, String factory, String factoryLocation) ResourceLink Reference.- Parameters:
resourceClass
- Resource classglobalName
- Global namefactory
- The possibly null class name of the object's factory.factoryLocation
- The possibly null location from which to load the factory (e.g. URL)
-
-
Method Details
-
getDefaultFactoryClassName
- Specified by:
getDefaultFactoryClassName
in classAbstractRef
-