|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor
public class ExtensibleURLArtifactProcessor
The default implementation of a URL artifact processor.
Constructor Summary | |
---|---|
ExtensibleURLArtifactProcessor(URLArtifactProcessorExtensionPoint processors)
Constructs a new URL artifact processor. |
Method Summary | ||
---|---|---|
java.lang.String |
getArtifactType()
Returns the type of artifact handled by this artifact processor. |
|
java.lang.Class<java.lang.Object> |
getModelType()
Returns the type of model handled by this artifact processor. |
|
java.lang.Object |
read(java.net.URL contributionURL,
java.net.URI sourceURI,
java.net.URL sourceURL)
Reads a model from an input source. |
|
|
read(java.net.URL contributionURL,
java.net.URI artifactURI,
java.net.URL artifactUrl,
java.lang.Class<MO> type)
|
|
void |
resolve(java.lang.Object model,
ModelResolver resolver)
Resolve references from this model to other models. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtensibleURLArtifactProcessor(URLArtifactProcessorExtensionPoint processors)
processors
- Method Detail |
---|
public java.lang.Object read(java.net.URL contributionURL, java.net.URI sourceURI, java.net.URL sourceURL) throws ContributionReadException
URLArtifactProcessor
read
in interface URLArtifactProcessor<java.lang.Object>
contributionURL
- Contribution location URLsourceURI
- Artifact URIsourceURL
- Artifact location URL
ContributionReadException
public void resolve(java.lang.Object model, ModelResolver resolver) throws ContributionResolveException
ArtifactProcessor
resolve
in interface ArtifactProcessor<java.lang.Object>
model
- The model to resolveresolver
- The resolver to use to resolve referenced models
ContributionResolveException
public <MO> MO read(java.net.URL contributionURL, java.net.URI artifactURI, java.net.URL artifactUrl, java.lang.Class<MO> type) throws ContributionReadException
ContributionReadException
public java.lang.String getArtifactType()
URLArtifactProcessor
getArtifactType
in interface URLArtifactProcessor<java.lang.Object>
public java.lang.Class<java.lang.Object> getModelType()
ArtifactProcessor
getModelType
in interface ArtifactProcessor<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |