|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
com.ptc.wvs.server.loader.StandardGraphicsServerLoaderService
Use the newStandardGraphicsServerLoaderService
static factory
method(s), not the StandardGraphicsServerLoaderService
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.
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
EXECUTE_QUEUES
|
private static String |
QUEUE_GROUP
|
private static String |
RESOURCE
|
private TicketLocator |
ticketLocator
|
private static boolean |
VERBOSE
|
private static String |
versionID
|
private static WVSProperties |
wvsProperties
|
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 | |
StandardGraphicsServerLoaderService()
|
Method Summary | |
void |
dispatchMarkupSavedEvent(Persistable persistable,
Vector objs)
Dispatches a GraphicsServerLoaderServiceEvent to indicate that a markup then event is dispatched on the Representable, and the associated EPMDocument if there is one. |
void |
dispatchMarkupSavedEvent(WTKeyedMap map)
|
private void |
dispatchRepresentationOrMarkupSavedEvent(String eventType,
Persistable persistable,
Vector objs)
|
private void |
dispatchRepresentationOrMarkupSavedEvent(String eventType,
WTKeyedMap map)
|
void |
dispatchRepresentationSavedEvent(Persistable persistable,
Vector objs)
Dispatches a GraphicsServerLoaderServiceEvent to indicate that a representation then event is dispatched on the Representable, and the associated EPMDocument if there is one. |
void |
dispatchRepresentationSavedEvent(WTKeyedMap map)
|
String |
getConceptualClassname()
Returns the conceptual (modeled) name for the class. |
static StandardGraphicsServerLoaderService |
newStandardGraphicsServerLoaderService()
Default factory for the class. |
protected void |
performStartupProcess()
Dummy method to be overridden by subclasses. |
void |
registerEvents(ManagerService managerService)
Registers Graphics Server Loader service events with the service manager. |
void |
shutdown()
Manager shutdown operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String versionID
private TicketLocator ticketLocator
private static WVSProperties wvsProperties
private static boolean VERBOSE
private static boolean EXECUTE_QUEUES
private static String QUEUE_GROUP
Constructor Detail |
public StandardGraphicsServerLoaderService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
StandardManager
performStartupProcess
in class StandardManager
ManagerException
public void shutdown() throws ManagerException
StandardManager
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
shutdown
in interface Manager
shutdown
in class StandardManager
ManagerException
public void registerEvents(ManagerService managerService)
registerEvents
in interface Manager
registerEvents
in class StandardManager
managerService
- public void dispatchRepresentationSavedEvent(Persistable persistable, Vector objs) throws WTException
dispatchRepresentationSavedEvent
in interface GraphicsServerLoaderService
persistable
- objs
-
WTException
public void dispatchRepresentationSavedEvent(WTKeyedMap map) throws WTException
dispatchRepresentationSavedEvent
in interface GraphicsServerLoaderService
WTException
public void dispatchMarkupSavedEvent(Persistable persistable, Vector objs) throws WTException
dispatchMarkupSavedEvent
in interface GraphicsServerLoaderService
persistable
- objs
-
WTException
public void dispatchMarkupSavedEvent(WTKeyedMap map) throws WTException
dispatchMarkupSavedEvent
in interface GraphicsServerLoaderService
WTException
public static StandardGraphicsServerLoaderService newStandardGraphicsServerLoaderService() throws WTException
WTException
private void dispatchRepresentationOrMarkupSavedEvent(String eventType, Persistable persistable, Vector objs) throws WTException
WTException
private void dispatchRepresentationOrMarkupSavedEvent(String eventType, WTKeyedMap map) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |