Class AgentImpl


  • public class AgentImpl
    extends Object
    This type is called from the Agent via reflection to load the agent after the jar we are in has been attached to the class path.
    • Method Detail

      • startup

        public static void startup​(Instrumentation inst,
                                   Map<String,​String> args)
        Start the deep agent.
        Parameters:
        inst - the instrumentation object
        args - the agent arguments
      • loadDeepAPI

        public static Object loadDeepAPI()
        Load the deep API to be used outside the agent.

        This method is defined as returning Object to not cause unwanted class loading of the type IDeepHook.

        Returns:
        a new instance of IDeepHook