public interface LocationResolver
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(java.lang.String spec,
LocationRegistry registry)
whether the spec is something which should be passed to this resolver
|
java.lang.String |
getPrefix()
the prefix that this resolver will attend to
|
void |
init(ManagementContext managementContext) |
boolean |
isEnabled()
whether the location is enabled
|
LocationSpec<? extends Location> |
newLocationSpecFromString(java.lang.String spec,
java.util.Map<?,?> locationFlags,
LocationRegistry registry)
Creates a LocationSpec given a spec string, flags (e.g.
|
void init(ManagementContext managementContext)
java.lang.String getPrefix()
boolean accepts(java.lang.String spec, LocationRegistry registry)
boolean isEnabled()
LocationSpec<? extends Location> newLocationSpecFromString(java.lang.String spec, java.util.Map<?,?> locationFlags, LocationRegistry registry)