public interface BeanManager
| Modifier and Type | Method and Description |
|---|---|
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 |
manage(Object bean)
Asks this manager to manage the given bean instance.
|
boolean |
unmanage()
Asks this manager to unmanage all the bean instances it knows about.
|
boolean |
unmanage(Object bean)
Asks this manager to unmanage the given bean instance.
|
boolean manage(Class<?> clazz)
clazz - The bean typetrue if instances of the bean should be reported; otherwise falsePropertyBinding manage(BeanProperty<?> property)
property - The bean propertynullboolean manage(Object bean)
bean - The bean instancetrue if the bean instance was managed; otherwise falseboolean unmanage(Object bean)
bean - The bean instancetrue if the bean instance was unmanaged; otherwise falseboolean unmanage()
true if any bean instances were unmanaged; otherwise falseCopyright © 2016. All Rights Reserved.