org.joda.property.impl
Class ProxyBean
java.lang.Object
|
+--org.joda.property.impl.AbstractModelElement
|
+--org.joda.property.impl.AbstractProxyBean
|
+--org.joda.property.impl.ProxyBean
- All Implemented Interfaces:
- Bean, Bean.Internal, java.lang.Cloneable, InitializableBean, java.lang.reflect.InvocationHandler, ModelElement, java.io.Serializable
- public class ProxyBean
- extends AbstractProxyBean
- implements java.lang.reflect.InvocationHandler
Proxy invocation handler which implements a standard Bean
subinterface dynamically.
- Author:
- Stephen Colebourne
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
createProxyBeanList(java.lang.Class intface,
java.util.List list)
Create a wrapper for a list of beans that can have
a typecast get method. |
protected BeanMetaData |
getBeanMetaData()
Get the bean meta data |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Main handler method for the proxy system, called when any method
on the proxy is called. |
Methods inherited from class org.joda.property.impl.AbstractProxyBean |
cloneDeep, cloneDeep, equals, getBeanType, getIdentifier, getProperty, getPropertyMap, getThis, hashCode, initBeanCreated, setIdentifier, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ProxyBean
public ProxyBean()
- Constructor.
getBeanMetaData
protected BeanMetaData getBeanMetaData()
- Get the bean meta data
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Main handler method for the proxy system, called when any method
on the proxy is called.
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
createProxyBeanList
public java.lang.Object createProxyBeanList(java.lang.Class intface,
java.util.List list)
- Create a wrapper for a list of beans that can have
a typecast get method.
Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.