public class CatalinaBaseConfigurationSource extends Object implements ConfigurationSource
ConfigurationSource.Resource| Modifier and Type | Field and Description |
|---|---|
protected static StringManager |
sm |
DEFAULT| Constructor and Description |
|---|
CatalinaBaseConfigurationSource(File catalinaBaseFile,
String serverXmlPath) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationSource.Resource |
getResource(String name)
Get a resource, not based on the conf path.
|
ConfigurationSource.Resource |
getServerXml()
Returns the contents of the main conf/server.xml file.
|
URI |
getURI(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 ConfigurationSource.Resource getServerXml() throws IOException
ConfigurationSourcegetServerXml in interface ConfigurationSourceIOException - if an error occurs or if the resource does not existpublic ConfigurationSource.Resource getResource(String name) throws IOException
ConfigurationSourcegetResource in interface ConfigurationSourcename - The resource nameIOException - if an error occurs or if the resource does not existpublic URI getURI(String name)
ConfigurationSourcegetURI in interface ConfigurationSourcename - The resource nameCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.