|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.keepondreaming.xml.ClassProxy
public class ClassProxy
Creates a runtime proxy for an interface. Adds the interface
ClassProxyAccess to ease attribute access
$Author: wintermond $
$Date: 2005/07/09 09:54:22 $
$Log: ClassProxy.java,v $
Revision 1.4 2005/07/09 09:54:22 wintermond
Javadoc and implemented ProxyClassCreator
Revision 1.3 2005/07/09 08:25:49 wintermond
new cvs substitution tag
| Constructor Summary | |
|---|---|
ClassProxy()
Default constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String key)
Returns the attribute value of the given key. |
java.lang.Class |
getWrappedClass(java.lang.Object object)
Returns the target interface of the Proxy |
java.lang.Object |
invoke(java.lang.Object arg0,
java.lang.reflect.Method method,
java.lang.Object[] parameters)
|
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Sets the attribute with the given key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassProxy()
| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object arg0,
java.lang.reflect.Method method,
java.lang.Object[] parameters)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablepublic java.lang.Object getAttribute(java.lang.String key)
ClassProxyAccess
getAttribute in interface ClassProxyAccesskey
public void setAttribute(java.lang.String key,
java.lang.Object value)
ClassProxyAccess
setAttribute in interface ClassProxyAccesspublic java.lang.Class getWrappedClass(java.lang.Object object)
ProxyClassCreatorProxy
getWrappedClass in interface ProxyClassCreatorXmlConverter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||