2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.extension.helper.utils
Class AbstractStAXArtifactProcessor<I extends Implementation>
java.lang.Object
org.apache.tuscany.sca.extension.helper.utils.AbstractStAXArtifactProcessor<I>
- All Implemented Interfaces:
- ArtifactProcessor<I>, StAXArtifactProcessor<I>
- Direct Known Subclasses:
- SCDLProcessor
public abstract class AbstractStAXArtifactProcessor<I extends Implementation>
- extends java.lang.Object
- implements StAXArtifactProcessor<I>
TODO: couldn't something like this class be provided by the runtime?
Each impl shouldn't have to have their own .componentType merging code
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
assemblyFactory
protected AssemblyFactory assemblyFactory
AbstractStAXArtifactProcessor
public AbstractStAXArtifactProcessor(AssemblyFactory assemblyFactory)
resolve
public void resolve(I model,
ModelResolver resolver)
throws ContributionResolveException
- Description copied from interface:
ArtifactProcessor
- Resolve references from this model to other models. For example references
from a composite to another one, or references from a composite to a WSDL
model.
- Specified by:
resolve
in interface ArtifactProcessor<I extends Implementation>
- Parameters:
model
- The model to resolveresolver
- The resolver to use to resolve referenced models
- Throws:
ContributionResolveException
addSideFileComponentType
protected void addSideFileComponentType(java.lang.String name,
Implementation impl,
ModelResolver resolver)
createDynamicService
protected Service createDynamicService()