Lines Matching defs:agent

42  * VirtualMachine to load an agent into the target VM. For example, a profiler tool
44 * profiler agent to profile the running application. </p>
70 * used to construct the path to agent that will be loaded into the target VM.
82 * // construct path to management agent
84 * String agent = home + File.separator + "lib" + File.separator
85 * + "management-agent.jar";
87 * // load agent into target VM
88 * vm.loadAgent(agent, "com.sun.management.jmxremote.port=5000");
97 * VM are then used to construct the path to a <i>management agent</i> which is then
296 * Loads an agent library.
299 * TI</a> client is called an <i>agent</i>. It is developed in a native language.
300 * A JVM TI agent is deployed in a platform specific manner but it is typically the
301 * platform equivalent of a dynamic library. This method causes the given agent
307 * function is invoked even if the agent library was loaded prior to invoking
310 * <p> The agent library provided is the name of the agent library. It is interpreted
317 * <p> If the <code>Agent_OnAttach</code> function in the agent library returns
325 * The name of the agent library.
332 * If the agent library does not exist, or cannot be loaded for
350 * Loads an agent library.
359 * The name of the agent library.
362 * If the agent library does not exist, or cannot be loaded for
381 * Load a native agent library by full pathname.
384 * TI</a> client is called an <i>agent</i>. It is developed in a native language.
385 * A JVM TI agent is deployed in a platform specific manner but it is typically the
386 * platform equivalent of a dynamic library. This method causes the given agent
392 * function is invoked even if the agent library was loaded prior to invoking
395 * <p> The agent library provided is the absolute path from which to load the
396 * agent library. Unlike {@link #loadAgentLibrary loadAgentLibrary}, the library name
399 * <p> If the <code>Agent_OnAttach</code> function in the agent library returns
407 * The full path of the agent library.
414 * If the agent library does not exist, or cannot be loaded for
432 * Load a native agent library by full pathname.
441 * The full path to the agent library.
444 * If the agent library does not exist, or cannot be loaded for
464 * Loads an agent.
466 * <p> The agent provided to this method is a path name to a JAR file on the file
469 * the agent as specified by the {@link java.lang.instrument} specification.
471 * virtual machine), and the <code>agentmain</code> method of the agent class, specified
475 * @param agent
476 * Path to the JAR file containing the agent.
479 * The options to provide to the agent's <code>agentmain</code>
483 * If the agent does not exist, or cannot be started in the manner
493 * If <code>agent</code> is <code>null</code>.
495 public abstract void loadAgent(String agent, String options)
499 * Loads an agent.
504 * {@link #loadAgent(String, String) loadAgent}(agent,&nbsp;null);
507 * @param agent
508 * Path to the JAR file containing the agent.
511 * If the agent does not exist, or cannot be started in the manner
521 * If <code>agent</code> is <code>null</code>.
523 public void loadAgent(String agent)
526 loadAgent(agent, null);
539 * <p> This method is typically used to decide which agent to load into
543 * use to create the path to the agent library or JAR file.
557 * Returns the current <i>agent properties</i> in the target virtual
564 * end-points and other agent configuration details. For example, a debugger
565 * agent might create an agent property for its transport address.
567 * <p> This method returns the agent properties whose key and value is a
569 * are omitted. If there are no agent properties maintained in the target
572 * @return The agent properties