Invocation API 1.1.0.Final

org.jboss.invocation.proxy
Class ProxyFactory.WriteReplaceBodyCreator

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

public class ProxyFactory.WriteReplaceBodyCreator
extends Object
implements MethodBodyCreator

Generates the writeReplace method if advanced serialization is enabled.

Author:
Stuart Douglas

Constructor Summary
ProxyFactory.WriteReplaceBodyCreator()
           
 
Method Summary
 void overrideMethod(org.jboss.classfilewriter.ClassMethod method, Method superclassMethod)
          Generate the writeReplace method body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyFactory.WriteReplaceBodyCreator

public ProxyFactory.WriteReplaceBodyCreator()
Method Detail

overrideMethod

public void overrideMethod(org.jboss.classfilewriter.ClassMethod method,
                           Method superclassMethod)
Generate the writeReplace method body.

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.