Skip navigation links
A C D E F G H I J K L M N O P R 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, Instrumentation) - 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.
authenticate(HttpExchange) - Method in class org.jolokia.jvmagent.security.ClientCertAuthenticator
 
authenticate(HttpExchange) - Method in class org.jolokia.jvmagent.security.DelegatingAuthenticator
 
authenticate(HttpExchange) - Method in class org.jolokia.jvmagent.security.JaasAuthenticator
 
authenticate(HttpExchange) - Method in class org.jolokia.jvmagent.security.MultiAuthenticator
Authenticate against the given request

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.
checkAgentUrl(Object, int) - 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.
checkAuthentication(HttpExchange) - Method in class org.jolokia.jvmagent.handler.JolokiaHttpHandler
Protocol based authentication checks called very early and before handling a request.
checkCredentials(String, String) - Method in class org.jolokia.jvmagent.security.JaasAuthenticator
 
checkCredentials(String, String) - Method in class org.jolokia.jvmagent.security.UserPasswordAuthenticator
ClientCertAuthenticator - Class in org.jolokia.jvmagent.security
 
ClientCertAuthenticator(JolokiaServerConfig) - Constructor for class org.jolokia.jvmagent.security.ClientCertAuthenticator
Constructor
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
createRestrictor() - Method in class org.jolokia.jvmagent.handler.JolokiaHttpHandler
Hook for creating an own restrictor

D

DelegatingAuthenticator - Class in org.jolokia.jvmagent.security
Authenticator using JAAS for logging in with user and password for the given realm.
DelegatingAuthenticator(String, String, String, boolean) - Constructor for class org.jolokia.jvmagent.security.DelegatingAuthenticator
 
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
doHandle(HttpExchange) - Method in class org.jolokia.jvmagent.handler.JolokiaHttpHandler
 

E

EncryptCommand - Class in org.jolokia.jvmagent.client.command
Command for encrypting a password which can be used in the configuration to e.g.
EncryptCommand() - Constructor for class org.jolokia.jvmagent.client.command.EncryptCommand
 
EncryptCommand(JolokiaCipher.KeyHolder) - Constructor for class org.jolokia.jvmagent.client.command.EncryptCommand
 

F

findProcess(Pattern) - Method in class org.jolokia.jvmagent.client.util.VirtualMachineHandler
Filter the process list for a regular expression and returns the description.
fromString(String) - Static method in enum org.jolokia.jvmagent.security.MultiAuthenticator.Mode
 

G

getAddress() - Method in class org.jolokia.jvmagent.JolokiaServer
 
getAddress() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
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
getAuthenticator() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Return a basic authenticator if user or password is given in the configuration.
getAvailableCommands() - Static method in class org.jolokia.jvmagent.client.command.CommandDispatcher
Get the list of available commands
getBacklog() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Backlog of the HTTP server, which is the number of requests to keep before throwing them away
getCaCert() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Get a path to a CA PEM file which is used to verify client certificates.
getClientPrincipals() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
getCommand() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
The command given as argument
getContextPath() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Context path under which the agent is reachable.
getDefaultConfig(Map<String, String>) - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
getDefaultConfig(Map<String, String>) - Method in class org.jolokia.jvmagent.JvmAgentConfig
Beside reading the default configuration from an internal property file, also add extra configuration given in an external properties where the path to this property file is given under the key "config"
getDisplay() - Method in class org.jolokia.jvmagent.client.util.ProcessDescription
Process description
getExecutor() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Executor to use as provided by the 'executor' option or "single" as default
getExtendedClientCheck() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
getExtraArgs() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Get extra arguments in addition to the command, or an empty list
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.JolokiaServerConfig
Get the Jolokia runtime configuration
getKeyManagerAlgorithm() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
getKeystore() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Name of the keystore for 'https', if any
getKeystorePassword() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Password for keystore if a keystore is used.
getKeyStoreType() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
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)
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.client.util.OptionsAndArgs
Get the configured port
getPort() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
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.JolokiaServerConfig
Protocol to use
getSecureSocketProtocol() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
getServerCert() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Get the path to a server cert which is presented clients when using TLS.
getServerConfig() - Method in class org.jolokia.jvmagent.JolokiaServer
Get configuration for this server
getServerKey() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Get the path to a the cert which has the private server key.
getServerKeyAlgorithm() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
The algorithm to use for extracting the private server key.
getSSLCipherSuites() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
The list of enabled SSL / TLS cipher suites
getSSLProtocols() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
The list of enabled SSL / TLS protocols to serve with
getThreadNamePrefix() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Thread name prefix that executor will use while creating new thread(s).
getThreadNr() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Thread number to use when executor model is "fixed"
getTrustManagerAlgorithm() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
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 outside.

H

handle(HttpExchange) - Method in class org.jolokia.jvmagent.handler.JolokiaHttpHandler
Handle 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

init(JolokiaServerConfig, boolean) - Method in class org.jolokia.jvmagent.JolokiaServer
Initialize this JolokiaServer and use an own created HttpServer
init(HttpServer, JolokiaServerConfig, boolean) - Method in class org.jolokia.jvmagent.JolokiaServer
Initialize this JolokiaServer with the given HttpServer.
init(Map<String, String>) - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Initialize the configuration with the given map
init(Map<String, String>) - Method in class org.jolokia.jvmagent.JvmAgentConfig
 
initConfigAndValidate(Map<String, String>) - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
isModeStop() - Method in class org.jolokia.jvmagent.JvmAgentConfig
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

