|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.resourceresolver.impl.helper.ResourceDecoratorTracker
public class ResourceDecoratorTracker
Helper class to track the resource decorators and keep them sorted by their service ranking.
| Field Summary | |
|---|---|
protected List<org.apache.sling.resourceresolver.impl.helper.ResourceDecoratorTracker.ResourceDecoratorEntry> |
resourceDecorators
The (optional) resource decorators, working copy. |
| Constructor Summary | |
|---|---|
ResourceDecoratorTracker()
|
|
| Method Summary | |
|---|---|
void |
bindResourceDecorator(org.apache.sling.api.resource.ResourceDecorator decorator,
Map<String,Object> props)
Bind a resource decorator. |
void |
close()
|
org.apache.sling.api.resource.Resource |
decorate(org.apache.sling.api.resource.Resource resource)
Decorate a resource. |
void |
unbindResourceDecorator(org.apache.sling.api.resource.ResourceDecorator decorator,
Map<String,Object> props)
Unbind a resouce decorator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final List<org.apache.sling.resourceresolver.impl.helper.ResourceDecoratorTracker.ResourceDecoratorEntry> resourceDecorators
| Constructor Detail |
|---|
public ResourceDecoratorTracker()
| Method Detail |
|---|
public void close()
public org.apache.sling.api.resource.Resource decorate(org.apache.sling.api.resource.Resource resource)
public void bindResourceDecorator(org.apache.sling.api.resource.ResourceDecorator decorator,
Map<String,Object> props)
public void unbindResourceDecorator(org.apache.sling.api.resource.ResourceDecorator decorator,
Map<String,Object> props)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||