java.lang.Object | ||
↳ | org.eclipse.sisu.bean.BeanScheduler | |
↳ | org.eclipse.sisu.bean.LifecycleManager |
BeanManager
that manages JSR250 beans and schedules lifecycle events.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.eclipse.sisu.bean.BeanScheduler
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LifecycleManager() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
manage(Object bean)
Asks this manager to manage the given bean instance.
| ||||||||||
PropertyBinding |
manage(BeanProperty<?> property)
Asks this manager to manage the given bean property.
| ||||||||||
boolean |
manage(Class<?> clazz)
Decides whether instances of the given bean type should be reported to this manager.
| ||||||||||
boolean |
unmanage(Object bean)
Asks this manager to unmanage the given bean instance.
| ||||||||||
boolean |
unmanage()
Asks this manager to unmanage all the bean instances it knows about.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
activate(Object bean)
Customized activation of the given bean.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.eclipse.sisu.bean.BeanScheduler
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.eclipse.sisu.bean.BeanManager
|
Asks this manager to manage the given bean instance.
bean | The bean instance |
---|
true
if the bean instance was managed; otherwise false
Asks this manager to manage the given bean property.
property | The bean property |
---|
null
Decides whether instances of the given bean type should be reported to this manager.
clazz | The bean type |
---|
true
if instances of the bean should be reported; otherwise false
Asks this manager to unmanage the given bean instance.
bean | The bean instance |
---|
true
if the bean instance was unmanaged; otherwise false
Asks this manager to unmanage all the bean instances it knows about.
true
if any bean instances were unmanaged; otherwise false
Customized activation of the given bean.
bean | The bean to activate |
---|