JaasAuthenticator - Class in org.jolokia.jvmagent.security
Authenticator using JAAS for logging in with user and password for the given realm.
JaasAuthenticator(String) - Constructor for class org.jolokia.jvmagent.security.JaasAuthenticator
 
JOLOKIA_AGENT_URL - Static variable in class org.jolokia.jvmagent.JvmAgent
 
JolokiaHttpHandler - Class in org.jolokia.jvmagent.handler
HttpHandler for handling a Jolokia request
JolokiaHttpHandler(Configuration) - Constructor for class org.jolokia.jvmagent.handler.JolokiaHttpHandler
Create a new HttpHandler for processing HTTP request
JolokiaHttpHandler(Configuration, LogHandler) - Constructor for class org.jolokia.jvmagent.handler.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(JolokiaServerConfig, boolean) - Constructor for class org.jolokia.jvmagent.JolokiaServer
Create the Jolokia server which in turn creates an HttpServer for serving Jolokia requests.
JolokiaServer(HttpServer, JolokiaServerConfig, boolean) - Constructor for class org.jolokia.jvmagent.JolokiaServer
Create the Jolokia server by using an existing HttpServer to which a request handler gets added.
JolokiaServer() - Constructor for class org.jolokia.jvmagent.JolokiaServer
No arg constructor usable by subclasses.
JolokiaServerConfig - Class in org.jolokia.jvmagent
Configuration required for the JolokiaServer
JolokiaServerConfig(Map<String, String>) - Constructor for class org.jolokia.jvmagent.JolokiaServerConfig
Constructor which prepares the server configuration from a map of given config options (key: option name, value: option value).
JvmAgent - Class in org.jolokia.jvmagent
A JVM level agent using the JDK6 HTTP Server HttpServer or its SSL variant HttpsServer.
JvmAgentConfig - Class in org.jolokia.jvmagent
Holds all Http-Server and Jolokia configuration.
JvmAgentConfig(String) - Constructor for class org.jolokia.jvmagent.JvmAgentConfig
Constructor which parser an agent argument string
JvmAgentConfig(Map<String, String>) - Constructor for class org.jolokia.jvmagent.JvmAgentConfig
Constructor with a preparsed configuration

K

KeyStoreUtil - Class in org.jolokia.jvmagent.security
Utility class for handling keystores

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.
MultiAuthenticator - Class in org.jolokia.jvmagent.security
Authenticator encapsulating multiple other authenticators whose results are combined to a single one, depending on the given mode Mode.ALL : All authenticators must succeed for this authenticator to succeed Mode.ANY : A single sucessful authenticator is sufficient for this authenticator to succeed
MultiAuthenticator(MultiAuthenticator.Mode, List<Authenticator>) - Constructor for class org.jolokia.jvmagent.security.MultiAuthenticator
 
MultiAuthenticator.Mode - Enum in org.jolokia.jvmagent.security
How to combine multiple authenticators

N

needsVm() - Method in class org.jolokia.jvmagent.client.util.OptionsAndArgs
Return true if this command required a attached VM or false otherwise

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
 
org.jolokia.jvmagent.handler - package org.jolokia.jvmagent.handler
 
org.jolokia.jvmagent.security - package org.jolokia.jvmagent.security
 

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, Instrumentation) - Static method in class org.jolokia.jvmagent.JvmAgent
Entry point for the agent, using command line attach (that is via -javaagent command line argument)
prepareDetectorOptions(Map<String, String>) - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 
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

R

readPropertiesFromInputStream(InputStream, String) - Method in class org.jolokia.jvmagent.JolokiaServerConfig
 

S

start(boolean) - Method in class org.jolokia.jvmagent.handler.JolokiaHttpHandler
Start the handler
start(boolean, String, boolean) - Method in class org.jolokia.jvmagent.handler.JolokiaHttpHandler
Start the handler and remember connection details which are useful for discovery messages
start() - Method in class org.jolokia.jvmagent.JolokiaServer
Start this server.
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.handler.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

updateHTTPSSettingsFromContext(SSLContext) - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Filter the list of protocols and ciphers to those supported by the given SSLContext
updateWithCaPem(KeyStore, File) - Static method in class org.jolokia.jvmagent.security.KeyStoreUtil
Update a keystore with a CA certificate
updateWithSelfSignedServerCertificate(KeyStore) - Static method in class org.jolokia.jvmagent.security.KeyStoreUtil
Update the given keystore with a self signed server certificate.
updateWithServerPems(KeyStore, File, File, String, char[]) - Static method in class org.jolokia.jvmagent.security.KeyStoreUtil
Update a key store with the keys found in a server PEM and its key file.
useHttps() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
Whether or not to use https as the procol
UserPasswordAuthenticator - Class in org.jolokia.jvmagent.security
Simple authenticator using user and password for basic authentication.
UserPasswordAuthenticator(String, String, String) - Constructor for class org.jolokia.jvmagent.security.UserPasswordAuthenticator
Authenticator which checks against a given user and password
useSslClientAuthentication() - Method in class org.jolokia.jvmagent.JolokiaServerConfig
When the protocol is 'https' then this property indicates whether SSL client certificate authentication should be used or not

V

valueOf(String) - Static method in enum org.jolokia.jvmagent.security.MultiAuthenticator.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jolokia.jvmagent.security.MultiAuthenticator.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
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 K L M N O P R S T U V 
Skip navigation links

Copyright © 2019. All rights reserved.