org.openejb.webadmin.clienttools
Class ViewClassBean

java.lang.Object
  extended by org.openejb.webadmin.WebAdminBean
      extended by org.openejb.webadmin.clienttools.ViewClassBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, Constants, HttpBean

public class ViewClassBean
extends WebAdminBean
implements Constants

Author:
David Blevins
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openejb.webadmin.WebAdminBean
ejbContext, footer, HTML_TITLE, request, response, section, sections, SUBSTITUTE
 
Fields inherited from interface org.openejb.webadmin.clienttools.Constants
closedImg, ejbImg, INVOKE_OBJ, javaImg, openImg, pepperImg, tab, VIEW_CLASS, VIEW_EJB, VIEW_JNDI
 
Constructor Summary
ViewClassBean()
           
 
Method Summary
 java.lang.String getClassRef(java.lang.Class clazz)
           
 java.lang.String getClassRef(java.lang.String name)
           
 java.lang.String getModifier(java.lang.reflect.Method m)
           
 java.lang.String getShortClassRef(java.lang.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 printClass(java.lang.Class clazz, java.io.PrintWriter out)
           
 void printMethod(java.lang.reflect.Method m, java.io.PrintWriter out)
           
 void writeBody(java.io.PrintWriter out)
          writes the main body content to the broswer.
 void writeHtmlTitle(java.io.PrintWriter out)
          Write the TITLE of the HTML document.
 void writePageTitle(java.io.PrintWriter out)
          Write the title of the page.
 
Methods inherited from class org.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
 

Constructor Detail

ViewClassBean

public ViewClassBean()
Method Detail

preProcess

public void preProcess(HttpRequest request,
                       HttpResponse response)
                throws java.io.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 request
response - the http response
Throws:
java.io.IOException - if an exception is thrown

postProcess

public void postProcess(HttpRequest request,
                        HttpResponse response)
                 throws java.io.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 request
response - the http response
Throws:
java.io.IOException - if an exception is thrown

writeHtmlTitle

public void writeHtmlTitle(java.io.PrintWriter out)
                    throws java.io.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:
java.io.IOException - of an exception is thrown

writePageTitle

public void writePageTitle(java.io.PrintWriter out)
                    throws java.io.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:
java.io.IOException - if an exception is thrown

writeBody

public void writeBody(java.io.PrintWriter out)
               throws java.io.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:
java.io.IOException - if an exception is thrown

printClass

public void printClass(java.lang.Class clazz,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Throws:
java.lang.Exception

printMethod

public void printMethod(java.lang.reflect.Method m,
                        java.io.PrintWriter out)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getModifier

public java.lang.String getModifier(java.lang.reflect.Method m)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getClassRef

public java.lang.String getClassRef(java.lang.Class clazz)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getClassRef

public java.lang.String getClassRef(java.lang.String name)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getShortClassRef

public java.lang.String getShortClassRef(java.lang.Class clazz)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1999-2011 OpenEJB. All Rights Reserved.