public class PropertiesResourceMapper extends Object implements ResourceMapper, ResourceAggregator, Initializable, Prioritizable
| Constructor and Description |
|---|
PropertiesResourceMapper() |
| Modifier and Type | Method and Description |
|---|---|
Set<ResourceKey> |
getAggregatedResources(ResourcePath resourcePath)
Returns a set of resources which can be found on common URL.
|
int |
getPriority()
Zero-relative priority.
|
void |
init()
Called during service initialization time
|
ResourceMapping |
mapResource(ResourceKey resourceKey)
Determines whether resource identified by given key is mapped to another resource.
|
void |
release()
Called when releasing associated services
|
public void init()
Initializableinit in interface Initializablepublic void release()
Initializablerelease in interface Initializablepublic ResourceMapping mapResource(ResourceKey resourceKey)
ResourceMappermapResource in interface ResourceMapperresourceKey - the key of the resource to be checked for existence of its mappingpublic Set<ResourceKey> getAggregatedResources(ResourcePath resourcePath)
ResourceAggregatorgetAggregatedResources in interface ResourceAggregatorresourcePath - an absolute URL under which resource can be foundpublic int getPriority()
PrioritizableZero-relative priority.
The higher priority means that the service will be loaded sooner,
the lower priority means that the service will be loaded later.
By default, any service (even though it isn't Prioritizable has priority equal to 0.
getPriority in interface PrioritizableCopyright © 2016 JBoss by Red Hat. All Rights Reserved.