|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.netseeker.ejoe.handler.gen.DynProxyGenerator
public class DynProxyGenerator
Javassist based default proxy generator for accelerated access on reflected methods and constructors. This generator creates and caches one class for each class-method-pair respectively class-constrcutor-pair.
http://www.jboss.org/products/javassist
Constructor Summary | |
---|---|
DynProxyGenerator()
Creates a new instance of DynProxyGenerator This constructor will throw an IllegalStateException if the current java version is lesser than 1.5.0 |
Method Summary | |
---|---|
IDynAccess |
getDynAccessProxy(java.lang.Class tClass,
java.lang.String mName,
java.lang.Object[] params)
Either returns a copy of an already cached instance of a proxy or creates a new one, instaniate it, add it to cache and return a copy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynProxyGenerator()
Method Detail |
---|
public IDynAccess getDynAccessProxy(java.lang.Class tClass, java.lang.String mName, java.lang.Object[] params) throws java.lang.Exception
getDynAccessProxy
in interface IProxyGenerator
tClasName
- the targetted classmName
- the targetted method/constructor nameparams
- array of arguments for the targetted method/constructor
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |