|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.aop.instrument.Codifier
Register pending codes, so that they can be added to a class bytecode in a later moment.
| Constructor Summary | |
Codifier()
Constructor. |
|
| Method Summary | |
void |
addPendingCode(javassist.CtMethod method,
String body)
Register the body of method as a pending code. |
void |
codifyPending()
Deploys pending code. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Codifier()
| Method Detail |
public void addPendingCode(javassist.CtMethod method,
String body)
method as a pending code.
method - the method whose body will be coded in a later moment.body - the future body of method.
public void codifyPending()
throws javassist.CannotCompileException
addPendingCode
method.
javassist.CannotCompileException - thrown if javassist cannot compile a pending code,
registered through addPendingCode method.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||