public interface ApplicationConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
context()
Returns the context path of the application
|
ApplicationConfiguration |
context(String context)
Sets the context path of the application
|
String |
description()
Returns the description of the application.
|
ApplicationConfiguration |
description(String description)
Sets the description of the application.
|
Set<String> |
excludes()
Returns a set of request paths that should not be subjected to request management.
|
void |
merge(ApplicationConfiguration config)
Merges this configuration with another configuration
|
Mode |
mode()
Returns the management mode of the application.
|
ApplicationConfiguration |
mode(Mode mode)
Sets the management mode of this application.
|
String |
name()
Returns the name of the application.
|
ApplicationConfiguration |
name(String name)
Sets the name of the application.
|
Persistence |
persistence()
Returns the persistence manager of the application.
|
ApplicationConfiguration |
persistence(Persistence manager)
Sets the persistence manager of the application.
|
String |
serviceClass()
Returns the class of the application
|
ApplicationConfiguration |
serviceClass(String serviceClass)
Sets the class of the application.
|
Set<String> |
startScopes()
Returns the scopes in which the application operates when it first starts.
|
ApplicationConfiguration |
startScopes(String... scopes)
Sets the VOs in which the application operates when it first starts.
|
void |
validate()
Validates this configuration.
|
String |
version()
Returns the version of the application.
|
ApplicationConfiguration |
version(String version)
Sets the version of the application.
|
Mode mode()
String context()
ApplicationConfiguration context(String context)
context - the context pathApplicationConfiguration mode(Mode mode)
the - management modeString name()
ApplicationConfiguration name(String name)
name - the nameString serviceClass()
ApplicationConfiguration serviceClass(String serviceClass)
serviceClass - the classString version()
ApplicationConfiguration version(String version)
version - the versionString description()
ApplicationConfiguration description(String description)
description - the descriptionSet<String> startScopes()
ApplicationConfiguration startScopes(String... scopes)
scopes - the scopesPersistence persistence()
Set<String> excludes()
ApplicationConfiguration persistence(Persistence manager)
manager - the managervoid validate()
IllegalStateException - if the configuration is not validvoid merge(ApplicationConfiguration config)
config - the other configurationCopyright © 2015. All Rights Reserved.