Class AgentFinder
java.lang.Object
clazzfish.monitor.jmx.AgentFinder
The class AgentFinder was introduced to simplify the communication with
the ClasspathAgent.
- Since:
- 3.0 (17.11.25)
- Author:
- oboehm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetAttribute(String name, Class<T> type) Class<?>[]booleanChecks if the ClasspathAgent is available as MBean.booleanvoidsetDumpURI(URI uri)
-
Constructor Details
-
AgentFinder
public AgentFinder() -
AgentFinder
-
-
Method Details
-
isAgentAvailable
public boolean isAgentAvailable()Checks if the ClasspathAgent is available as MBean. The ClasspathAgent is needed for classloaders which are not directly supported (e.g. IBM's classloader of their JDK).- Returns:
- true, if is agent available
-
isDumping
public boolean isDumping() -
getDumpURI
- Throws:
JMException
-
setDumpURI
-
getAttribute
- Throws:
JMException
-
getLoadedClasses
- Throws:
JMException
-