atg.versionmanager
Class WorkingContext.WorkingContextService

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.versionmanager.WorkingContext.WorkingContextService
All Implemented Interfaces:
atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener
Enclosing class:
WorkingContext

public static class WorkingContext.WorkingContextService
extends GenericService

An instance to use to expose logging and other settings to nucleus.


Field Summary
 
Fields inherited from class atg.nucleus.GenericService
CLASS_VERSION, 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
WorkingContext.WorkingContextService()
           
 
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.
 void dumpPushersForThisThread()
          Dump out development line pushers for this thread.
 DevelopmentLine getCurrentDevLine()
          Get the current development line for this thread.
 java.lang.String getCurrentDevLineDisplayName()
          Get the display name of the current development line, or null if there is no current development line.
 java.lang.String getCurrentDevLineId()
          Get the ID of the current development line, or null if there is no current development line.
 boolean isDumpStackOnWorkingContextChange()
          Whether to dump the stack on working context change.
 boolean isTrackPushers()
          Whether we are current tracking devlepment line pushers.
 void setDumpStackOnWorkingContextChange(boolean pDumpStackOnWorkingContextChange)
          Whether to dump the stack on working context change.
 void setTrackPushers(boolean pTrackPushers)
          Whether we are current tracking devlepment line pushers.
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
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
 

Constructor Detail

WorkingContext.WorkingContextService

public WorkingContext.WorkingContextService()
Method Detail

doStartService

public void doStartService()
Description copied from class: GenericService
This is called after a Service has been created, placed into the naming hierarchy, and initialized with its configured property values. The Service should override this method to start any processes it requires.

Overrides:
doStartService in class GenericService

setTrackPushers

public void setTrackPushers(boolean pTrackPushers)
Whether we are current tracking devlepment line pushers.


isTrackPushers

public boolean isTrackPushers()
Whether we are current tracking devlepment line pushers.


dumpPushersForThisThread

public void dumpPushersForThisThread()
Dump out development line pushers for this thread.


getCurrentDevLine

public DevelopmentLine getCurrentDevLine()
Get the current development line for this thread.


getCurrentDevLineDisplayName

public java.lang.String getCurrentDevLineDisplayName()
Get the display name of the current development line, or null if there is no current development line.


getCurrentDevLineId

public java.lang.String getCurrentDevLineId()
Get the ID of the current development line, or null if there is no current development line.


setDumpStackOnWorkingContextChange

public void setDumpStackOnWorkingContextChange(boolean pDumpStackOnWorkingContextChange)
Whether to dump the stack on working context change. Only has an effect if logging debug is also enabled.


isDumpStackOnWorkingContextChange

public boolean isDumpStackOnWorkingContextChange()
Whether to dump the stack on working context change. Only has an effect if logging debug is also enabled.