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
FieldsModifier and TypeFieldDescriptionstatic final StringDefault factory for this reference.static final StringDescription address type.Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className -
Constructor Summary
ConstructorsConstructorDescriptionResourceLinkRef(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
Default factory for this reference.- See Also:
-
GLOBALNAME
Description address type.- See Also:
-
-
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:
getDefaultFactoryClassNamein classAbstractRef
-