public abstract class AbstractWildFlyStandaloneLocalConfiguration extends AbstractStandaloneLocalConfiguration implements WildFlyConfiguration
RESOURCE_PATH
Constructor and Description |
---|
AbstractWildFlyStandaloneLocalConfiguration(String dir) |
Modifier and Type | Method and Description |
---|---|
protected void |
addModuleScript(String jarFile,
InstalledLocalContainer container,
List<ScriptCommand> configurationScript)
Create module from JAR file and add it to the script list.
|
void |
configure(LocalContainer container)
Setup the container which means setting up a valid directory structure, setting up
configuration files and deploying static deployables.
|
protected void |
doConfigure(LocalContainer c)
Implementation of
LocalConfiguration.configure(LocalContainer) that all local
configuration using this class must implement. |
addXmlReplacement, addXmlReplacement, addXmlReplacement, addXmlReplacement, configureFiles, getType, getXmlReplacements, performXmlReplacements, removeXmlReplacement, removeXmlReplacement, replaceInFile, setupConfigurationDir, verify
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, addUser, addUsersFromProperties, applyPortOffset, applyPortOffset, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, createFilterChain, flagOffestApplied, getAntUtils, getDataSources, getDeployables, getDestDirectoryLocation, getDestFileLocation, getFileHandler, getFileProperties, getFilterChain, getHome, getPropertyValue, getResources, getResourceUtils, getUsers, isOffsetApplied, isOffsetApplied, parsePropertiesForPendingConfiguration, revertPortOffset, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty, setLogger
getProperties, setProperty
getLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationFactory
addDataSource, addDeployable, addResource, addUser, applyPortOffset, getDataSources, getDeployables, getFileHandler, getFileProperties, getHome, getResources, getUsers, isOffsetApplied, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty
getCapability, getProperties, getPropertyValue, setProperty
public AbstractWildFlyStandaloneLocalConfiguration(String dir)
public void configure(LocalContainer container)
cargo.port.offset
sets the port offset twice) for details.configure
in interface LocalConfiguration
configure
in class AbstractLocalConfiguration
container
- the container to configureprotected void doConfigure(LocalContainer c) throws Exception
LocalConfiguration.configure(LocalContainer)
that all local
configuration using this class must implement. This provides the ability to perform generic
actions before and after the container-specific implementation. Another way would be to use
AOP...doConfigure
in class AbstractLocalConfiguration
c
- the container to configureException
- if any error is raised during the configurationprotected void addModuleScript(String jarFile, InstalledLocalContainer container, List<ScriptCommand> configurationScript)
jarFile
- JAR resource representing module.container
- Container with modules.configurationScript
- List of configuration scripts to be executed.Copyright © 2004–2018 Github. All rights reserved.