public abstract class AbstractOrionStandaloneLocalConfiguration extends AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
| Modifier and Type | Field and Description |
|---|---|
static String |
XML_PARENT_OF_RESOURCES
Where elements for resources will be inserted.
|
RESOURCE_PATH| Constructor and Description |
|---|
AbstractOrionStandaloneLocalConfiguration(String dir)
construct the instance and set the rmi port.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
copyCustomResources(String confDir,
org.apache.tools.ant.types.FilterChain filterChain)
Copy resources that are different between the different standalone implementations.
|
protected ConfigurationBuilder |
createConfigurationBuilder(LocalContainer container) |
protected void |
doConfigure(LocalContainer container) |
ConfigurationCapability |
getCapability() |
protected Map |
getNamespaces()
Orion application servers currently use DTD, and therefore return and empty
map;
|
String |
getOrCreateDataSourceConfigurationFile(DataSource ds,
LocalContainer container)
In this implementation, we will return the
data-sources.xml file. |
protected String |
getOrCreateResourceConfigurationFile(Resource resource,
LocalContainer container)
This implementation throws an UnsupportedOperationException as Resource
configuration is not supported in Orion.
|
protected String |
getRoleToken() |
protected String |
getUserToken() |
protected String |
getXpathForDataSourcesParent()
This expression evaluates to: "//data-sources"
|
protected String |
getXpathForResourcesParent()
This implementation throws an UnsupportedOperationException as Resource
configuration is not supported in Orion.
|
configure, configure, configure, configureDataSources, configureResources, 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, toString, wait, wait, waitaddDeployable, addResource, getDeployables, getFileHandler, getHome, getResources, setFileHandlergetProperties, getPropertyValue, setPropertypublic static final String XML_PARENT_OF_RESOURCES
public AbstractOrionStandaloneLocalConfiguration(String dir)
dir - - home of this configurationprotected String getOrCreateResourceConfigurationFile(Resource resource, LocalContainer container)
protected String getXpathForResourcesParent()
getXpathForResourcesParent in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderpublic ConfigurationCapability getCapability()
protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container)
createConfigurationBuilder in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderOrionConfigurationBuilderpublic String getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
data-sources.xml file.protected Map getNamespaces()
getNamespaces in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderprotected String getXpathForDataSourcesParent()
getXpathForDataSourcesParent in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderprotected void doConfigure(LocalContainer container) throws Exception
doConfigure in class AbstractLocalConfigurationExceptionprotected abstract void copyCustomResources(String confDir, org.apache.tools.ant.types.FilterChain filterChain) throws Exception
confDir - the configuration dir where to copy the resources tofilterChain - the Ant filter chain to apply when copying the resourcesException - in case of an error during the copyprotected String getUserToken()
protected String getRoleToken()
Copyright © 2004-2013 Codehaus. All Rights Reserved.