org.gcube.common.core.utils.handlers.lifetime
Interface Lifetime<HANDLED>

Type Parameters:
HANDLED - the types of the handled object
All Superinterfaces:
GCUBEIHandler<HANDLED>
All Known Implementing Classes:
GCUBEParallelHandler, GCUBEScheduledHandler, GCUBESequentialHandler, GCUBEServiceHandler, GCUBEStagingServiceHandler, GCUBEStatefulServiceHandler, RICall.RICallHandler, Scheduler, StagingCall.StagingHandler, WSCall.WSCallHandler

public interface Lifetime<HANDLED>
extends GCUBEIHandler<HANDLED>

Characterises the behaviour of GCUBEIHandlers that manage their own lifetime.

Author:
Fabio Simeoni (University of Strathclyde)
See Also:
GCUBEHandler

Method Summary
 State getState()
          Returns the current lifetime state of the handler.
 
Methods inherited from interface org.gcube.common.core.utils.handlers.GCUBEIHandler
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, run, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, subscribe, undo, unsubscribe
 

Method Detail

getState

State getState()
Returns the current lifetime state of the handler.

Returns:
the status.


Copyright © 2013. All Rights Reserved.