Package org.jboss.byteman.agent
Class Main
java.lang.Object
org.jboss.byteman.agent.Main
agent class supplied at JVM startup to install byteman package bytecode transformer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
prefix used to specify bind address argument for agentprivate static final String
prefix used to specify boot jar argument for agentlist of paths to extra bootstrap jars supplied on command linestatic final String
static final String
static boolean
private static String
The hostname to bind the listener to, supplied on the command line (optional argument)private static final String
prefix used to specify transformer type argument for agentprivate static final String
name of default manager class.private static final String
prefix used to specify the manager classprivate static String
The name of the manager class responsible for loading/unloading scripts, supplied on the command line (optional argument)private static final String
prefix used to specify the module system classprivate static final String
name of module system interface.private static String
The arguments to the module system implementation class, supplied on the command line (optional argument)private static String
The name of the module system implementation class, supplied on the command line (optional argument)private static final String
prefix used to request installation of an access-all-areas security policy at install time for agent codeprivate static Integer
The port that the listener will listen to, supplied on the command line (optional argument)private static final String
prefix used to specify port argument for agentprivate static final String
prefix used to specify system properties to be set before starting the agentprivate static final String
for backwards compatibiltiyprivate static final String
prefix used to specify resource script argument for agentlist of paths to resource script files supplied on command lineprivate static final String
name of retransformer class.private static final String
prefix used to specify file script argument for agentlist of paths to script files supplied on command linelist of scripts read from script filesprivate static final String
prefix used to specify system jar argument for agentlist of paths to extra system jars supplied on command lineprivate static final String
name of basic transformer class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
agentmain
(String args, Instrumentation inst) static void
premain
(String args, Instrumentation inst)
-
Field Details
-
firstTime
public static boolean firstTime -
BYTEMAN_PREFIX
- See Also:
-
BYTEMAN_AGENT_LOADED
- See Also:
-
PORT_PREFIX
prefix used to specify port argument for agent- See Also:
-
ADDRESS_PREFIX
prefix used to specify bind address argument for agent- See Also:
-
BOOT_PREFIX
prefix used to specify boot jar argument for agent- See Also:
-
SYS_PREFIX
prefix used to specify system jar argument for agent- See Also:
-
POLICY_PREFIX
prefix used to request installation of an access-all-areas security policy at install time for agent code- See Also:
-
SCRIPT_PREFIX
prefix used to specify file script argument for agent- See Also:
-
RESOURCE_SCRIPT_PREFIX
prefix used to specify resource script argument for agent- See Also:
-
LISTENER_PREFIX
prefix used to specify transformer type argument for agent- See Also:
-
REDEFINE_PREFIX
for backwards compatibiltiy- See Also:
-
PROP_PREFIX
prefix used to specify system properties to be set before starting the agent- See Also:
-
MANAGER_PREFIX
prefix used to specify the manager class- See Also:
-
MODULE_PREFIX
prefix used to specify the module system class- See Also:
-
TRANSFORMER_NAME
name of basic transformer class.- See Also:
-
RETRANSFORMER_NAME
name of retransformer class.- See Also:
-
MANAGER_NAME
name of default manager class.- See Also:
-
MODULE_SYSTEM_NAME
name of module system interface.- See Also:
-
bootJarPaths
list of paths to extra bootstrap jars supplied on command line -
sysJarPaths
list of paths to extra system jars supplied on command line -
scriptPaths
list of paths to script files supplied on command line -
resourcescriptPaths
list of paths to resource script files supplied on command line -
scripts
list of scripts read from script files -
hostname
The hostname to bind the listener to, supplied on the command line (optional argument) -
port
The port that the listener will listen to, supplied on the command line (optional argument) -
managerClassName
The name of the manager class responsible for loading/unloading scripts, supplied on the command line (optional argument) -
moduleSystemName
The name of the module system implementation class, supplied on the command line (optional argument) -
moduleSystemArgs
The arguments to the module system implementation class, supplied on the command line (optional argument)
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details