|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceSelectionPolicy
Represents a selection policy for services of a given type.
Method Summary | |
---|---|
java.util.List<ServiceRegistryBinding> |
getInstances()
Get list of instances from the given service selection policy. |
ServiceRegistryBinding |
getNextInstance()
Get the next service instance from the given service selection policy. |
void |
updateServices(java.util.List<ServiceRegistryBinding> localServices,
java.util.List<ServiceRegistryBinding> remoteServices)
|
Method Detail |
---|
ServiceRegistryBinding getNextInstance() throws ServiceNotFoundException
ServiceRegistryBinding
for the next instance after
being operated on by the selection policy.
ServiceNotFoundException
- if the policy has no more services to
hand out.com.metamatrix.common.service.ServiceInterface
java.util.List<ServiceRegistryBinding> getInstances() throws ServiceNotFoundException
ServiceRegistryBinding
objects for the instances after
being operated on by the selection policy.
ServiceNotFoundException
- if the policy has no more services to
hand out.com.metamatrix.common.service.ServiceInterface
void updateServices(java.util.List<ServiceRegistryBinding> localServices, java.util.List<ServiceRegistryBinding> remoteServices)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |