public final class ContextResource
extends java.lang.Object
| Constructor and Description |
|---|
ContextResource(Resource resource,
java.lang.String configRef)
Deprecated.
|
ContextResource(Resource resource,
java.lang.String configRef,
int serviceRanking) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConfigRef() |
Resource |
getResource() |
int |
getServiceRanking() |
int |
hashCode() |
public ContextResource(Resource resource, java.lang.String configRef, int serviceRanking)
resource - Context root resourceconfigRef - Config reference (normally a resource path).
May be null if the ConfigurationResourceResolvingStrategy has it's own concept of detecting the matching configuration.serviceRanking - Service ranking of the context path strategy implementation@Deprecated public ContextResource(Resource resource, java.lang.String configRef)
ContextResource(Resource, String, int)resource - Context root resourceconfigRef - Config reference (normally a resource path).
May be null if the ConfigurationResourceResolvingStrategy has it's own concept of detecting the matching configuration.public Resource getResource()
public java.lang.String getConfigRef()
ConfigurationResourceResolvingStrategy has it's own concept of detecting the matching configuration.public int getServiceRanking()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"