JBoss Byteman is a Java library to inject code into JVM programs. Injected code can access/alter program's runtime data and modify its behavior.
About
Byteman is a tool which makes it easy to trace, monitor and test the behaviour of Java application and JDK runtime code. It injects Java code into your application methods or into Java runtime methods without the need for you to recompile, repackage or even redeploy your application. Injection can be performed at JVM startup or after startup while the application is still running.
Links