|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.webadmin.WebAdminBean
org.openejb.webadmin.main.HomeBean
public class HomeBean
This class represents the "Home" page for the webadmin. It contains general information, and more content to be added later.
| Field Summary |
|---|
| Fields inherited from class org.openejb.webadmin.WebAdminBean |
|---|
ejbContext, footer, HTML_TITLE, request, response, section, sections, SUBSTITUTE |
| Constructor Summary | |
|---|---|
HomeBean()
|
|
| Method Summary | |
|---|---|
void |
ejbCreate()
Creates a new instance of HomeBean |
void |
postProcess(HttpRequest request,
HttpResponse response)
after the processing is completed |
void |
preProcess(HttpRequest request,
HttpResponse response)
before the process is done |
void |
writeBody(java.io.PrintWriter body)
Write the main content |
void |
writeHtmlTitle(java.io.PrintWriter body)
Write the TITLE of the HTML document. |
void |
writePageTitle(java.io.PrintWriter body)
Write the title of the page. |
void |
writeSubMenuItems(java.io.PrintWriter body)
Write the sub items for this bean in the left navigation bar of the page. |
| Methods inherited from class org.openejb.webadmin.WebAdminBean |
|---|
ejbActivate, ejbPassivate, ejbRemove, formatSubMenuItem, getFooter, getTemplate, initNavSections, onMessage, printRow, printRow, setSessionContext, writeFooter, writeLeftNavBar, writeTemplate, writeTopNavBar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HomeBean()
| Method Detail |
|---|
public void ejbCreate()
ejbCreate in class WebAdminBean
public void postProcess(HttpRequest request,
HttpResponse response)
throws java.io.IOException
postProcess in class WebAdminBeanrequest - the http requestresponse - the http response
java.io.IOException - if an exception is thrown
public void preProcess(HttpRequest request,
HttpResponse response)
throws java.io.IOException
preProcess in class WebAdminBeanrequest - the http requestresponse - the http response
java.io.IOException - if an exception is thrown
public void writeBody(java.io.PrintWriter body)
throws java.io.IOException
writeBody in class WebAdminBeanbody - the output to write to
java.io.IOException - if an exception is thrown
public void writeHtmlTitle(java.io.PrintWriter body)
throws java.io.IOException
<head><title>
</title></head> tags
writeHtmlTitle in class WebAdminBeanbody - the output to write to
java.io.IOException - of an exception is thrown
public void writePageTitle(java.io.PrintWriter body)
throws java.io.IOException
writePageTitle in class WebAdminBeanbody - the output to write to
java.io.IOException - if an exception is thrown
public void writeSubMenuItems(java.io.PrintWriter body)
throws java.io.IOException
<tr>
<td valign="top" align="left">
<a href="system?show=deployments"><span class="subMenuOff">
Deployments
</span>
</a></td>
</tr>
Alternately, the bean can use the method formatSubMenuItem(..) which
will create HTML like the one above
body - the output to write to
java.io.IOException - if an exception is thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||