Class Main

java.lang.Object
org.jboss.byteman.agent.Main

public class Main extends Object
agent class supplied at JVM startup to install byteman package bytecode transformer
  • Field Details

    • firstTime

      public static boolean firstTime
    • BYTEMAN_PREFIX

      public static final String BYTEMAN_PREFIX
      See Also:
    • BYTEMAN_AGENT_LOADED

      public static final String BYTEMAN_AGENT_LOADED
      See Also:
    • PORT_PREFIX

      private static final String PORT_PREFIX
      prefix used to specify port argument for agent
      See Also:
    • ADDRESS_PREFIX

      private static final String ADDRESS_PREFIX
      prefix used to specify bind address argument for agent
      See Also:
    • BOOT_PREFIX

      private static final String BOOT_PREFIX
      prefix used to specify boot jar argument for agent
      See Also:
    • SYS_PREFIX

      private static final String SYS_PREFIX
      prefix used to specify system jar argument for agent
      See Also:
    • POLICY_PREFIX

      private static final String POLICY_PREFIX
      prefix used to request installation of an access-all-areas security policy at install time for agent code
      See Also:
    • SCRIPT_PREFIX

      private static final String SCRIPT_PREFIX
      prefix used to specify file script argument for agent
      See Also:
    • RESOURCE_SCRIPT_PREFIX

      private static final String RESOURCE_SCRIPT_PREFIX
      prefix used to specify resource script argument for agent
      See Also:
    • LISTENER_PREFIX

      private static final String LISTENER_PREFIX
      prefix used to specify transformer type argument for agent
      See Also:
    • REDEFINE_PREFIX

      private static final String REDEFINE_PREFIX
      for backwards compatibiltiy
      See Also:
    • PROP_PREFIX

      private static final String PROP_PREFIX
      prefix used to specify system properties to be set before starting the agent
      See Also:
    • MANAGER_PREFIX

      private static final String MANAGER_PREFIX
      prefix used to specify the manager class
      See Also:
    • MODULE_PREFIX

      private static final String MODULE_PREFIX
      prefix used to specify the module system class
      See Also:
    • TRANSFORMER_NAME

      private static final String TRANSFORMER_NAME
      name of basic transformer class.
      See Also:
    • RETRANSFORMER_NAME

      private static final String RETRANSFORMER_NAME
      name of retransformer class.
      See Also:
    • MANAGER_NAME

      private static final String MANAGER_NAME
      name of default manager class.
      See Also:
    • MODULE_SYSTEM_NAME

      private static final String MODULE_SYSTEM_NAME
      name of module system interface.
      See Also:
    • bootJarPaths

      private static List<String> bootJarPaths
      list of paths to extra bootstrap jars supplied on command line
    • sysJarPaths

      private static List<String> sysJarPaths
      list of paths to extra system jars supplied on command line
    • scriptPaths

      private static List<String> scriptPaths
      list of paths to script files supplied on command line
    • resourcescriptPaths

      private static List<String> resourcescriptPaths
      list of paths to resource script files supplied on command line
    • scripts

      private static List<String> scripts
      list of scripts read from script files
    • hostname

      private static String hostname
      The hostname to bind the listener to, supplied on the command line (optional argument)
    • port

      private static Integer port
      The port that the listener will listen to, supplied on the command line (optional argument)
    • managerClassName

      private static String managerClassName
      The name of the manager class responsible for loading/unloading scripts, supplied on the command line (optional argument)
    • moduleSystemName

      private static String moduleSystemName
      The name of the module system implementation class, supplied on the command line (optional argument)
    • moduleSystemArgs

      private static String moduleSystemArgs
      The arguments to the module system implementation class, supplied on the command line (optional argument)
  • Constructor Details

    • Main

      public Main()
  • Method Details