Package | Description |
---|---|
org.jboss.weld.bean.proxy | |
org.jboss.weld.util.bytecode |
Modifier and Type | Method and Description |
---|---|
protected javassist.bytecode.Bytecode |
ProxyFactory.addConstructedGuardToMethodBody(javassist.bytecode.ClassFile proxyClassType,
javassist.bytecode.Bytecode existingMethod,
MethodInformation method)
Adds the following code to a delegating method:
if(!this.constructed) return super.thisMethod()
This means that the proxy will not start to delegate to the underlying
bean instance until after the constructor has finished. |
protected javassist.bytecode.Bytecode |
ProxyFactory.createForwardingMethodBody(javassist.bytecode.ClassFile proxyClassType,
MethodInformation method) |
protected javassist.bytecode.Bytecode |
InterceptedSubclassFactory.createForwardingMethodBody(javassist.bytecode.ClassFile proxyClassType,
MethodInformation method) |
protected javassist.bytecode.Bytecode |
ClientProxyFactory.createForwardingMethodBody(javassist.bytecode.ClassFile file,
MethodInformation methodInfo)
Calls methodHandler.invoke with a null method parameter in order to
get the underlying instance.
|
protected javassist.bytecode.Bytecode |
ProxyFactory.createInterceptorBody(javassist.bytecode.ClassFile file,
MethodInformation method)
Creates the given method on the proxy class where the implementation
forwards the call directly to the method handler.
|
protected javassist.bytecode.Bytecode |
InterceptedSubclassFactory.createInterceptorBody(javassist.bytecode.ClassFile file,
MethodInformation methodInfo,
boolean delegateToSuper)
Creates the given method on the proxy class where the implementation
forwards the call directly to the method handler.
|
protected javassist.bytecode.Bytecode |
ProxyFactory.createSpecialMethodBody(javassist.bytecode.ClassFile proxyClassType,
MethodInformation method) |
protected static void |
ProxyFactory.invokeMethodHandler(javassist.bytecode.ClassFile file,
javassist.bytecode.Bytecode b,
MethodInformation method,
boolean addReturnInstruction,
BytecodeMethodResolver bytecodeMethodResolver)
calls methodHandler.invoke for a given method
|
protected static void |
InterceptedSubclassFactory.invokeMethodHandler(javassist.bytecode.ClassFile file,
javassist.bytecode.Bytecode b,
MethodInformation methodInfo,
boolean addReturnInstruction,
BytecodeMethodResolver bytecodeMethodResolver,
boolean addProceed)
calls methodHandler.invoke for a given method
|
Modifier and Type | Class and Description |
---|---|
class |
RuntimeMethodInformation
Contains all the data that is needed when working with a method in bytecode
|
class |
StaticMethodInformation |
Modifier and Type | Method and Description |
---|---|
static javassist.bytecode.MethodInfo |
MethodUtils.makeMethod(MethodInformation methodInfo,
Class<?>[] exceptions,
javassist.bytecode.Bytecode body,
javassist.bytecode.ConstPool pool)
Creates a MethodInfo from the given information.
|
Copyright © 2012 Seam Framework. All Rights Reserved.