public class JolokiaConfiguredAgentServlet
extends org.jolokia.http.AgentServlet
Adds support to specify Jolokia agent configurable parameters via java system properties mechanism. This allows to provide start up time customization, without the need to alter web.xml deployment descriptor.
To specify them, you need to pass the to the jvm process with "jolokia." prefix.
Ex. -Djolokia.policyLocation=file:///home/fuse/my-access.xml'
The supported input configuration is described in Jolokia documentation:
https://jolokia.org/reference/html/agents.html#agent-war-init-params
| Constructor and Description |
|---|
JolokiaConfiguredAgentServlet() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsEnum(String test) |
void |
init(javax.servlet.ServletConfig pServletConfig) |
createLogHandler, createRestrictor, destroy, doGet, doOptions, doPost, getLogHandlerdoDelete, doHead, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig pServletConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class org.jolokia.http.AgentServletjavax.servlet.ServletExceptionpublic static boolean containsEnum(String test)
Copyright © 2020 JBoss by Red Hat. All rights reserved.