public interface ConfigBeanInterceptor<T>
Modifier and Type | Method and Description |
---|---|
void |
afterChange(PropertyChangeEvent evt,
long timestamp)
Notification that an attribute has changed
|
void |
beforeChange(PropertyChangeEvent evt)
Notification that an attribute is about to be changed
|
T |
getConfiguration()
Interceptor can usually be configured, allowing for customizing how
the interceptor should behave or do.
|
void |
readValue(ConfigBean source,
String xmlName,
Object value)
Notification of an attribute read
|
T getConfiguration()
void beforeChange(PropertyChangeEvent evt) throws PropertyVetoException
evt
- information about the forthcoming changePropertyVetoException
- if the change is unacceptablevoid afterChange(PropertyChangeEvent evt, long timestamp)
evt
- information about the changetimestamp
- time of the changevoid readValue(ConfigBean source, String xmlName, Object value)
source
- object owning the attributexmlName
- name of the attributevalue
- value of the attributeCopyright © 2019. All rights reserved.