|
|||||||||||
| 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)
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 FactoryCallbackbase - factory service that this factory callback should create services for
GridServiceException - if the callback object could not be initialized
public GridServiceBase createServiceObject(ExtensibilityType creation)
throws GridServiceException
FactoryCallbackGridServiceBase 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 GridServiceCallbackcontext - 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 GridServiceCallbackcontext - state information currently associated with the service
that was created.
GridServiceException - if the service creation should be aborted
public void activate(GridContext context)
throws GridServiceException
GridServiceCallback
activate in interface GridServiceCallbackcontext - state information currently asociated with the service
GridServiceException - if the service activation should be aborted
public void deactivate(GridContext context)
throws GridServiceException
GridServiceCallback
deactivate in interface GridServiceCallbackcontext - state information currently associated with the service
GridServiceException - if the service deactivation failed
public void preCreate(GridServiceBase base)
throws GridServiceException
GridServiceCallback
preCreate in interface GridServiceCallbackbase - 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 | ||||||||||