|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.bean.proxy.ProxyMethodHandler
public class ProxyMethodHandler
A Javassist MethodHandler that delegates method calls to a proxied bean. If the transient bean has become null, it is looked up from the manager bean list before the invocation.
ProxyPool,
Serialized Form| Constructor Summary | |
|---|---|
ProxyMethodHandler(Bean<?> bean,
int beanIndex)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
invoke(java.lang.Object self,
java.lang.reflect.Method method,
java.lang.reflect.Method proceed,
java.lang.Object[] args)
The method proxy Uses reflection to look up the corresponding method on the proxy and executes that method with the same parameters. |
java.lang.String |
toString()
Gets a string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyMethodHandler(Bean<?> bean,
int beanIndex)
bean - The bean to proxybeanIndex - The index to the bean in the manager bean list| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object self,
java.lang.reflect.Method method,
java.lang.reflect.Method proceed,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface javassist.util.proxy.MethodHandlerself - A reference to the proxymethod - The method to executeprocess - The next method to proceed toargs - The method calling arguments
java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||