org.ini4j.spi
Class AbstractBeanInvocationHandler

Object
  extended by org.ini4j.spi.AbstractBeanInvocationHandler
All Implemented Interfaces:
InvocationHandler

public abstract class AbstractBeanInvocationHandler
extends Object
implements InvocationHandler


Constructor Summary
AbstractBeanInvocationHandler()
           
 
Method Summary
protected  void addPropertyChangeListener(String property, PropertyChangeListener listener)
           
protected  void addVetoableChangeListener(String property, VetoableChangeListener listener)
           
protected  void firePropertyChange(String property, Object oldValue, Object newValue)
           
protected  void fireVetoableChange(String property, Object oldValue, Object newValue)
           
protected  Object getProperty(String property, Class<?> clazz)
           
protected abstract  Object getPropertySpi(String property, Class<?> clazz)
           
protected  Object getProxy()
           
protected  boolean hasProperty(String property)
           
protected abstract  boolean hasPropertySpi(String property)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
protected  Object parse(String value, Class<?> clazz)
           
protected  void removePropertyChangeListener(String property, PropertyChangeListener listener)
           
protected  void removeVetoableChangeListener(String property, VetoableChangeListener listener)
           
protected  void setProperty(String property, Object value, Class<?> clazz)
           
protected abstract  void setPropertySpi(String property, Object value, Class<?> clazz)
           
protected  Object zero(Class<?> clazz)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)


Copyright © 2011. All Rights Reserved.