org.ops4j.pax.web.extender.whiteboard.internal
Class WebApplication

java.lang.Object
  extended by org.ops4j.pax.web.extender.whiteboard.internal.WebApplication
All Implemented Interfaces:
HttpServiceListener

public class WebApplication
extends java.lang.Object
implements HttpServiceListener

TODO Add JavaDoc

Since:
0.4.0, April 05, 2008
Author:
Alin Dreghiciu

Constructor Summary
WebApplication()
          Constructor.
 
Method Summary
 void addWebElement(WebElement webElement)
           
 void available(org.osgi.service.http.HttpService httpService)
          Called when an http service becomes available.
 void removeWebElement(WebElement webElement)
           
 void setHttpContextMapping(HttpContextMapping httpContextMapping)
           
 java.lang.String toString()
           
 void unavailable(org.osgi.service.http.HttpService httpService)
          Called when an http service becomes unavailable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebApplication

public WebApplication()
Constructor.

Method Detail

addWebElement

public void addWebElement(WebElement webElement)

removeWebElement

public void removeWebElement(WebElement webElement)

available

public void available(org.osgi.service.http.HttpService httpService)
               throws java.lang.Exception
Description copied from interface: HttpServiceListener
Called when an http service becomes available.

Specified by:
available in interface HttpServiceListener
Parameters:
httpService - an http service
Throws:
java.lang.Exception

setHttpContextMapping

public void setHttpContextMapping(HttpContextMapping httpContextMapping)

unavailable

public void unavailable(org.osgi.service.http.HttpService httpService)
Description copied from interface: HttpServiceListener
Called when an http service becomes unavailable.

Specified by:
unavailable in interface HttpServiceListener
Parameters:
httpService - an http service

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.