org.apache.geronimo.system.main
Class WebAppUtil

java.lang.Object
  extended by org.apache.geronimo.system.main.WebAppUtil

public class WebAppUtil
extends Object

Utility functions for dealing with web applications


Constructor Summary
WebAppUtil()
           
 
Method Summary
static Map mapContainersToURLs(org.apache.geronimo.kernel.Kernel kernel)
          Generates a Map where the keys are web container object names (as Strings) and the values are URLs (as Strings) to connect to a web app running in the matching container (though the web app context needs to be added to the end to be complete).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAppUtil

public WebAppUtil()
Method Detail

mapContainersToURLs

public static Map mapContainersToURLs(org.apache.geronimo.kernel.Kernel kernel)
                               throws Exception
Generates a Map where the keys are web container object names (as Strings) and the values are URLs (as Strings) to connect to a web app running in the matching container (though the web app context needs to be added to the end to be complete). NOTE: same as a method in geronimo-jsr88 CommandSupport, but neither module should obviously be dependent on the other and it's not clear that this belongs in geronimo-common

Throws:
Exception


Copyright © 2006 Apache Software Foundation. All Rights Reserved.