public interface ServiceConfigurationAccessor (Code)
This interface specifies the methods required to store and retrieve
instances of the ServiceConfiguration class.
author: Abel Iago Toral Quiroga since: 1.0
Method Summary
public void
addServiceConfiguration(ServiceConfiguration serviceConfiguration) Adds the configuration for a service.
Parameters: serviceConfiguration - The configuration for the service.
findServiceConfiguration(String serviceIdentifier) Finds the configuration for a service by its identifier.
Parameters: serviceIdentifier - The service identifier.
public void
removeServiceConfiguration(String serviceIdentifier) Removes the configuration for a service.
Parameters: serviceIdentifier - The service identifier.
public void
updateServiceConfiguration(ServiceConfiguration serviceConfiguration) Updates the configuration for a service.
Parameters: serviceConfiguration - The new configuration for the service.
Adds the configuration for a service.
Parameters: serviceConfiguration - The configuration for the service. InternalErrorException if a severe failure occured DuplicateInstanceException if the service already has configuration.
Retrieves the configuration for all services.
InternalErrorException if a severe failure occured. a Collection with the configuration for all services.
Finds the configuration for a service by its identifier.
Parameters: serviceIdentifier - The service identifier. The ServiceConfiguration object InternalErrorException if a severe failure occured InstanceNotFoundException if the service configuration doesn't exist.
Removes the configuration for a service.
Parameters: serviceIdentifier - The service identifier. InternalErrorException if a severe failure occured InstanceNotFoundException if it was unable tofind the service configuration.
Updates the configuration for a service.
Parameters: serviceConfiguration - The new configuration for the service. InternalErrorException if a severe failure occured InstanceNotFoundException if it was unable tofind the service configuration to be updated.