Package org.ini4j.spi

Class AbstractBeanInvocationHandler

  • All Implemented Interfaces:
    InvocationHandler

    public abstract class AbstractBeanInvocationHandler
    extends Object
    implements InvocationHandler
    • Constructor Detail

      • AbstractBeanInvocationHandler

        public AbstractBeanInvocationHandler()
    • Method Detail

      • invoke

        public Object invoke​(Object proxy,
                             Method method,
                             Object[] args)
                      throws PropertyVetoException
        Specified by:
        invoke in interface InvocationHandler
        Throws:
        PropertyVetoException
      • getPropertySpi

        protected abstract Object getPropertySpi​(String property,
                                                 Class<?> clazz)
      • setPropertySpi

        protected abstract void setPropertySpi​(String property,
                                               Object value,
                                               Class<?> clazz)
      • hasPropertySpi

        protected abstract boolean hasPropertySpi​(String property)
      • getProperty

        protected Object getProperty​(String property,
                                     Class<?> clazz)
      • setProperty

        protected void setProperty​(String property,
                                   Object value,
                                   Class<?> clazz)
                            throws PropertyVetoException
        Throws:
        PropertyVetoException
      • getProxy

        protected Object getProxy()
      • addPropertyChangeListener

        protected void addPropertyChangeListener​(String property,
                                                 PropertyChangeListener listener)
      • addVetoableChangeListener

        protected void addVetoableChangeListener​(String property,
                                                 VetoableChangeListener listener)
      • firePropertyChange

        protected void firePropertyChange​(String property,
                                          Object oldValue,
                                          Object newValue)
      • fireVetoableChange

        protected void fireVetoableChange​(String property,
                                          Object oldValue,
                                          Object newValue)
                                   throws PropertyVetoException
        Throws:
        PropertyVetoException
      • hasProperty

        protected boolean hasProperty​(String property)
      • parse

        protected Object parse​(String value,
                               Class<?> clazz)
                        throws IllegalArgumentException
        Throws:
        IllegalArgumentException
      • removePropertyChangeListener

        protected void removePropertyChangeListener​(String property,
                                                    PropertyChangeListener listener)
      • removeVetoableChangeListener

        protected void removeVetoableChangeListener​(String property,
                                                    VetoableChangeListener listener)
      • zero

        protected Object zero​(Class<?> clazz)