Class BeanMonitor


  • public class BeanMonitor
    extends java.lang.Object
    Class for monitoring Java bean property changes.
    • Field Detail

      • LISTENERS_SUFFIX

        public static final java.lang.String LISTENERS_SUFFIX
        See Also:
        Constant Field Values
      • PROPERTY_CHANGE_SUFFIX

        public static final java.lang.String PROPERTY_CHANGE_SUFFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • BeanMonitor

        public BeanMonitor​(java.lang.Object bean)
    • Method Detail

      • getBean

        public java.lang.Object getBean()
        Returns the bean object that this monitor wraps.
        Returns:
        The object we are wrapping.
      • isNotifying

        public boolean isNotifying​(java.lang.String key)
        Tests whether a property fires change events.
        Parameters:
        key - The property name.
        Returns:
        true if the property fires change events; false otherwise.