|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.admin.domain.model.ManagedApplication
public class ManagedApplication
The application, managed by this REST service implementation.
Constructor Summary | |
---|---|
ManagedApplication(de.smartics.properties.resource.domain.ArtifactId applicationId, de.smartics.properties.impl.config.ds.DataSourceConfiguration dataSourceConfig, RemoteConfigurationPropertiesManagementFactory factory) Default constructor. |
Method Summary | |
---|---|
void |
clean() Cleans the definitions from the factory. |
static ManagedApplication |
getApplication() Provides access to the managed application. |
de.smartics.properties.resource.domain.ArtifactId |
getApplicationId() Returns the identifier of the application managed. |
de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement |
getConfiguration(de.smartics.properties.api.config.domain.key.ConfigurationKey<?> key) Provides access to configurations. |
de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement |
getConfiguration(String keyString) Provides access to configurations. |
Collection<de.smartics.properties.api.config.domain.key.ConfigurationKey<?>> |
getConfigurationKeys() Returns the collection of configuration keys. |
de.smartics.properties.impl.config.ds.DataSourceConfiguration |
getDataSourceConfig() Returns the data source that contains the property definitions. |
de.smartics.properties.api.core.domain.PropertyDescriptorRegistry |
getDescriptorRegistry() Returns the registry of known descriptors. |
String |
getRemoteRepositoryUrl() Returns the URL to the remote repository. |
de.smartics.properties.api.core.security.PropertyValueSecurity |
getSecurity() Returns the security component to encrypt and decrypt values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManagedApplication(de.smartics.properties.resource.domain.ArtifactId applicationId, de.smartics.properties.impl.config.ds.DataSourceConfiguration dataSourceConfig, RemoteConfigurationPropertiesManagementFactory factory)
applicationId
- the identifier of the application managed.
dataSourceConfig
- the data source that contains the property definitions.
factory
- the factory to manage configurations for the application.
Method Detail |
---|
public de.smartics.properties.resource.domain.ArtifactId getApplicationId()
@CheckForNull public de.smartics.properties.impl.config.ds.DataSourceConfiguration getDataSourceConfig()
public String getRemoteRepositoryUrl()
public de.smartics.properties.api.core.security.PropertyValueSecurity getSecurity()
public de.smartics.properties.api.core.domain.PropertyDescriptorRegistry getDescriptorRegistry()
public static ManagedApplication getApplication() throws CannotInitializeManagedApplicationException
CannotInitializeManagedApplicationException
- if the application was not and cannot be initialized.
public de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement getConfiguration(de.smartics.properties.api.config.domain.key.ConfigurationKey<?> key)
key
- the key to the requested configuration.
public de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement getConfiguration(String keyString)
keyString
- the string representation of the key to the requested configuration.
public Collection<de.smartics.properties.api.config.domain.key.ConfigurationKey<?>> getConfigurationKeys()
public void clean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |