public class JMXLocationResolver extends Object implements LocationResolver<JMXNodeLocation>
LocationResolver| Constructor and Description |
|---|
JMXLocationResolver() |
| Modifier and Type | Method and Description |
|---|---|
JMXNodeLocation |
absolutize(JMXNodeLocation base,
JMXNodeLocation location)
Resolves the given
location relative to the given base and returns the resolved location. |
String |
applyTemplate(String nameTemplate,
JMXNodeLocation location,
String endpointName) |
boolean |
isParent(JMXNodeLocation parent,
JMXNodeLocation child) |
boolean |
matches(JMXNodeLocation query,
JMXNodeLocation location) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabsolutizepublic JMXNodeLocation absolutize(JMXNodeLocation base, JMXNodeLocation location)
LocationResolverlocation relative to the given base and returns the resolved location. Note
that this method can eventually return location or base if the resolution would yield a Location
equivalent to any of the two.absolutize in interface LocationResolver<JMXNodeLocation>base - the base location to resolve location againstlocation - the location to resolvepublic boolean isParent(JMXNodeLocation parent, JMXNodeLocation child)
isParent in interface LocationResolver<JMXNodeLocation>public boolean matches(JMXNodeLocation query, JMXNodeLocation location)
matches in interface LocationResolver<JMXNodeLocation>public String applyTemplate(String nameTemplate, JMXNodeLocation location, String endpointName)
applyTemplate in interface LocationResolver<JMXNodeLocation>Copyright © 2015 Red Hat, Inc.. All rights reserved.