org.globus.ogsa
Class ServiceLifecycleMonitorImpl

java.lang.Object
  extended byorg.globus.ogsa.ServiceLifecycleMonitorImpl
All Implemented Interfaces:
ServiceLifecycleMonitor
Direct Known Subclasses:
DefaultServiceDeactivator, PerformanceLifecycleHandler

public class ServiceLifecycleMonitorImpl
extends java.lang.Object
implements ServiceLifecycleMonitor

Empty adapter class used for the convenience of ServiceLifecycleMonitor implementers. A ServiceLifecycleMonitor implementer can inherit from this class to avoid having to implement all the callbacks. The default callback implementations do nothing

See Also:
ServiceLifecycleMonitor

Constructor Summary
ServiceLifecycleMonitorImpl()
           
 
Method Summary
 void create(GridContext context)
          called when a service is created
 void destroy(GridContext context)
          called when the service is destroyed
 void postCall(GridContext context)
          called after the service has been invoked, not if exception is thrown however
 void postSerializationCall(GridContext context)
          called after the service input parameters have been deserialized
 void preCall(GridContext context)
          called before the service is invoked
 void preSerializationCall(GridContext context)
          called before the service input parameters have been deserialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceLifecycleMonitorImpl

public ServiceLifecycleMonitorImpl()
Method Detail

create

public void create(GridContext context)
            throws GridServiceException
Description copied from interface: ServiceLifecycleMonitor
called when a service is created

Specified by:
create in interface ServiceLifecycleMonitor
Parameters:
context - state information currently associated with the service being created
Throws:
GridServiceException - if the creation is to be aborted

preSerializationCall

public void preSerializationCall(GridContext context)
                          throws GridServiceException
Description copied from interface: ServiceLifecycleMonitor
called before the service input parameters have been deserialized

Specified by:
preSerializationCall in interface ServiceLifecycleMonitor
Parameters:
context - state information currently associated with the service being called
Throws:
GridServiceException - if the call is to be aborted

preCall

public void preCall(GridContext context)
             throws GridServiceException
Description copied from interface: ServiceLifecycleMonitor
called before the service is invoked

Specified by:
preCall in interface ServiceLifecycleMonitor
Parameters:
context - state information currently associated with the service being called
Throws:
GridServiceException - if the call is to be aborted

postCall

public void postCall(GridContext context)
              throws GridServiceException
Description copied from interface: ServiceLifecycleMonitor
called after the service has been invoked, not if exception is thrown however

Specified by:
postCall in interface ServiceLifecycleMonitor
Parameters:
context - state information currently associated with the service being called
Throws:
GridServiceException - if the call is to be aborted

postSerializationCall

public void postSerializationCall(GridContext context)
                           throws GridServiceException
Description copied from interface: ServiceLifecycleMonitor
called after the service input parameters have been deserialized

Specified by:
postSerializationCall in interface ServiceLifecycleMonitor
Parameters:
context - state information currently associated with the service being called
Throws:
GridServiceException - if the call is to be aborted

destroy

public void destroy(GridContext context)
             throws GridServiceException
Description copied from interface: ServiceLifecycleMonitor
called when the service is destroyed

Specified by:
destroy in interface ServiceLifecycleMonitor
Parameters:
context - state information currently associated with the service being destroyed
Throws:
GridServiceException - if the destruction is to be aborted


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.