|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.ogsa.impl.samples.counter.routable.master.MasterCounterFactory
Constructor Summary | |
MasterCounterFactory()
|
Method Summary | |
void |
activate(GridContext context)
Called when a service becomes active after having been deactivated. |
GridServiceBase |
createServiceObject(ExtensibilityType creation,
ExtensibilityTypeHolder extensibilityOutput)
creates a new Grid service instance that implements the GridServiceBase |
void |
deactivate(GridContext context)
Called just before a service gets deactivated. |
void |
initialize(GridServiceBase base)
associates this object with its GridServiceBase service. |
void |
postCreate(GridContext context)
Called when a service has been created and all of its configuration has been set up. |
void |
preCreate(GridServiceBase base)
Called when a service object is created. |
void |
preDestroy(GridContext context)
Called just before a service gets destroyed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MasterCounterFactory()
Method Detail |
public void initialize(GridServiceBase base) throws GridServiceException
FactoryCallback
initialize
in interface FactoryCallback
base
- factory service that this factory callback should create services for
GridServiceException
- if the callback object could not be initializedpublic GridServiceBase createServiceObject(ExtensibilityType creation, ExtensibilityTypeHolder extensibilityOutput) throws GridServiceException
FactoryCallback
GridServiceBase interface
- Specified by:
createServiceObject
in interface FactoryCallback
- Parameters:
creation
- parameters the client may pass to the factory at creation time
- Throws:
GridServiceException
- if the service instance could not be created
public void preDestroy(GridContext context) throws GridServiceException
GridServiceCallback
preDestroy
in interface GridServiceCallback
context
- state information currently associated with the service
GridServiceException
- if the destruction failed (will be
reported to clients in the case of explicit destroy calls)public void postCreate(GridContext context) throws GridServiceException
GridServiceCallback
postCreate
in interface GridServiceCallback
context
- state information currently associated with the service
that was created.
GridServiceException
- if the service creation should be abortedpublic void activate(GridContext context) throws GridServiceException
GridServiceCallback
activate
in interface GridServiceCallback
context
- state information currently associated with the service
GridServiceException
- if the service activation should be abortedpublic void deactivate(GridContext context) throws GridServiceException
GridServiceCallback
deactivate
in interface GridServiceCallback
context
- state information currently associated with the service
GridServiceException
- if the service deactivation failedpublic void preCreate(GridServiceBase base) throws GridServiceException
GridServiceCallback
preCreate
in interface GridServiceCallback
base
- the Grid service that is in the process of creating this
service object, or if this is a persistent Grid service it points to
the service to be created.
GridServiceException
- if the service should not be created
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |