Annotation Type Managed


This annotation is to tag a class as to be managed by the underlying IoC/IoD container. This means the life-cycle of the objects of the annotated class are taken in charge by the container. All classes whose the objects have to be managed by such a bean container should be annotated with this annotation, otherwise their instantiation and the life-cycle of their instances is done in plain usual code.

The annotation is an abstraction above the IoC container used by Silverpeas so that it is can possible to change the IoC container (Spring or CDI for example) by changing the wrapped annotation to those specific at this IoC implementation without impacting the annotated IoC managed beans.

Author:
mmoquillon
See Also: