|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.GenericReference
public class GenericReference
When this service is started it will resolve the component through the
componentPath
property and bind that new object into
the name of this service.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
GenericReference()
Constructs an instanceof GenericReference |
Method Summary | |
---|---|
void |
doStartService()
This is called after a Service has been created, placed into the naming hierarchy, and initialized with its configured property values. |
java.lang.String |
getComponentPath()
Returns property ComponentPath |
java.lang.Object |
getReference()
Returns property Reference |
boolean |
getUseRequestNameResolver()
Returns property useRequestNameResolver |
protected java.lang.Object |
resolveName()
Resolves the configured component path. |
void |
setComponentPath(java.lang.String pComponentPath)
Sets property ComponentPath |
void |
setUseRequestNameResolver(boolean pUseRequestNameResolver)
Sets property useRequestNameResolver |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GenericReference()
Method Detail |
---|
public void setComponentPath(java.lang.String pComponentPath)
public java.lang.String getComponentPath()
public void setUseRequestNameResolver(boolean pUseRequestNameResolver)
public boolean getUseRequestNameResolver()
public java.lang.Object getReference()
public void doStartService() throws ServiceException
GenericService
doStartService
in class GenericService
ServiceException
- if the Service had a problem starting upprotected java.lang.Object resolveName()
useRequestNameResolver
is true
, the path is resolved for the current request. Otherwise,
the path is assumed to refer to a globally scoped component.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |