|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigBeanInterceptor<T>
Interceptor interface to be notified of read/write operations on a ConfigBean. Interceptor can be configured using the optional T interface.
Method Summary | |
---|---|
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 |
Method Detail |
---|
T getConfiguration()
void beforeChange(PropertyChangeEvent evt) throws PropertyVetoException
evt
- information about the forthcoming change
PropertyVetoException
- 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 attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |