|
|||||||||
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 | |
---|---|
protected boolean |
canResolveName()
Whether resolveName should be invoked. |
protected void |
checkComponentPath()
Check whether component path is is set. |
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 |
int |
getResolveCount()
Get the number of times resolution has been attempted. |
boolean |
getUseRequestNameResolver()
Returns property useRequestNameResolver |
int |
incrementResolveCount()
Increment the resolve count and return the incremented value. |
boolean |
isLoggingInfoResolutions()
Returns property loggingInfoResolutions. |
protected java.lang.Object |
resolveComponent(java.lang.String pComponentName)
Resolves the configured component path. |
protected java.lang.Object |
resolveName()
Resolves the configured component path. |
void |
setComponentPath(java.lang.String pComponentPath)
Sets property ComponentPath |
void |
setLoggingInfoResolutions(boolean pLoggingInfoResolutions)
Sets property loggingInfoResolutions. |
void |
setUseRequestNameResolver(boolean pUseRequestNameResolver)
Sets property useRequestNameResolver |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 void setLoggingInfoResolutions(boolean pLoggingInfoResolutions)
public boolean isLoggingInfoResolutions()
public java.lang.Object getReference()
public int getResolveCount()
public int incrementResolveCount()
public void doStartService() throws ServiceException
GenericService
doStartService
in class GenericService
ServiceException
- if the Service had a problem starting upprotected java.lang.Object resolveComponent(java.lang.String pComponentName)
useRequestNameResolver
is true
, the path is resolved for the current request. Otherwise,
the path is assumed to refer to a globally scoped component.
pComponentPath
- the component path to resolve.
protected 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.
protected boolean canResolveName()
protected void checkComponentPath() throws ServiceException
ServiceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |