|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Contribution
The representation of an SCA contribution.
Field Summary | |
---|---|
static java.lang.String |
SCA_CONTRIBUTION_DEPLOYABLES
Default location of deployable composites in an SCA contribution. |
static java.lang.String |
SCA_CONTRIBUTION_GENERATED_META
Default location of a generated contribution metadata in an SCA contribution. |
static java.lang.String |
SCA_CONTRIBUTION_META
Default location of contribution metadata in an SCA contribution. |
Method Summary | |
---|---|
java.util.List<Artifact> |
getArtifacts()
Returns the list of artifacts in the contribution. |
java.lang.ClassLoader |
getClassLoader()
Returns the ClassLoader used to load classes and resources from this contribution FIXME Remove this, the base contribution model should not depend on Java ClassLoaders. |
java.util.List<Composite> |
getDeployables()
Returns the list of deployable composites in the contribution. |
java.util.List<Export> |
getExports()
Returns a list of exports based on the contribution metadata. |
java.util.List<Import> |
getImports()
Returns a list of imports based on the contribution metadata. |
ModelResolver |
getModelResolver()
Returns the model resolver for the models representing the artifacts visible in the scope of this contribution. |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the ClassLoader used to load classes and resources from this contribution FIXME Remove this, the base contribution model should not depend on Java ClassLoaders. |
void |
setModelResolver(ModelResolver modelResolver)
Sets the model resolver for the models representing the artifacts visible in the scope of this contribution. |
Methods inherited from interface org.apache.tuscany.sca.contribution.Artifact |
---|
getContents, getLocation, getModel, getURI, setContents, setLocation, setModel, setURI |
Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
---|
isUnresolved, setUnresolved |
Field Detail |
---|
static final java.lang.String SCA_CONTRIBUTION_META
static final java.lang.String SCA_CONTRIBUTION_GENERATED_META
static final java.lang.String SCA_CONTRIBUTION_DEPLOYABLES
Method Detail |
---|
java.util.List<Export> getExports()
java.util.List<Import> getImports()
java.util.List<Composite> getDeployables()
java.util.List<Artifact> getArtifacts()
ModelResolver getModelResolver()
void setModelResolver(ModelResolver modelResolver)
modelResolver
- The model resolverjava.lang.ClassLoader getClassLoader()
void setClassLoader(java.lang.ClassLoader classLoader)
classLoader
- the contribution class loader
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |