org.apache.openejb.webadmin.clienttools
Class ViewClassBean
java.lang.Object
org.apache.openejb.webadmin.WebAdminBean
org.apache.openejb.webadmin.clienttools.ViewClassBean
- All Implemented Interfaces:
- Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, Constants, HttpBean
public class ViewClassBean
- extends WebAdminBean
- implements Constants
- Author:
- David Blevins
- See Also:
- Serialized Form
Methods inherited from class org.apache.openejb.webadmin.WebAdminBean |
ejbActivate, ejbCreate, 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 |
ViewClassBean
public ViewClassBean()
preProcess
public void preProcess(HttpRequest request,
HttpResponse response)
throws IOException
- Description copied from class:
WebAdminBean
- called before any content is written to the browser
- Specified by:
preProcess
in class WebAdminBean
- Parameters:
request
- the http requestresponse
- the http response
- Throws:
IOException
- if an exception is thrown
postProcess
public void postProcess(HttpRequest request,
HttpResponse response)
throws IOException
- Description copied from class:
WebAdminBean
- called after all content is written to the browser
- Specified by:
postProcess
in class WebAdminBean
- Parameters:
request
- the http requestresponse
- the http response
- Throws:
IOException
- if an exception is thrown
writeHtmlTitle
public void writeHtmlTitle(PrintWriter out)
throws IOException
- Description copied from class:
WebAdminBean
- Write the TITLE of the HTML document. This is the part
that goes into the
<head><title>
</title></head>
tags
- Specified by:
writeHtmlTitle
in class WebAdminBean
- Parameters:
out
- the output to write to
- Throws:
IOException
- of an exception is thrown
writePageTitle
public void writePageTitle(PrintWriter out)
throws IOException
- Description copied from class:
WebAdminBean
- Write the title of the page. This is displayed right
above the main block of content.
- Specified by:
writePageTitle
in class WebAdminBean
- Parameters:
out
- the output to write to
- Throws:
IOException
- if an exception is thrown
writeBody
public void writeBody(PrintWriter out)
throws IOException
- Description copied from class:
WebAdminBean
- writes the main body content to the broswer. This content is inside a
<p>
block
- Specified by:
writeBody
in class WebAdminBean
- Parameters:
out
- the output to write to
- Throws:
IOException
- if an exception is thrown
printClass
public void printClass(Class clazz,
PrintWriter out)
throws Exception
- Throws:
Exception
printMethod
public void printMethod(Method m,
PrintWriter out)
throws Exception
- Throws:
Exception
getModifier
public String getModifier(Method m)
throws Exception
- Throws:
Exception
getClassRef
public String getClassRef(Class clazz)
throws Exception
- Throws:
Exception
getClassRef
public String getClassRef(String name)
throws Exception
- Throws:
Exception
getShortClassRef
public String getShortClassRef(Class clazz)
throws Exception
- Throws:
Exception
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.