Package org.forgerock.openig.tools
Interface LifeCycle
-
- All Known Implementing Classes:
CacheSessionService
,NotificationServiceImpl
public interface LifeCycle
Manages Lifecycle on an object. Thestart()
method can be used to initialize state of the managed object (obtaining resources, connections, ...), where respectively thestop()
method can be used to free resources used by the managed object (releasing connections, clearing caches, ...).Note that Lifecycle is only used with
AmService
associated services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<Void,Exception>
start()
Starts this object.Promise<Void,NeverThrowsException>
stop()
Stops this object.
-