| org.eclipse.sisu.bean.BeanManager |
Known Indirect Subclasses
|
Service that manages the lifecycle of beans.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean |
manage(Object bean)
Asks this manager to manage the given bean instance.
| ||||||||||
| abstract PropertyBinding |
manage(BeanProperty<?> property)
Asks this manager to manage the given bean property.
| ||||||||||
| abstract boolean |
manage(Class<?> clazz)
Decides whether instances of the given bean type should be reported to this manager.
| ||||||||||
| abstract boolean |
unmanage(Object bean)
Asks this manager to unmanage the given bean instance.
| ||||||||||
| abstract boolean |
unmanage()
Asks this manager to unmanage all the bean instances it knows about.
| ||||||||||
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