org.ini4j.spi
Class AbstractBeanInvocationHandler

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

public abstract class AbstractBeanInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


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

Constructor Detail

AbstractBeanInvocationHandler

public AbstractBeanInvocationHandler()
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.beans.PropertyVetoException
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.beans.PropertyVetoException

getPropertySpi

protected abstract java.lang.Object getPropertySpi(java.lang.String property,
                                                   java.lang.Class<?> clazz)

setPropertySpi

protected abstract void setPropertySpi(java.lang.String property,
                                       java.lang.Object value,
                                       java.lang.Class<?> clazz)

hasPropertySpi

protected abstract boolean hasPropertySpi(java.lang.String property)

getProperty

protected java.lang.Object getProperty(java.lang.String property,
                                       java.lang.Class<?> clazz)

setProperty

protected void setProperty(java.lang.String property,
                           java.lang.Object value,
                           java.lang.Class<?> clazz)
                    throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getProxy

protected java.lang.Object getProxy()

addPropertyChangeListener

protected void addPropertyChangeListener(java.lang.String property,
                                         java.beans.PropertyChangeListener listener)

addVetoableChangeListener

protected void addVetoableChangeListener(java.lang.String property,
                                         java.beans.VetoableChangeListener listener)

firePropertyChange

protected void firePropertyChange(java.lang.String property,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)

fireVetoableChange

protected void fireVetoableChange(java.lang.String property,
                                  java.lang.Object oldValue,
                                  java.lang.Object newValue)
                           throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

hasProperty

protected boolean hasProperty(java.lang.String property)

parse

protected java.lang.Object parse(java.lang.String value,
                                 java.lang.Class clazz)
                          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

removePropertyChangeListener

protected void removePropertyChangeListener(java.lang.String property,
                                            java.beans.PropertyChangeListener listener)

removeVetoableChangeListener

protected void removeVetoableChangeListener(java.lang.String property,
                                            java.beans.VetoableChangeListener listener)

zero

protected java.lang.Object zero(java.lang.Class clazz)


Copyright © 2011. All Rights Reserved.