01: /*
02: * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a>
03: * @version $Id: PortletWebApplication.java 6385 2007-10-25 14:02:26Z wehrens $
04: */
05: package org.gridsphere.portletcontainer;
06:
07: import java.util.Collection;
08:
09: /**
10: * A <code>PortletWebApplication</code> represents a collection of portlets contained in a packaged WAR file. Currently
11: * under development is the notion of dynamically managing portlet web applications.
12: */
13: public interface PortletWebApplication {
14:
15: /**
16: * Under development. A portlet web application can unregister itself from the application server
17: */
18: public void destroy();
19:
20: /**
21: * Returns the portlet web application name
22: *
23: * @return the portlet web application name
24: */
25: public String getWebApplicationName();
26:
27: /**
28: * Returns the portlet web application description
29: *
30: * @return the portlet web application description
31: */
32: public String getWebApplicationDescription();
33:
34: /**
35: * Returns the collection of application portlets contained by this portlet web application
36: *
37: * @return the collection of application portlets
38: */
39: public Collection<ApplicationPortlet> getAllApplicationPortlets();
40:
41: public PortletStatus getWebApplicationStatus();
42:
43: public String getWebApplicationStatusMessage();
44:
45: }
|