org.apache.tuscany.sca.implementation.resource
Interface ResourceImplementation

All Superinterfaces:
Base, ComponentType, Implementation

public interface ResourceImplementation
extends Implementation

The model representing a resource implementation in an SCA assembly model.


Method Summary
 java.lang.String getLocation()
          The URI of the resource inside its contribution.
 java.net.URL getLocationURL()
          Returns the URL of the resource.
 void setLocation(java.lang.String location)
          Sets the URI of the resource inside its contribution.
 void setLocationURL(java.net.URL url)
          Sets the URL of the resource.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentType
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Method Detail

getLocation

java.lang.String getLocation()
The URI of the resource inside its contribution.

Returns:
the URI of the resource

setLocation

void setLocation(java.lang.String location)
Sets the URI of the resource inside its contribution.

Parameters:
location - the URI of the resource

getLocationURL

java.net.URL getLocationURL()
Returns the URL of the resource.

Returns:
the URL of the resource

setLocationURL

void setLocationURL(java.net.URL url)
Sets the URL of the resource.

Parameters:
url - the URL of the resource