public interface LocalConfiguration extends Configuration
Deployables before the container is started.| Modifier and Type | Method and Description |
|---|---|
void |
addDataSource(DataSource dataSource)
Add data source the container can take advantage of.
|
void |
addDeployable(Deployable deployable)
Deploy a
Deployable in the container. |
void |
addResource(Resource resource)
Add resources the container can take advantage of.
|
void |
applyPortOffset()
Apply the port offset to the configuration port properties.
|
void |
configure(LocalContainer container)
Setup the container which means setting up a valid directory structure, setting up
configuration files and deploying static deployables.
|
List<DataSource> |
getDataSources() |
List<Deployable> |
getDeployables() |
FileHandler |
getFileHandler() |
List<FileConfig> |
getFileProperties()
Returns the file configurations.
|
String |
getHome() |
List<Resource> |
getResources() |
void |
revertPortOffset()
Revert the port offset on the configuration port properties.
|
void |
setConfigFileProperty(FileConfig fileConfig)
set the config file property for a configuration.
|
void |
setFileHandler(FileHandler handler) |
void |
setFileProperty(FileConfig fileConfig)
set the file property for a configuration.
|
getCapability, getProperties, getPropertyValue, getType, setPropertyString getHome()
void setFileHandler(FileHandler handler)
handler - means by which we affect local files.FileHandler getFileHandler()
void setConfigFileProperty(FileConfig fileConfig)
fileConfig - The FileConfig to usevoid setFileProperty(FileConfig fileConfig)
fileConfig - The FileConfig to useList<FileConfig> getFileProperties()
void addDeployable(Deployable deployable)
Deployable in the container. It installs the Deployable in the
container's configuration directory.deployable - the Deployable to deployList<Deployable> getDeployables()
Deployables that are going to be deployed in the container when
it is startedvoid addResource(Resource resource)
resource - the Resource to add.List<Resource> getResources()
Resources that are going to be added to the container when it is
started.void addDataSource(DataSource dataSource)
dataSource - the DataSource to add.List<DataSource> getDataSources()
void applyPortOffset()
void revertPortOffset()
void configure(LocalContainer container)
container - the container to configureCopyright © 2004-2013 Codehaus. All Rights Reserved.