org.jwarp.service.configuration
Interface IConfigurationService
- All Superinterfaces:
- IConfigurable, IExceptionProvider, IService
- All Known Implementing Classes:
- ConfigurationService
- public interface IConfigurationService
- extends IService
- Version:
- 1.0
- Author:
- ORCA Systems GmbH, Martin Schäfer
|
Field Summary |
static java.lang.String |
SERVICE_TYPE
Service type constant |
| Methods inherited from interface org.jwarp.service.IService |
checkContext, getDependencies, getLogLevel, getName, getStatus, getType, resume, setContext, setDependencies, setLogLevel, shutdown, start, suspend |
SERVICE_TYPE
public static final java.lang.String SERVICE_TYPE
- Service type constant
getConfiguration
public IConfiguration getConfiguration(java.lang.String configurationName,
ITicket user)
throws java.lang.SecurityException,
NotFoundException
- Return the configuration with the given name
- Parameters:
configurationName - The name of the configurationuser - The user's ticket
addConfiguration
public IConfiguration addConfiguration(java.lang.String url,
ITicket user)
throws java.lang.SecurityException,
NotFoundException
- Tries to add a new configuration specified by the configuration url.
- Parameters:
name - The url of the configurationuser - The user's ticket- Throws:
java.lang.SecurityException - If the access was deniedNotFoundException - If the url could not be resolved or read.
removeConfiguration
public IConfiguration removeConfiguration(java.lang.String name,
ITicket user)
throws java.lang.SecurityException,
NotFoundException
- Tries to remove the configuration with the given name
- Parameters:
name - The name of the configurationuser - The user's ticket- Throws:
java.lang.SecurityException - If the access was deniedNotFoundException - If the configuration could not be located.