org.jboss.on.plugins.tomcat.helper
Class TomcatConfig

java.lang.Object
  extended by 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).
 
Method Summary
 String getAddress()
           
static TomcatConfig getConfig(File configXML)
           
 String getPort()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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-2011 Red Hat, Inc.. All Rights Reserved.