@ProviderType public final class ContextResource extends java.lang.Object
Constructor and Description |
---|
ContextResource(@NotNull Resource resource,
java.lang.String configRef)
Deprecated.
|
ContextResource(@NotNull Resource resource,
java.lang.String configRef,
int serviceRanking) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
@Nullable java.lang.String |
getConfigRef() |
@NotNull Resource |
getResource() |
int |
getServiceRanking() |
int |
hashCode() |
public ContextResource(@NotNull @NotNull 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(@NotNull @NotNull 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.@NotNull public @NotNull Resource getResource()
@Nullable public @Nullable 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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved