|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.contribution.resolver.ResourceReference
@Deprecated public class ResourceReference
A resource URL, which should be used to register resources with an ArtifactResolver and resolve these resources later. FIXME Don't use as its deprecated, use Artifact instead.
Constructor Summary | |
---|---|
ResourceReference(java.lang.String resourceName)
Deprecated. Constructs a new ResourceReference. |
|
ResourceReference(java.lang.String resourceName,
java.net.URL resourceURL)
Deprecated. Constructs a new ResourceReference. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated. |
java.net.URL |
getResource()
Deprecated. Get the resource URL. |
java.lang.String |
getResourceName()
Deprecated. Get the resource name. |
int |
hashCode()
Deprecated. |
boolean |
isUnresolved()
Deprecated. Returns true if the resource reference is unresolved. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceReference(java.lang.String resourceName, java.net.URL resourceURL)
resourceName
- Name of resourceresourceURL
- The resource URLpublic ResourceReference(java.lang.String resourceName)
resourceName
- Name of resourceMethod Detail |
---|
public java.net.URL getResource()
public java.lang.String getResourceName()
public boolean isUnresolved()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |