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 false
PropertyBinding manage(BeanProperty<?> property)
property
- The bean propertynull
boolean manage(Object bean)
bean
- The bean instancetrue
if the bean instance was managed; otherwise false
boolean unmanage(Object bean)
bean
- The bean instancetrue
if the bean instance was unmanaged; otherwise false
boolean unmanage()
true
if any bean instances were unmanaged; otherwise false
Copyright © 2020. All rights reserved.