|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.naming.Reference
org.apache.naming.ResourceEnvRef
Represents a reference address to a resource environment.
Field Summary | |
static java.lang.String |
DEFAULT_FACTORY
Default factory for this reference. |
Fields inherited from class javax.naming.Reference |
addrs, classFactory, classFactoryLocation, className |
Constructor Summary | |
ResourceEnvRef(java.lang.String resourceType)
Resource env reference. |
|
ResourceEnvRef(java.lang.String resourceType,
java.lang.String factory,
java.lang.String factoryLocation)
Resource env reference. |
Method Summary | |
java.lang.String |
getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers. |
Methods inherited from class javax.naming.Reference |
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, hashCode, remove, size, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_FACTORY
Constructor Detail |
public ResourceEnvRef(java.lang.String resourceType)
resourceType
- Typepublic ResourceEnvRef(java.lang.String resourceType, java.lang.String factory, java.lang.String factoryLocation)
resourceType
- Typefactory
- Resource FactoryfactoryLocation
- Factory locationMethod Detail |
public java.lang.String getFactoryClassName()
If the factory class name is not set and the
Context.OBJECT_FACTORIES
system property is not present,
the name of the default ResourceEnv factory is returned
("org.apache.naming.factory.ResourceEnvFactory"). Null is returned if
the factory class name is not set, but the system property is present.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |