|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The model repository interface declares operations through which clients may resolve new or existing model instances relative to a stage or service dependency.
Method Summary | |
void |
addModel(DeploymentModel model)
Add an model to the repository. |
void |
addModel(String name,
DeploymentModel model)
Add an model to the repository. |
DeploymentModel[] |
getCandidateProviders(DependencyDescriptor dependency)
Locate all models meeting the supplied dependency criteria. |
DeploymentModel[] |
getCandidateProviders(ReferenceDescriptor reference)
Locate all models meeting the supplied service reference criteria. |
DeploymentModel[] |
getCandidateProviders(StageDescriptor stage)
Locate all models meeting the supplied criteria. |
DeploymentModel |
getModel(DependencyDescriptor dependency)
Locate a model meeting the supplied criteria. |
DeploymentModel |
getModel(ReferenceDescriptor reference)
Locate a model meeting the supplied service criteria. |
DeploymentModel |
getModel(StageDescriptor stage)
Locate a model meeting the supplied criteria. |
DeploymentModel |
getModel(String name)
Locate an model matching the supplied name. |
DeploymentModel[] |
getModels()
Locate an model meeting the supplied criteria. |
void |
removeModel(DeploymentModel model)
Remove an model from the repository. |
Method Detail |
public DeploymentModel getModel(String name)
name
- the model name
public DeploymentModel getModel(DependencyDescriptor dependency)
dependency
- a component service dependency
public DeploymentModel getModel(ReferenceDescriptor reference)
reference
- a version interface descriptor
public DeploymentModel[] getCandidateProviders(DependencyDescriptor dependency)
dependency
- a component service dependency
public DeploymentModel[] getCandidateProviders(StageDescriptor stage)
stage
- a component stage dependency
public DeploymentModel[] getCandidateProviders(ReferenceDescriptor reference)
reference
- a service reference
public DeploymentModel getModel(StageDescriptor stage)
stage
- a component stage dependency
public void addModel(DeploymentModel model)
model
- the model to addpublic void addModel(String name, DeploymentModel model)
name
- the name to register the model undermodel
- the model to addpublic void removeModel(DeploymentModel model)
model
- the model to removepublic DeploymentModel[] getModels()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |