public class InputArgumentsJavaAgentDetector extends Object implements JavaAgentDetector
JavaAgentDetector
that detects jars supplied via the -javaagent
JVM
input argument.Constructor and Description |
---|
InputArgumentsJavaAgentDetector() |
Modifier and Type | Method and Description |
---|---|
boolean |
isJavaAgentJar(URL url)
Returns
true if url points to a Java agent jar file, otherwise
false is returned. |
public boolean isJavaAgentJar(URL url)
JavaAgentDetector
true
if url
points to a Java agent jar file, otherwise
false
is returned.isJavaAgentJar
in interface JavaAgentDetector
url
- The url to examineCopyright © 2014 Pivotal Software, Inc.. All rights reserved.