Invocation API 1.1.0.Final

org.jboss.invocation.proxy
Class ProxyFactory.ProxyConstructorBodyCreator

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

public class ProxyFactory.ProxyConstructorBodyCreator
extends Object
implements ConstructorBodyCreator

Generates a proxy constructor that delegates to super(), and then sets the constructed flag to true.

Author:
Stuart Douglas

Constructor Summary
ProxyFactory.ProxyConstructorBodyCreator()
           
 
Method Summary
 void overrideConstructor(org.jboss.classfilewriter.ClassMethod method, Constructor<?> constructor)
          Override the given constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyFactory.ProxyConstructorBodyCreator

public ProxyFactory.ProxyConstructorBodyCreator()
Method Detail

overrideConstructor

public void overrideConstructor(org.jboss.classfilewriter.ClassMethod method,
                                Constructor<?> constructor)
Override the given constructor.

Specified by:
overrideConstructor in interface ConstructorBodyCreator
Parameters:
method - the class method to populate
constructor - the constructor to override

Invocation API 1.1.0.Final

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