|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServicesManager
Manages the storage, retrieval, and matching of Services wishing to use CAS and services that have been registered with CAS.
| Method Summary | |
|---|---|
RegisteredService |
delete(long id)
Delete the entry for this RegisteredService. |
RegisteredService |
findServiceBy(long id)
Find a RegisteredService by matching with the supplied id. |
RegisteredService |
findServiceBy(Service service)
Find a RegisteredService by matching with the supplied service. |
java.util.Collection<RegisteredService> |
getAllServices()
Retrieve the collection of all registered services. |
boolean |
matchesExistingService(Service service)
Convenience method to let one know if a service exists in the data store. |
void |
save(RegisteredService registeredService)
Register a service with CAS, or update an existing an entry. |
| Method Detail |
|---|
void save(RegisteredService registeredService)
registeredService - the RegisteredService to update or add.RegisteredService delete(long id)
id - the id of the registeredService to delete.
RegisteredService findServiceBy(Service service)
service - the service to match with.
RegisteredService findServiceBy(long id)
id - the id to match with.
java.util.Collection<RegisteredService> getAllServices()
boolean matchesExistingService(Service service)
service - the service to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||