org.openejb.webadmin.clienttools
Class ViewJndiBean

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

public class ViewJndiBean
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
ViewJndiBean()
           
 
Method Summary
 void buildNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node parent, javax.naming.Context ctx)
           
 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 printBeanNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node node, java.io.PrintWriter out, java.lang.String tabs, java.lang.String selected)
           
 void printContextNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node node, java.io.PrintWriter out, java.lang.String tabs, java.lang.String selected)
           
 void printNodes(org.openejb.webadmin.clienttools.ViewJndiBean.Node node, java.io.PrintWriter out, java.lang.String tabs, java.lang.String selected)
           
 void printOtherNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node node, java.io.PrintWriter out, java.lang.String tabs, java.lang.String selected)
           
 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

ViewJndiBean

public ViewJndiBean()
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

buildNode

public void buildNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node parent,
                      javax.naming.Context ctx)
               throws java.lang.Exception
Throws:
java.lang.Exception

printNodes

public void printNodes(org.openejb.webadmin.clienttools.ViewJndiBean.Node node,
                       java.io.PrintWriter out,
                       java.lang.String tabs,
                       java.lang.String selected)
                throws java.lang.Exception
Throws:
java.lang.Exception

printContextNode

public void printContextNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node node,
                             java.io.PrintWriter out,
                             java.lang.String tabs,
                             java.lang.String selected)
                      throws java.lang.Exception
Throws:
java.lang.Exception

printBeanNode

public void printBeanNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node node,
                          java.io.PrintWriter out,
                          java.lang.String tabs,
                          java.lang.String selected)
                   throws java.lang.Exception
Throws:
java.lang.Exception

printOtherNode

public void printOtherNode(org.openejb.webadmin.clienttools.ViewJndiBean.Node node,
                           java.io.PrintWriter out,
                           java.lang.String tabs,
                           java.lang.String selected)
                    throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1999-2011 OpenEJB. All Rights Reserved.