Interface ConfigBeanInterceptor<T>

All Known Implementing Classes:
OnDeleteCascade

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 Details

    • getConfiguration

      T getConfiguration()
      Interceptor can usually be configured, allowing for customizing how the interceptor should behave or do.
      Returns:
      interface implementing the configuration capability of this interceptor
    • beforeChange

      void beforeChange(PropertyChangeEvent evt) throws PropertyVetoException
      Notification that an attribute is about to be changed
      Parameters:
      evt - information about the forthcoming change
      Throws:
      PropertyVetoException - if the change is unacceptable
    • afterChange

      void afterChange(PropertyChangeEvent evt, long timestamp)
      Notification that an attribute has changed
      Parameters:
      evt - information about the change
      timestamp - time of the change
    • readValue

      void readValue(ConfigBean source, String xmlName, Object value)
      Notification of an attribute read
      Parameters:
      source - object owning the attribute
      xmlName - name of the attribute
      value - value of the attribute