Invocation API 1.1.0.Final

org.jboss.invocation.proxy
Class ProxyFactory.ProxyMethodBodyCreator

java.lang.Object
  extended by org.jboss.invocation.proxy.ProxyFactory.ProxyMethodBodyCreator
All Implemented Interfaces:
MethodBodyCreator
Enclosing class:
ProxyFactory<T>

public class ProxyFactory.ProxyMethodBodyCreator
extends Object
implements MethodBodyCreator

Overrides superclass methods and forwards calls to the dispatcher.

Author:
Stuart Douglas

Constructor Summary
ProxyFactory.ProxyMethodBodyCreator()
           
 
Method Summary
 void overrideMethod(org.jboss.classfilewriter.ClassMethod method, Method superclassMethod)
          Override a method by forwarding all calls to the dispatcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyFactory.ProxyMethodBodyCreator

public ProxyFactory.ProxyMethodBodyCreator()
Method Detail

overrideMethod

public void overrideMethod(org.jboss.classfilewriter.ClassMethod method,
                           Method superclassMethod)
Override a method by forwarding all calls to the dispatcher.

Specified by:
overrideMethod in interface MethodBodyCreator
Parameters:
method - the method to populate
superclassMethod - the method to override

Invocation API 1.1.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.