org.jboss.invocation.proxy
Class ProxyFactory.WriteReplaceBodyCreator
java.lang.Object
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
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 |
ProxyFactory.WriteReplaceBodyCreator
public ProxyFactory.WriteReplaceBodyCreator()
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 populatesuperclassMethod
- the method to override
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.