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() |
ResourceMapping |
mapResource(ResourceKey resourceKey)
Determines whether resource identified by given key is mapped to another resource.
|
void |
release() |
public void init()
init in interface Initializablepublic void release()
release in interface Initializablepublic ResourceMapping mapResource(ResourceKey resourceKey)
ResourceMappermapResource in interface ResourceMapperpublic Set<ResourceKey> getAggregatedResources(ResourcePath resourcePath)
ResourceAggregatorgetAggregatedResources in interface ResourceAggregatorpublic 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 © 2014 JBoss by Red Hat. All rights reserved.