org.jboss.solder.servlet
Class WebApplication

java.lang.Object
  extended by org.jboss.solder.servlet.WebApplication

public class WebApplication
extends Object

Information about the current web application. This object can be used to observe the startup and shutdown events without tying to the servlet API.

Author:
Dan Allen

Constructor Summary
WebApplication(ServletContext ctx)
           
WebApplication(String name, String contextPath, String serverInfo)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getContextPath()
           
 String getName()
           
 long getRunningTime()
           
 String getServerInfo()
           
 long getStartTime()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplication

public WebApplication(ServletContext ctx)

WebApplication

public WebApplication(String name,
                      String contextPath,
                      String serverInfo)
Method Detail

getName

public String getName()

getContextPath

public String getContextPath()

getServerInfo

public String getServerInfo()

getStartTime

public long getStartTime()

getRunningTime

public long getRunningTime()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011 Seam Framework. All Rights Reserved.