
org.jboss.byteman.modules.ModuleSystem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of byteman Show documentation
Show all versions of byteman Show documentation
The Byteman agent jar contains the implementation of the Byteman java agent, including
the bytecode transformer, rule parser, type checker and execution engine and the agent
listener.
package org.jboss.byteman.modules;
public interface ModuleSystem
{
void initialize(String args);
CL createLoader(ClassLoader triggerLoader, String[] imports);
void destroyLoader(CL helperLoader);
/**
* dynamically load and return a generated helper adapter classes using a custom classloader derived from the
* trigger class's loader
* @param helperLoader the class loader of the trigger class which has been matched with this
* helper class's rule
* @param helperAdapterName the name of the helper adapter class to be loaded
* @param helperBytes the byte array defining the class
* @return the new helper class
*/
Class> loadHelperAdapter(CL helperLoader, String helperAdapterName, byte[] helperBytes);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy