public class Resin2xStandaloneLocalConfiguration extends AbstractResinStandaloneLocalConfiguration
ContainerConfiguration implementation.| Modifier and Type | Field and Description |
|---|---|
static String |
XML_PARENT_OF_RESOURCES
Where elements for resources will be inserted.
|
RESOURCE_PATH| Constructor and Description |
|---|
Resin2xStandaloneLocalConfiguration(String dir) |
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationBuilder |
createConfigurationBuilder(LocalContainer container) |
ConfigurationCapability |
getCapability() |
protected Map<String,String> |
getNamespaces()
Implementations should avoid passing null, and instead pass
Collections.EMPTY_MAP, if the document is DTD bound. |
protected String |
getXpathForResourcesParent()
Resource entries must be stored in the xml configuration file.
|
protected void |
prepareConfigurationDirectory(Container container,
String confDir)
Allow specific version implementations to add custom preparation steps before the container
is started.
|
createExpandedWarTokenValue, doConfigure, getOrCreateDataSourceConfigurationFile, getOrCreateResourceConfigurationFile, getResinConfigurationFileName, getSecurityToken, getXpathForDataSourcesParent, toStringconfigure, configure, configure, configureDataSources, configureResources, writeConfigurationToXpathaddXmlReplacement, addXmlReplacement, configureFiles, getType, performXmlReplacements, removeXmlReplacement, removeXmlReplacement, replaceInFile, setupConfigurationDir, verifyaddDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, applyPortOffset, applyPortOffset, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, createFilterChain, getAntUtils, getDataSources, getDeployables, getDestDirectoryLocation, getDestFileLocation, getFileHandler, getFileProperties, getFilterChain, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, revertPortOffset, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty, setLoggergetProperties, getPropertyValue, setPropertygetLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFileProperties, getFilterChainaddDataSource, addDeployable, addResource, applyPortOffset, getDataSources, getDeployables, getFileHandler, getHome, getResources, revertPortOffset, setConfigFileProperty, setFileHandler, setFilePropertygetProperties, getPropertyValue, setPropertypublic static final String XML_PARENT_OF_RESOURCES
public Resin2xStandaloneLocalConfiguration(String dir)
public ConfigurationCapability getCapability()
ConfigurationCapability of the configuration in term of properties it
supports, etcAbstractStandaloneLocalConfiguration.AbstractStandaloneLocalConfiguration(String)protected String getXpathForResourcesParent()
getXpathForResourcesParent in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderprotected Map<String,String> getNamespaces()
Collections.EMPTY_MAP, if the document is DTD bound. Resin2x application servers currently use DTD, and therefore return and empty
map;getNamespaces in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderprotected ConfigurationBuilder createConfigurationBuilder(LocalContainer container)
createConfigurationBuilder in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuildercontainer - Container the dataSource will be configured on.Resin2xConfigurationBuilderprotected void prepareConfigurationDirectory(Container container, String confDir) throws IOException
prepareConfigurationDirectory in class AbstractResinStandaloneLocalConfigurationcontainer - the container to configureconfDir - Resin conf directoryIOException - in case of an errorAbstractResinStandaloneLocalConfiguration.prepareConfigurationDirectory(org.codehaus.cargo.container.Container, java.lang.String)Copyright © 2004-2013 Codehaus. All Rights Reserved.