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, getLogHandler
doDelete, doHead, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig pServletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class org.jolokia.http.AgentServlet
javax.servlet.ServletException
public static boolean containsEnum(String test)
Copyright © 2022 JBoss by Red Hat. All rights reserved.