org.openejb.webadmin.main
Class ConfigBean

java.lang.Object
  extended byorg.openejb.webadmin.WebAdminBean
      extended byorg.openejb.webadmin.main.ConfigBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, HttpBean, Serializable, javax.ejb.SessionBean

public class ConfigBean
extends WebAdminBean

This bean allows the user to graphicly edit the OpenEJB configuration file usually located at $OPENEJB_HOME/config/openejb.conf.

See Also:
ConnectionManager, Connector, Container, Deployments, JndiProvider, Openejb, ProxyFactory, Resource, SecurityService, TransactionService, Serialized Form

Field Summary
static String CB_CLASS_NAME
           
static String GLOBAL_TX_DATABASE
           
static String IM_CLASS_NAME
           
static String IM_CONCURRENT_ATTEMPTS
           
static String IM_PASSIVATE_SIZE
           
static String IM_PASSIVATOR
           
static String IM_PASSIVATOR_PATH_PREFIX
           
static String IM_POOL_SIZE
           
static String IM_STRICT_POOLING
           
static String IM_TIME_OUT
           
static String INTRA_VM_COPY
           
static String JDBC_DRIVER
           
static String JDBC_URL
           
static String LOCAL_TX_DATABASE
           
static String PASSWORD
           
static String THREAD_CONTEXT_IMPL
           
static String USER_NAME
           
 
Fields inherited from class org.openejb.webadmin.WebAdminBean
ejbContext, footer, HTML_TITLE, request, response, section, sections, SUBSTITUTE
 
Constructor Summary
ConfigBean()
           
 
Method Summary
 void ejbCreate()
          Called when the container creates a new instance of this bean
 void postProcess(HttpRequest request, HttpResponse response)
          called after content is written to the browser
 void preProcess(HttpRequest request, HttpResponse response)
          Called before content is written to the browser
 void writeBody(PrintWriter body)
          Write the main content to the browser
 void writeHtmlTitle(PrintWriter body)
          Write the TITLE of the HTML document.
 void writePageTitle(PrintWriter body)
          Write the title of the page.
 void writeSubMenuItems(PrintWriter body)
          Writes sub menu items for this menu item
 
Methods inherited from class org.openejb.webadmin.WebAdminBean
ejbActivate, 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
 

Field Detail

CB_CLASS_NAME

public static final String CB_CLASS_NAME
See Also:
Constant Field Values

IM_CLASS_NAME

public static final String IM_CLASS_NAME
See Also:
Constant Field Values

IM_TIME_OUT

public static final String IM_TIME_OUT
See Also:
Constant Field Values

IM_PASSIVATOR_PATH_PREFIX

public static final String IM_PASSIVATOR_PATH_PREFIX
See Also:
Constant Field Values

IM_POOL_SIZE

public static final String IM_POOL_SIZE
See Also:
Constant Field Values

IM_PASSIVATE_SIZE

public static final String IM_PASSIVATE_SIZE
See Also:
Constant Field Values

IM_PASSIVATOR

public static final String IM_PASSIVATOR
See Also:
Constant Field Values

IM_CONCURRENT_ATTEMPTS

public static final String IM_CONCURRENT_ATTEMPTS
See Also:
Constant Field Values

IM_STRICT_POOLING

public static final String IM_STRICT_POOLING
See Also:
Constant Field Values

THREAD_CONTEXT_IMPL

public static final String THREAD_CONTEXT_IMPL
See Also:
Constant Field Values

INTRA_VM_COPY

public static final String INTRA_VM_COPY
See Also:
Constant Field Values

JDBC_DRIVER

public static final String JDBC_DRIVER
See Also:
Constant Field Values

JDBC_URL

public static final String JDBC_URL
See Also:
Constant Field Values

USER_NAME

public static final String USER_NAME
See Also:
Constant Field Values

PASSWORD

public static final String PASSWORD
See Also:
Constant Field Values

GLOBAL_TX_DATABASE

public static final String GLOBAL_TX_DATABASE
See Also:
Constant Field Values

LOCAL_TX_DATABASE

public static final String LOCAL_TX_DATABASE
See Also:
Constant Field Values
Constructor Detail

ConfigBean

public ConfigBean()
Method Detail

ejbCreate

public void ejbCreate()
Called when the container creates a new instance of this bean

Overrides:
ejbCreate in class WebAdminBean

preProcess

public void preProcess(HttpRequest request,
                       HttpResponse response)
                throws IOException
Called before content is written to the browser

Specified by:
preProcess in class WebAdminBean
Parameters:
request - the HTTP request object
response - the HTTP response object
Throws:
IOException - if an exception is thrown

postProcess

public void postProcess(HttpRequest request,
                        HttpResponse response)
                 throws IOException
called after content is written to the browser

Specified by:
postProcess in class WebAdminBean
Parameters:
request - the HTTP request object
response - the HTTP response object
Throws:
IOException - if an exception is thrown

writeHtmlTitle

public void writeHtmlTitle(PrintWriter body)
                    throws IOException
Write the TITLE of the HTML document. This is the part that goes into the tags

Specified by:
writeHtmlTitle in class WebAdminBean
Parameters:
body - the body to write the title to
Throws:
IOException - if an exception is thrown

writePageTitle

public void writePageTitle(PrintWriter body)
                    throws IOException
Write the title of the page. This is displayed right above the main block of content.

Specified by:
writePageTitle in class WebAdminBean
Parameters:
body - the body to write the page title to
Throws:
IOException - if an exception is thrown

writeSubMenuItems

public void writeSubMenuItems(PrintWriter body)
                       throws IOException
Writes sub menu items for this menu item

Parameters:
body - the output to write to
Throws:
IOException - if an exception is thrown

writeBody

public void writeBody(PrintWriter body)
               throws IOException
Write the main content to the browser

Specified by:
writeBody in class WebAdminBean
Parameters:
body - the output to write the content to
Throws:
IOException - if an exception is thrown


Copyright © 1999-2005 OpenEJB. All Rights Reserved.