@Documented @Inherited @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Lifecycle
@Lifecycle
is a meta annotation to represent component lifecycle.
The built-in component lifecycle goes:
Constructed -> Activated -> Passivated -> Destroyed
(If any exception has occurred, ) -> FailedConstructed
,
Activated
,
Passivated
,
Destroyed
,
Failed
Copyright © 2011-2014 Eiichiro Uchiumi. All Rights Reserved.