public abstract class AbstractCatalinaStandaloneLocalConfiguration extends AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder implements ResourceSupport
ContainerConfiguration
implementation.RESOURCE_PATH| Constructor and Description |
|---|
AbstractCatalinaStandaloneLocalConfiguration(String dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureDataSources(LocalContainer container)
note that if there is any datasource configured, this will imply an addition of
the transaction manager.
|
protected String |
createContextToken(WAR deployable) |
protected org.apache.tools.ant.types.FilterChain |
createTomcatFilterChain() |
protected void |
doConfigure(LocalContainer container) |
ConfigurationCapability |
getCapability() |
protected Set |
getConfFiles()
files that should be copied to the conf directory for the server to operate.
|
protected Map |
getNamespaces()
Implementations should avoid passing null, and instead pass
Collections.EMPTY_MAP, if the document is DTD bound. |
String |
getOrCreateDataSourceConfigurationFile(DataSource ds,
LocalContainer container) |
protected String |
getSecurityToken() |
protected String |
getXpathForDataSourcesParent()
Resource entries must be stored in the xml configuration file.
|
protected void |
setupConfFiles(LocalContainer container,
org.apache.tools.ant.types.FilterChain filterChain)
copy files to the conf directory, replacing tokens based on the filterchain parameter.
|
protected abstract void |
setupManager(LocalContainer container)
Setup the manager webapp.
|
protected abstract void |
setupTransactionManager()
Adds an implementation of UserTransaction to the configuration.
|
String |
toString() |
configure, configure, configure, configureResources, createConfigurationBuilder, getOrCreateResourceConfigurationFile, getXpathForResourcesParent, writeConfigurationToXpathconfigureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir, verifyaddDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandlergetProperties, getPropertyValue, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, configureResourcesaddDeployable, addResource, getDeployables, getFileHandler, getHome, getResources, setFileHandlergetProperties, getPropertyValue, setPropertypublic AbstractCatalinaStandaloneLocalConfiguration(String dir)
AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder#AbstractStandaloneLocalConfigurationWithDataSourceSupport(String)protected void doConfigure(LocalContainer container) throws Exception
doConfigure in class AbstractLocalConfigurationExceptionAbstractLocalConfiguration.configure(LocalContainer)public void configureDataSources(LocalContainer container)
configureDataSources in interface DataSourceSupportconfigureDataSources in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuildersetupTransactionManager()protected abstract void setupTransactionManager()
protected Set getConfFiles()
protected abstract void setupManager(LocalContainer container)
container - the container to configureprotected org.apache.tools.ant.types.FilterChain createTomcatFilterChain()
protected String createContextToken(WAR deployable)
deployable - the WAR to deployserver.xml
configuration filepublic String toString()
toString in class ObjectObject.toString()public ConfigurationCapability getCapability()
getCapability in interface ConfigurationConfiguration.getCapability()protected String getSecurityToken()
protected void setupConfFiles(LocalContainer container, org.apache.tools.ant.types.FilterChain filterChain) throws IOException
container - - type of container configuration we are using.filterChain - - holds tokenization detailsIOException - - if we cannot copy a file to the 'conf' directoryprotected String getXpathForDataSourcesParent()
getXpathForDataSourcesParent in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderpublic String getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
protected Map getNamespaces()
Collections.EMPTY_MAP, if the document is DTD bound.getNamespaces in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderCopyright © 2004-2013 Codehaus. All Rights Reserved.