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 voidafterChange(PropertyChangeEvent evt, long timestamp)Notification that an attribute has changedvoidbeforeChange(PropertyChangeEvent evt)Notification that an attribute is about to be changedObjectgetConfiguration()Interceptor can usually be configured, allowing for customizing how the interceptor should behave or do.voidreadValue(ConfigBean source, String xmlName, Object value)Notification of an attribute read
-
-
-
Method Detail
-
getConfiguration
public Object getConfiguration()
Description copied from interface:ConfigBeanInterceptorInterceptor can usually be configured, allowing for customizing how the interceptor should behave or do.- Specified by:
getConfigurationin interfaceConfigBeanInterceptor<Object>- Returns:
- interface implementing the configuration capability of this interceptor
-
beforeChange
public void beforeChange(PropertyChangeEvent evt) throws PropertyVetoException
Description copied from interface:ConfigBeanInterceptorNotification that an attribute is about to be changed- Specified by:
beforeChangein 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:ConfigBeanInterceptorNotification that an attribute has changed- Specified by:
afterChangein 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:ConfigBeanInterceptorNotification of an attribute read- Specified by:
readValuein interfaceConfigBeanInterceptor<Object>- Parameters:
source- object owning the attributexmlName- name of the attributevalue- value of the attribute
-
-