com.ptc.wvs.server.cadagent
Class StandardCadAgentService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.wvs.server.cadagent.StandardCadAgentService
All Implemented Interfaces:
CadAgentService, Manager, NetFactor, Serializable

public class StandardCadAgentService
extends StandardManager
implements CadAgentService, Serializable

Use the newStandardCadAgentService static factory method(s), not the StandardCadAgentService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.

See Also:
Serialized Form

Field Summary
private  CadAgentServer cas
           
private static String CLASSNAME
           
private static boolean EXECUTE_QUEUES
           
private static String QUEUE_GROUP
           
private static String RESOURCE
           
private static String versionID
           
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
StandardCadAgentService()
           
 
Method Summary
 String getConceptualClassname()
          Returns the conceptual (modeled) name for the class.
static StandardCadAgentService newStandardCadAgentService()
          Default factory for the class.
protected  void performStartupProcess()
          Dummy method to be overridden by subclasses.
 void shutdown()
          Manager shutdown operation.
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, registerEvents, setManagerService, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

cas

private CadAgentServer cas

EXECUTE_QUEUES

private static boolean EXECUTE_QUEUES

QUEUE_GROUP

private static String QUEUE_GROUP
Constructor Detail

StandardCadAgentService

public StandardCadAgentService()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

performStartupProcess

protected void performStartupProcess()
                              throws ManagerException
Description copied from class: StandardManager
Dummy method to be overridden by subclasses. Subclasses should override this method and provide startup processing.

Supported API: false

Overrides:
performStartupProcess in class StandardManager
Throws:
ManagerException

shutdown

public void shutdown()
              throws ManagerException
Description copied from class: StandardManager
Manager shutdown operation.

Generally this operation changes the manager status from:

STATUS_STARTED -> STATUS_SHUTTING_DOWN -> STATUS_SHUTDOWN

Template routine for shutting down a service. This method calls the shuttingDown method which handles generating and synchronously dispatching an event to all listeners. Listeners may object to the shutdown by throwing a ManagerException.

This is a template method and should generally not be overridden. Typically the method performShutdownProcess should be overridden by subclasses.

Supported API: false

Specified by:
shutdown in interface Manager
Overrides:
shutdown in class StandardManager
Throws:
ManagerException

newStandardCadAgentService

public static StandardCadAgentService newStandardCadAgentService()
                                                          throws WTException
Default factory for the class.

Returns:
StandardCadAgentService
Throws:
WTException