org.jboss.seam.servlet
Class WebApplication

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

public class WebApplication
extends java.lang.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(javax.servlet.ServletContext ctx)
           
WebApplication(java.lang.String name, java.lang.String contextPath, java.lang.String serverInfo)
           
 
Method Summary
 java.lang.String getContextPath()
           
 java.lang.String getName()
           
 long getRunningTime()
           
 java.lang.String getServerInfo()
           
 long getStartTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplication

public WebApplication(javax.servlet.ServletContext ctx)

WebApplication

public WebApplication(java.lang.String name,
                      java.lang.String contextPath,
                      java.lang.String serverInfo)
Method Detail

getName

public java.lang.String getName()

getContextPath

public java.lang.String getContextPath()

getServerInfo

public java.lang.String getServerInfo()

getStartTime

public long getStartTime()

getRunningTime

public long getRunningTime()


Copyright © 2010 Seam Framework. All Rights Reserved.