|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by a service selection implementation mechanism. Classes
implementing the selector interface may be activated during the selection of
candidate service providers in an automated assembly process.
A component author may declare a selection class explicitly via a
service dependency attribute with the attribute name of
urn:avalon:profile.selector
(but this will change to a model
driven approach).
Method Summary | |
DeploymentModel |
select(DeploymentModel[] models,
DependencyDescriptor dependency)
Returns the preferred model from an available selection of candidates capable of fulfilling a supplied service dependency. |
DeploymentModel |
select(DeploymentModel[] models,
ReferenceDescriptor reference)
Returns the preferred model from an available selection of candidates |
DeploymentModel |
select(DeploymentModel[] models,
StageDescriptor stage)
Returns the preferred model from an available selection of candidates |
Method Detail |
public DeploymentModel select(DeploymentModel[] models, DependencyDescriptor dependency)
models
- the set of candidate modelsdependency
- a service dependency
public DeploymentModel select(DeploymentModel[] models, StageDescriptor stage)
models
- the set of candidate modelsstage
- the stage dependency
public DeploymentModel select(DeploymentModel[] models, ReferenceDescriptor reference)
models
- the set of candidate modelsreference
- the versioned service reference
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |