Package org.jvnet.hk2.config
Class OnDeleteCascade
- java.lang.Object
-
- org.jvnet.hk2.config.OnDeleteCascade
-
- All Implemented Interfaces:
ConfigBeanInterceptor<Object>
public class OnDeleteCascade extends Object implements ConfigBeanInterceptor<Object>
Usage:class ExampleDocument extends DomDocument
{ - Author:
- Andriy Zhdanov
-
-
Constructor Summary
Constructors Constructor Description OnDeleteCascade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterChange(PropertyChangeEvent evt, long timestamp)
Notification that an attribute has changedvoid
beforeChange(PropertyChangeEvent evt)
Notification that an attribute is about to be changedObject
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
-
getConfiguration
public Object getConfiguration()
Description copied from interface:ConfigBeanInterceptor
Interceptor can usually be configured, allowing for customizing how the interceptor should behave or do.- Specified by:
getConfiguration
in interfaceConfigBeanInterceptor<Object>
- Returns:
- interface implementing the configuration capability of this interceptor
-
beforeChange
public void beforeChange(PropertyChangeEvent evt) throws PropertyVetoException
Description copied from interface:ConfigBeanInterceptor
Notification that an attribute is about to be changed- Specified by:
beforeChange
in interfaceConfigBeanInterceptor<Object>
- Parameters:
evt
- information about the forthcoming change- Throws:
PropertyVetoException
- if the change is unacceptable
-
afterChange
public void afterChange(PropertyChangeEvent evt, long timestamp)
Description copied from interface:ConfigBeanInterceptor
Notification that an attribute has changed- Specified by:
afterChange
in interfaceConfigBeanInterceptor<Object>
- Parameters:
evt
- information about the changetimestamp
- time of the change
-
readValue
public void readValue(ConfigBean source, String xmlName, Object value)
Description copied from interface:ConfigBeanInterceptor
Notification of an attribute read- Specified by:
readValue
in interfaceConfigBeanInterceptor<Object>
- Parameters:
source
- object owning the attributexmlName
- name of the attributevalue
- value of the attribute
-
-