|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.webadmin.WebAdminBean
org.apache.openejb.webadmin.clienttools.ViewEjbBean
public class ViewEjbBean
Field Summary |
---|
Fields inherited from class org.apache.openejb.webadmin.WebAdminBean |
---|
ejbContext, footer, HTML_TITLE, request, response, section, sections, SUBSTITUTE |
Fields inherited from interface org.apache.openejb.webadmin.clienttools.Constants |
---|
closedImg, ejbImg, INVOKE_OBJ, javaImg, openImg, pepperImg, tab, VIEW_CLASS, VIEW_EJB, VIEW_JNDI |
Constructor Summary | |
---|---|
ViewEjbBean()
|
Method Summary | |
---|---|
String |
getClassRef(Class clazz)
|
String |
getShortClassRef(Class clazz)
|
void |
postProcess(HttpRequest request,
HttpResponse response)
called after all content is written to the browser |
void |
preProcess(HttpRequest request,
HttpResponse response)
called before any content is written to the browser |
void |
printEjb(String name,
PrintWriter out,
HttpSession session)
|
protected void |
printRow(String col1,
String col2,
PrintWriter out)
prints a table row similar to this <tr> <td>some info</td> <td>some more info</td> </tr> |
void |
writeBody(PrintWriter out)
writes the main body content to the broswer. |
void |
writeHtmlTitle(PrintWriter out)
Write the TITLE of the HTML document. |
void |
writePageTitle(PrintWriter out)
Write the title of the page. |
Methods inherited from class org.apache.openejb.webadmin.WebAdminBean |
---|
ejbActivate, ejbCreate, ejbPassivate, ejbRemove, formatSubMenuItem, getFooter, getTemplate, initNavSections, onMessage, 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 ViewEjbBean()
Method Detail |
---|
public void preProcess(HttpRequest request, HttpResponse response) throws IOException
WebAdminBean
preProcess
in class WebAdminBean
request
- the http requestresponse
- the http response
IOException
- if an exception is thrownpublic void postProcess(HttpRequest request, HttpResponse response) throws IOException
WebAdminBean
postProcess
in class WebAdminBean
request
- the http requestresponse
- the http response
IOException
- if an exception is thrownpublic void writeHtmlTitle(PrintWriter out) throws IOException
WebAdminBean
<head><title>
</title></head>
tags
writeHtmlTitle
in class WebAdminBean
out
- the output to write to
IOException
- of an exception is thrownpublic void writePageTitle(PrintWriter out) throws IOException
WebAdminBean
writePageTitle
in class WebAdminBean
out
- the output to write to
IOException
- if an exception is thrownpublic void writeBody(PrintWriter out) throws IOException
WebAdminBean
<p>
block
writeBody
in class WebAdminBean
out
- the output to write to
IOException
- if an exception is thrownpublic void printEjb(String name, PrintWriter out, HttpSession session) throws Exception
Exception
protected void printRow(String col1, String col2, PrintWriter out) throws IOException
WebAdminBean
printRow
in class WebAdminBean
col1
- the first columncol2
- the second columnout
- the output to write to
IOException
- if an exception is thrownpublic String getClassRef(Class clazz) throws Exception
Exception
public String getShortClassRef(Class clazz) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |