|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlexusBeanManager
Service that manages the lifecycle of Plexus beans.
Method Summary | |
---|---|
PropertyBinding |
manage(BeanProperty<?> property)
Decides whether the given bean property will be managed by this manager. |
boolean |
manage(Class<?> clazz)
Decides whether instances of the given Plexus bean type should be reported to this manager. |
boolean |
manage(Object bean)
Decides whether the given Plexus bean instance will be managed by this manager. |
boolean |
unmanage()
Tells this manager to unmanage all the Plexus bean instances it knows about. |
boolean |
unmanage(Object bean)
Tells this manager to unmanage the given Plexus bean instance. |
Method Detail |
---|
boolean manage(Class<?> clazz)
clazz
- The Plexus bean type
true
if instances of the bean should be reported; otherwise false
PropertyBinding manage(BeanProperty<?> property)
property
- The bean property
null
boolean manage(Object bean)
bean
- The Plexus bean instance
true
if the bean instance will be managed; otherwise false
boolean unmanage(Object bean)
bean
- The Plexus bean instance
true
if the bean instance was unmanaged; otherwise false
boolean unmanage()
true
if any bean instances were unmanaged; otherwise false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |