A C D E F G H I J L M O P S T U V

A

AbstractBaseCommand - Class in org.jolokia.jvmagent.client.command
Stateless Base command providing helper functions
AbstractBaseCommand() - Constructor for class org.jolokia.jvmagent.client.command.AbstractBaseCommand
 
AgentLauncher - Class in org.jolokia.jvmagent.client
Launcher for attaching/detaching a Jolokia agent dynamically to an already running Java process.
agentmain(String) - Static method in class org.jolokia.jvmagent.JvmAgent
Entry point for the agent, using dynamic attach (this is post VM initialisation attachment, via com.sun.attach)
attachVirtualMachine() - Method in class org.jolokia.jvmagent.client.util.VirtualMachineHandler
Lookup and create a com.sun.tools.attach.VirtualMachine via reflection.

C

checkAgentUrl(Object) - Method in class org.jolokia.jvmagent.client.command.AbstractBaseCommand
Check whether an agent is registered by checking the existance of the system property JvmAgent.JOLOKIA_AGENT_URL.
CommandDispatcher - Class in org.jolokia.jvmagent.client.command
Dispatch for various attach commands
CommandDispatcher(OptionsAndArgs) - Constructor for class org.jolokia.jvmagent.client.command.CommandDispatcher
Dispatcher responsible for the execution of commands

D

debug(String) - Method in class org.jolokia.jvmagent.JolokiaHttpHandler
 
detachAgent(Object) - Method in class org.jolokia.jvmagent.client.util.VirtualMachineHandler
Detach from the virtual machine
dispatchCommand(Object, VirtualMachineHandler) - Method in class org.jolokia.jvmagent.client.command.CommandDispatcher
Dispatch the command

E

error(String, Throwable) - Method in class org.jolokia.jvmagent.JolokiaHttpHandler
 

F

findProcess(Pattern) - Method in class org.jolokia.jvmagent.client.util.VirtualMachineHandler
Filter the process list for a regular expression and returns the description.

G

getAddress() - Method in class org.jolokia.jvmagent.ServerConfig
Address to bind to, which is either used from the configuration option "host" or by default from InetAddress.getLocalHost()
getAgentSystemProperties(Object) - Method in class org.jolokia.jvmagent.client.command.AbstractBaseCommand
Execute com.sun.tools.attach.VirtualMachine#getSystemProperties() via reflection
getAvailableCommands() - Static method in class org.jolokia.jvmagent.client.command.CommandDispatcher
Get the list of available commands
getBacklog() - Method in class org.jolokia.jvmagent.ServerConfig
Backlog of the HTTP server, which is the number of requests to keep before throwing them away
getCommand() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
The command given as argument
getContextPath() - Method in class org.jolokia.jvmagent.ServerConfig
Context path under which the agent is reachable.
getDisplay() - Method in class org.jolokia.jvmagent.client.util.ProcessDescription
Process description
getExecutor() - Method in class org.jolokia.jvmagent.ServerConfig
Executor to use as provided by the 'executor' option or "single" as default
getId() - Method in class org.jolokia.jvmagent.client.util.ProcessDescription
Process id
getJarFileName() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Name of the agents jar file
getJarFilePath() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Path to this agents jar file
getJolokiaConfig() - Method in class org.jolokia.jvmagent.ServerConfig
Get the Jolokia runtime configuration
getKeystore() - Method in class org.jolokia.jvmagent.ServerConfig
Name of the keystore for 'https', if any
getKeystorePassword() - Method in class org.jolokia.jvmagent.ServerConfig
Password for keystore if a keystore is used.
getParameter(String) - Method in class org.jolokia.jvmagent.ParsedUri
Get a single parameter of the parsed URI
getParameterMap() - Method in class org.jolokia.jvmagent.ParsedUri
Get the map with parsed parameters as key-value pairs, where the value is multi valued (array of value)
getPassword() - Method in class org.jolokia.jvmagent.ServerConfig
Password to be used when authentication is switched on.
getPathInfo() - Method in class org.jolokia.jvmagent.ParsedUri
Return the pathinfo fo this query object
getPid() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Process id as given as argument (if any).
getPort() - Method in class org.jolokia.jvmagent.ServerConfig
Port for the server to listen to
getProcessDescription(OptionsAndArgs, VirtualMachineHandler) - Method in class org.jolokia.jvmagent.client.command.AbstractBaseCommand
Get a description of the process attached, either the numeric id only or, if a pattern is given, the pattern and the associated PID
getProcessPattern() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
A pattern used for matching a process name.
getProtocol() - Method in class org.jolokia.jvmagent.ServerConfig
Protocol to use
getThreadNr() - Method in class org.jolokia.jvmagent.ServerConfig
Thread number to use when executor model is "fixed"
getUri() - Method in class org.jolokia.jvmagent.ParsedUri
Get the complete URI which was parsed
getUrl() - Method in class org.jolokia.jvmagent.JolokiaServer
URL how this agent can be reached from the outsid.
getUser() - Method in class org.jolokia.jvmagent.ServerConfig
User name or null if no authentication should be used

H

handle(HttpExchange) - Method in class org.jolokia.jvmagent.JolokiaHttpHandler
Handler a request.
HelpCommand - Class in org.jolokia.jvmagent.client.command
Print out usage information
HelpCommand() - Constructor for class org.jolokia.jvmagent.client.command.HelpCommand
 

I

info(String) - Method in class org.jolokia.jvmagent.JolokiaHttpHandler
 
isModeStop() - Method in class org.jolokia.jvmagent.ServerConfig
The mode is 'stop' indicates that the server should be stopped when used in dynamic mode
isQuiet() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Whether the program should be silent
isVerbose() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Verbose output if this is true

J

JOLOKIA_AGENT_URL - Static variable in class org.jolokia.jvmagent.JvmAgent
 
JolokiaHttpHandler - Class in org.jolokia.jvmagent
HttpHandler for handling a jolokia request
JolokiaHttpHandler(Map<ConfigKey, String>) - Constructor for class org.jolokia.jvmagent.JolokiaHttpHandler
Create a new HttpHandler for processing HTTP request
JolokiaServer - Class in org.jolokia.jvmagent
Factory for creating the HttpServer used for exporting the Jolokia protocol
JolokiaServer(ServerConfig) - Constructor for class org.jolokia.jvmagent.JolokiaServer
Create the Jolokia server, i.e.
JvmAgent - Class in org.jolokia.jvmagent
A JVM level agent using the JDK6 HTTP Server HttpServer or its SSL variant HttpsServer.

L

ListCommand - Class in org.jolokia.jvmagent.client.command
List all available Java processes
ListCommand() - Constructor for class org.jolokia.jvmagent.client.command.ListCommand
 
listProcesses() - Method in class org.jolokia.jvmagent.client.util.VirtualMachineHandler
Return a list of all Java processes
loadAgent(Object, OptionsAndArgs, String...) - Method in class org.jolokia.jvmagent.client.command.AbstractBaseCommand
Execute com.sun.tools.attach.VirtualMachine#loadAgent(String, String) via reflection
lookupClass(String) - Static method in class org.jolokia.jvmagent.client.util.ToolsClassFinder
Lookup a class and return its definition.
lookupInToolsJar(String) - Static method in class org.jolokia.jvmagent.client.util.ToolsClassFinder
Searches for tools.jar in various locations and uses an URLClassLoader for loading a class from this files.
lookupJarFile() - Static method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Lookup the JAR File from where this class is loaded

M

main(String...) - Static method in class org.jolokia.jvmagent.client.AgentLauncher
Main method for attaching agent to a running JVM program.

O

OptionsAndArgs - Class in org.jolokia.jvmagent.client.util
Class representing options and arguments known to the client launcher.
OptionsAndArgs(Set<String>, String...) - Constructor for class org.jolokia.jvmagent.client.util.OptionsAndArgs
Parse a list of arguments.
org.jolokia.jvmagent - package org.jolokia.jvmagent
 
org.jolokia.jvmagent.client - package org.jolokia.jvmagent.client
 
org.jolokia.jvmagent.client.command - package org.jolokia.jvmagent.client.command
 
org.jolokia.jvmagent.client.util - package org.jolokia.jvmagent.client.util
 

P

ParsedUri - Class in org.jolokia.jvmagent
Enhanced URI class in order to provide means to get to the query string and the request parameters
ParsedUri(URI, String...) - Constructor for class org.jolokia.jvmagent.ParsedUri
Constructor
premain(String) - Static method in class org.jolokia.jvmagent.JvmAgent
Entry point for the agent, using command line attach (that is via -javagent command line argument)
printErrorMessage() - Method in exception org.jolokia.jvmagent.client.util.ProcessingException
Print this exception to standard error, but only if no --quiet is given.
printHelp() - Static method in class org.jolokia.jvmagent.client.command.CommandDispatcher
Print out usage message
ProcessDescription - Class in org.jolokia.jvmagent.client.util
Process descriptor, immutable
ProcessDescription(String, String) - Constructor for class org.jolokia.jvmagent.client.util.ProcessDescription
Constructor for process descriptor
ProcessingException - Exception in org.jolokia.jvmagent.client.util
Exception indicating an error during operation of the agent launcher.
ProcessingException(String, Exception, OptionsAndArgs) - Constructor for exception org.jolokia.jvmagent.client.util.ProcessingException
Constructor

S

ServerConfig - Class in org.jolokia.jvmagent
Holds all Http-Server and Jolokia configuration.
ServerConfig(String) - Constructor for class org.jolokia.jvmagent.ServerConfig
Constructor which parser an agent argument string
start() - Method in class org.jolokia.jvmagent.JolokiaHttpHandler
Start the handler
start() - Method in class org.jolokia.jvmagent.JolokiaServer
Start HttpServer
StartCommand - Class in org.jolokia.jvmagent.client.command
Load a Jolokia Agent and start it.
StartCommand() - Constructor for class org.jolokia.jvmagent.client.command.StartCommand
 
StatusCommand - Class in org.jolokia.jvmagent.client.command
Check the status of an agent on the target process.
StatusCommand() - Constructor for class org.jolokia.jvmagent.client.command.StatusCommand
 
stop() - Method in class org.jolokia.jvmagent.JolokiaHttpHandler
Stop the handler
stop() - Method in class org.jolokia.jvmagent.JolokiaServer
Stop the HTTP server
StopCommand - Class in org.jolokia.jvmagent.client.command
Stop a Jolokia Agent, but only if it is already running (started with 'start').
StopCommand() - Constructor for class org.jolokia.jvmagent.client.command.StopCommand
 

T

toAgentArg() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Convert options to agent readable options (i.e.
ToggleCommand - Class in org.jolokia.jvmagent.client.command
Toggle between "start" and "stop" depending on the existance of the system property JvmAgent.JOLOKIA_AGENT_URL
ToggleCommand() - Constructor for class org.jolokia.jvmagent.client.command.ToggleCommand
 
ToolsClassFinder - Class in org.jolokia.jvmagent.client.util
Utility class for looking up a class within tools.jar
toString() - Method in class org.jolokia.jvmagent.ParsedUri
 

U

useClientAuthentication() - Method in class org.jolokia.jvmagent.ServerConfig
When the protocol is 'https' then this property indicates whether SSL client certificate authentication should be used or not

V

VersionCommand - Class in org.jolokia.jvmagent.client.command
Print out the version of the agent
VersionCommand() - Constructor for class org.jolokia.jvmagent.client.command.VersionCommand
 
VirtualMachineHandler - Class in org.jolokia.jvmagent.client.util
A handler for dealing with VirtualMachine without directly referencing internally the class type.
VirtualMachineHandler(OptionsAndArgs) - Constructor for class org.jolokia.jvmagent.client.util.VirtualMachineHandler
Constructor with options

A C D E F G H I J L M O P S T U V

Copyright © 2012. All Rights Reserved.