|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocationResolver
Provides a way of creating location instances of a particular type.
| Method Summary | |
|---|---|
boolean |
accepts(String spec,
LocationRegistry registry)
whether the spec is something which should be passed to this resolver |
String |
getPrefix()
the prefix that this resolver will attend to |
void |
init(ManagementContext managementContext)
|
Location |
newLocationFromString(Map properties,
String spec)
Deprecated. since 0.6; use newLocationFromString(Map, String, LocationRegistry) |
Location |
newLocationFromString(Map locationFlags,
String spec,
LocationRegistry registry)
Similar to newLocationFromString(Map, String)
but passing in a reference to the registry itself (from which the base properties are discovered)
and including flags (e.g. |
| Method Detail |
|---|
void init(ManagementContext managementContext)
String getPrefix()
boolean accepts(String spec,
LocationRegistry registry)
@Deprecated
Location newLocationFromString(Map properties,
String spec)
newLocationFromString(Map, String, LocationRegistry)
NoSuchElementException - if not found
Location newLocationFromString(Map locationFlags,
String spec,
LocationRegistry registry)
newLocationFromString(Map, String)
but passing in a reference to the registry itself (from which the base properties are discovered)
and including flags (e.g. user, key, cloud credential) which are known to be for this location.
introduced to support locations which refer to other locations, e.g. NamedLocationResolver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||