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 Initializable
public void release()
release
in interface Initializable
public ResourceMapping mapResource(ResourceKey resourceKey)
ResourceMapper
mapResource
in interface ResourceMapper
public Set<ResourceKey> getAggregatedResources(ResourcePath resourcePath)
ResourceAggregator
getAggregatedResources
in interface ResourceAggregator
public int getPriority()
Prioritizable
Zero-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 Prioritizable
Copyright © 2014 JBoss by Red Hat. All rights reserved.