|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.contribution.java.impl.JavaImportModelResolver
public class JavaImportModelResolver
A JavaImport specific model resolver. This model resolver is temporary and provides the ContributionClassLoader with the list of exporting contributions that it currently needs. FIXME Remove this class after the ContributionClassLoader is simplified and cleaned up.
Constructor Summary | |
---|---|
JavaImportModelResolver(java.util.List<Contribution> contributions,
ModelResolver modelResolver)
|
Method Summary | ||
---|---|---|
void |
addModel(java.lang.Object resolved)
Add a resolved model. |
|
java.util.List<Contribution> |
getExportContributions()
|
|
java.lang.Object |
removeModel(java.lang.Object resolved)
Remove a resolved model. |
|
|
resolveModel(java.lang.Class<T> modelClass,
T unresolved)
Resolve the model representing an artifact. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaImportModelResolver(java.util.List<Contribution> contributions, ModelResolver modelResolver)
Method Detail |
---|
public java.util.List<Contribution> getExportContributions()
public void addModel(java.lang.Object resolved)
ModelResolver
addModel
in interface ModelResolver
resolved
- The modelpublic java.lang.Object removeModel(java.lang.Object resolved)
ModelResolver
removeModel
in interface ModelResolver
public <T> T resolveModel(java.lang.Class<T> modelClass, T unresolved)
ModelResolver
resolveModel
in interface ModelResolver
modelClass
- the type of artifactunresolved
- the unresolved model
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |