public class JBossStandaloneLocalConfiguration extends AbstractStandaloneLocalConfiguration
Configuration
for JBoss 3.x series and JBoss 4.x series.Modifier and Type | Field and Description |
---|---|
protected JBossInstalledLocalContainer |
jbossContainer
JBoss container instance.
|
RESOURCE_PATH
Constructor and Description |
---|
JBossStandaloneLocalConfiguration(String dir) |
Modifier and Type | Method and Description |
---|---|
protected void |
copyExternalResources(File sourceDir,
File destDir,
String[] cargoFiles)
Copy external resources to cargo configuration directory.
|
protected org.apache.tools.ant.types.FilterChain |
createJBossFilterChain(JBossInstalledLocalContainer container)
Create filter to replace token in configuration file with user defined token.
|
protected void |
doConfigure(LocalContainer container) |
ConfigurationCapability |
getCapability() |
JBossInstalledLocalContainer |
getJbossContainer() |
String |
toString() |
void |
verify() |
configure, configureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandler
getProperties, getPropertyValue, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDeployable, addResource, getDeployables, getFileHandler, getHome, getResources, setFileHandler
getProperties, getPropertyValue, setProperty
protected JBossInstalledLocalContainer jbossContainer
public JBossStandaloneLocalConfiguration(String dir)
public ConfigurationCapability getCapability()
Configuration.getCapability()
public JBossInstalledLocalContainer getJbossContainer()
protected void doConfigure(LocalContainer container) throws Exception
doConfigure
in class AbstractLocalConfiguration
Exception
AbstractLocalConfiguration.configure(LocalContainer)
public void verify()
verify
in interface ContainerConfiguration
verify
in class AbstractStandaloneLocalConfiguration
AbstractStandaloneLocalConfiguration.verify()
protected void copyExternalResources(File sourceDir, File destDir, String[] cargoFiles) throws IOException
sourceDir
- resource file / directory to be copieddestDir
- cargo configuration directorycargoFiles
- list of cargo resources file that will excludedIOException
- If an error occurs during the copy.protected org.apache.tools.ant.types.FilterChain createJBossFilterChain(JBossInstalledLocalContainer container) throws MalformedURLException
container
- the JBoss contaiber instance from which we'll find the JBoss installed files
to referenceMalformedURLException
- If an URL is malformed.public String toString()
toString
in class Object
Object.toString()
Copyright © 2004-2013 Codehaus. All Rights Reserved.