org.jboss.on.plugins.tomcat.helper
Class TomcatConfig
java.lang.Object
org.jboss.on.plugins.tomcat.helper.TomcatConfig
public class TomcatConfig
- extends Object
Config parsing intended only for Tomcat server auto discovery. Copied over from the 1.4 source tree.
|
Constructor Summary |
TomcatConfig(String port,
String address)
This constructor is intended to provide TomcatConfig instances not
based on an XML file (as opposed to the (cached) instances obtained from getConfig(File) method). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatConfig
public TomcatConfig(String port,
String address)
- This constructor is intended to provide TomcatConfig instances not
based on an XML file (as opposed to the (cached) instances obtained from
getConfig(File) method).
- Parameters:
port - address -
getConfig
public static TomcatConfig getConfig(File configXML)
getPort
public String getPort()
getAddress
public String getAddress()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.