public class CatalinaBaseConfigurationSource extends java.lang.Object implements ConfigurationSource
ConfigurationSource.Resource| Modifier and Type | Field and Description |
|---|---|
protected static StringManager |
sm |
| Constructor and Description |
|---|
CatalinaBaseConfigurationSource(java.io.File catalinaBaseFile,
java.lang.String serverXmlPath) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationSource.Resource |
getResource(java.lang.String name)
Get a resource, not based on the conf path.
|
ConfigurationSource.Resource |
getServerXml()
Returns the contents of the main conf/server.xml file.
|
java.net.URI |
getURI(java.lang.String name)
Get a URI to the given resource.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfResource, getSharedWebXmlprotected static final StringManager sm
public CatalinaBaseConfigurationSource(java.io.File catalinaBaseFile,
java.lang.String serverXmlPath)
public ConfigurationSource.Resource getServerXml() throws java.io.IOException
ConfigurationSourcegetServerXml in interface ConfigurationSourcejava.io.IOException - if an error occurs or if the resource does not existpublic ConfigurationSource.Resource getResource(java.lang.String name) throws java.io.IOException
ConfigurationSourcegetResource in interface ConfigurationSourcename - The resource namejava.io.IOException - if an error occurs or if the resource does not existpublic java.net.URI getURI(java.lang.String name)
ConfigurationSourcegetURI in interface ConfigurationSourcename - The resource nameCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.