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, writeConfigurationToXpath
configureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir, verify
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, toString, wait, wait, wait
addDeployable, addResource, getDeployables, getFileHandler, getHome, getResources, setFileHandler
getProperties, getPropertyValue, setProperty
public 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 AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
public ConfigurationCapability getCapability()
protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container)
createConfigurationBuilder
in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
OrionConfigurationBuilder
public String getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
data-sources.xml
file.protected Map getNamespaces()
getNamespaces
in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
protected String getXpathForDataSourcesParent()
getXpathForDataSourcesParent
in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
protected void doConfigure(LocalContainer container) throws Exception
doConfigure
in class AbstractLocalConfiguration
Exception
protected 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.