| java.lang.Object org.apache.openejb.webadmin.WebAdminBean org.apache.openejb.webadmin.main.HomeBean
HomeBean | public class HomeBean extends WebAdminBean (Code) | | This class represents the "Home" page for the webadmin. It contains general
information, and more content to be added later.
author: Tim Urberg |
ejbCreate | public void ejbCreate()(Code) | | Creates a new instance of HomeBean
|
postProcess | public void postProcess(HttpRequest request, HttpResponse response) throws IOException(Code) | | after the processing is completed
Parameters: request - the http request Parameters: response - the http response throws: IOException - if an exception is thrown |
writeHtmlTitle | public void writeHtmlTitle(PrintWriter body) throws IOException(Code) | | Write the TITLE of the HTML document. This is the part
that goes into the <head><title>
</title></head> tags
Parameters: body - the output to write to exception: IOException - of an exception is thrown |
writePageTitle | public void writePageTitle(PrintWriter body) throws IOException(Code) | | Write the title of the page. This is displayed right
above the main block of content.
Parameters: body - the output to write to exception: IOException - if an exception is thrown |
writeSubMenuItems | public void writeSubMenuItems(PrintWriter body) throws IOException(Code) | | Write the sub items for this bean in the left navigation bar of
the page. This should look somthing like the one below:
<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
Parameters: body - the output to write to exception: IOException - if an exception is thrown |
Methods inherited from org.apache.openejb.webadmin.WebAdminBean | public void ejbActivate()(Code)(Java Doc) public void ejbCreate() throws CreateException(Code)(Java Doc) public void ejbPassivate()(Code)(Java Doc) public void ejbRemove()(Code)(Java Doc) public String formatSubMenuItem(String itemName, String url)(Code)(Java Doc) public static String getFooter()(Code)(Java Doc) public InputStream getTemplate() throws IOException(Code)(Java Doc) public HashMap initNavSections()(Code)(Java Doc) public void onMessage(HttpRequest request, HttpResponse response) throws IOException(Code)(Java Doc) abstract public void postProcess(HttpRequest request, HttpResponse response) throws IOException(Code)(Java Doc) abstract public void preProcess(HttpRequest request, HttpResponse response) throws IOException(Code)(Java Doc) protected void printRow(String col1, String col2, PrintWriter out) throws IOException(Code)(Java Doc) protected void printRow(String col1, String col2, String col3, PrintWriter out) throws IOException(Code)(Java Doc) public void setSessionContext(SessionContext sessionContext)(Code)(Java Doc) abstract public void writeBody(PrintWriter body) throws IOException(Code)(Java Doc) public void writeFooter(PrintWriter body) throws IOException(Code)(Java Doc) abstract public void writeHtmlTitle(PrintWriter body) throws IOException(Code)(Java Doc) public void writeLeftNavBar(PrintWriter body) throws IOException(Code)(Java Doc) abstract public void writePageTitle(PrintWriter body) throws IOException(Code)(Java Doc) public void writeTemplate(PrintWriter out, InputStream template) throws IOException(Code)(Java Doc) public void writeTopNavBar(PrintWriter body) throws IOException(Code)(Java Doc)
|
|
|