Interface ILifeCycle<T extends ILifeCycle<T>>
- Type Parameters:
T- the type of the life cycle
- All Known Implementing Classes:
EventReference
public interface ILifeCycle<T extends ILifeCycle<T>>
Represents an object that has its own life cycle.
A life usually has a start and an end.
-
Method Summary
Modifier and TypeMethodDescriptionWraps an object into a life cycle.voidUnregisters the life cycle.
-
Method Details
-
lifeCycle
Wraps an object into a life cycle.- Returns:
- the life cycle
-
unregister
void unregister()Unregisters the life cycle.
-