|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.webadmin.main.ConfigHTMLWriter
public class ConfigHTMLWriter
This class is a utility for the ConfigBean. It takes care of printing out all the HTML for the bean.
ConfigBean| Field Summary | |
|---|---|
static java.lang.String |
CREATE
create url type |
static java.lang.String |
DELETE
delete url type |
static java.lang.String |
DEPLOYMENT_TYPE_DIR
drop down value for a directory deployment type |
static java.lang.String |
DEPLOYMENT_TYPE_JAR
drop down value for a jar deployment type |
static java.lang.String |
EDIT
edit url type |
static java.lang.String |
FORM_FIELD_CONTAINER_TYPE
container type form field name |
static java.lang.String |
FORM_FIELD_CONTENT
content form field name |
static java.lang.String |
FORM_FIELD_DEPLOYMENT_TEXT
deployment text form field name |
static java.lang.String |
FORM_FIELD_DEPLOYMENT_TYPE
deployment type form field name |
static java.lang.String |
FORM_FIELD_HANDLE_FILE
handle file form field name |
static java.lang.String |
FORM_FIELD_ID
id form field name |
static java.lang.String |
FORM_FIELD_INDEX
index form field name |
static java.lang.String |
FORM_FIELD_JAR
jar form field name |
static java.lang.String |
FORM_FIELD_JNDI_PARAMETERS
JNDI Parameters form field name |
static java.lang.String |
FORM_FIELD_PROVIDER
provider form field name |
static java.lang.String |
FORM_FIELD_SUBMIT_OPENEJB
submit button name for the main openejb page |
static java.lang.String |
FORM_FIELD_SUBMIT_SERVICE
submit button name for a service page |
static java.lang.String |
FORM_VALUE_SUBMIT_CONNECTION_MANAGER
submit button value and label for a connection manager |
static java.lang.String |
FORM_VALUE_SUBMIT_CONNECTOR
submit button value and label for a connector |
static java.lang.String |
FORM_VALUE_SUBMIT_CONTAINER
submit button value and label for a container |
static java.lang.String |
FORM_VALUE_SUBMIT_DEPLOYMENTS
submit button value and label for deployments |
static java.lang.String |
FORM_VALUE_SUBMIT_JNDI_PROVIDER
submit button value and label for a JNDI provider |
static java.lang.String |
FORM_VALUE_SUBMIT_PROXY_FACTORY
submit button value and label for a proxy factory |
static java.lang.String |
FORM_VALUE_SUBMIT_RESOURCE
submit button value and label for a resource |
static java.lang.String |
FORM_VALUE_SUBMIT_SECURITY_SERVICE
submit button value and label for a security service |
static java.lang.String |
FORM_VALUE_SUBMIT_TRANSACTION_SERVICE
submit button value and label for a transaction service |
static java.lang.String |
QUERY_PARAMETER_METHOD
method query parameter |
static java.lang.String |
QUERY_PARAMETER_TYPE
type query parameter |
static java.lang.String |
TYPE_CONNECTION_MANAGER
Connection Manager object type |
static java.lang.String |
TYPE_CONNECTOR
Connector object type |
static java.lang.String |
TYPE_CONTAINER
Container object type |
static java.lang.String |
TYPE_DEPLOYMENTS
Deployments object type |
static java.lang.String |
TYPE_JNDI_PROVIDER
JndiProvider object type |
static java.lang.String |
TYPE_PROXY_FACTORY
Proxy Factory object type |
static java.lang.String |
TYPE_RESOURCE
Resource object type |
static java.lang.String |
TYPE_SECURITY_SERVICE
Securty Service object type |
static java.lang.String |
TYPE_TRANSACTION_SERVICE
Transaction Service object type |
| Method Summary | |
|---|---|
static void |
writeConnector(java.io.PrintWriter body,
org.openejb.alt.config.sys.Connector connector,
java.lang.String handle,
int index)
This method writes out the contents of the Connector object to the browser |
static void |
writeContainer(java.io.PrintWriter body,
ContainerData containerData,
java.lang.String handle)
This method writes out the contents of the Container object to the browser |
static void |
writeDeployments(java.io.PrintWriter body,
org.openejb.alt.config.sys.Deployments deployments,
java.lang.String handle,
int index)
This method writes out the contents of the Deployments object to the browser |
static void |
writeOpenejb(java.io.PrintWriter body,
org.openejb.alt.config.sys.Openejb openejb,
java.lang.String handle,
java.lang.String configLocation)
This method takes care of writing the contents of the Openejb configuration object to the browser. |
static void |
writeResource(java.io.PrintWriter body,
org.openejb.alt.config.sys.Resource resource,
java.lang.String handle,
int index)
This method writes out the contents of the Resource object to the browser |
static void |
writeService(java.io.PrintWriter body,
org.openejb.alt.config.Service service,
java.lang.String handle,
java.lang.String submitValue,
int index)
This method writes out the contents of a generic service object to the browser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CREATE
public static final java.lang.String EDIT
public static final java.lang.String DELETE
public static final java.lang.String TYPE_CONNECTOR
public static final java.lang.String TYPE_CONTAINER
public static final java.lang.String TYPE_DEPLOYMENTS
public static final java.lang.String TYPE_JNDI_PROVIDER
public static final java.lang.String TYPE_RESOURCE
public static final java.lang.String TYPE_CONNECTION_MANAGER
public static final java.lang.String TYPE_PROXY_FACTORY
public static final java.lang.String TYPE_SECURITY_SERVICE
public static final java.lang.String TYPE_TRANSACTION_SERVICE
public static final java.lang.String QUERY_PARAMETER_TYPE
public static final java.lang.String QUERY_PARAMETER_METHOD
public static final java.lang.String FORM_FIELD_HANDLE_FILE
public static final java.lang.String FORM_FIELD_ID
public static final java.lang.String FORM_FIELD_JAR
public static final java.lang.String FORM_FIELD_PROVIDER
public static final java.lang.String FORM_FIELD_CONTAINER_TYPE
public static final java.lang.String FORM_FIELD_INDEX
public static final java.lang.String FORM_FIELD_DEPLOYMENT_TYPE
public static final java.lang.String FORM_FIELD_DEPLOYMENT_TEXT
public static final java.lang.String FORM_FIELD_JNDI_PARAMETERS
public static final java.lang.String FORM_FIELD_CONTENT
public static final java.lang.String FORM_FIELD_SUBMIT_SERVICE
public static final java.lang.String FORM_FIELD_SUBMIT_OPENEJB
public static final java.lang.String FORM_VALUE_SUBMIT_CONNECTOR
public static final java.lang.String FORM_VALUE_SUBMIT_CONTAINER
public static final java.lang.String FORM_VALUE_SUBMIT_DEPLOYMENTS
public static final java.lang.String FORM_VALUE_SUBMIT_JNDI_PROVIDER
public static final java.lang.String FORM_VALUE_SUBMIT_RESOURCE
public static final java.lang.String FORM_VALUE_SUBMIT_CONNECTION_MANAGER
public static final java.lang.String FORM_VALUE_SUBMIT_PROXY_FACTORY
public static final java.lang.String FORM_VALUE_SUBMIT_SECURITY_SERVICE
public static final java.lang.String FORM_VALUE_SUBMIT_TRANSACTION_SERVICE
public static final java.lang.String DEPLOYMENT_TYPE_JAR
public static final java.lang.String DEPLOYMENT_TYPE_DIR
| Method Detail |
|---|
public static void writeOpenejb(java.io.PrintWriter body,
org.openejb.alt.config.sys.Openejb openejb,
java.lang.String handle,
java.lang.String configLocation)
body - writes the HTML to the browseropenejb - the openejb object to write the contents ofhandle - the location of the handle file stringconfigLocation - the location of the configuration fileOpenejb
public static void writeConnector(java.io.PrintWriter body,
org.openejb.alt.config.sys.Connector connector,
java.lang.String handle,
int index)
throws java.io.IOException
body - writes the HTML to the browserconnector - the connector object to write the contents ofhandle - the location of the handle file stringindex - the index of the connector array
java.io.IOExceptionConnector
public static void writeContainer(java.io.PrintWriter body,
ContainerData containerData,
java.lang.String handle)
throws java.io.IOException
body - writes the HTML to the browsercontainerData - the container to write the contents ofhandle - the location of the handle file string
java.io.IOExceptionContainer
public static void writeResource(java.io.PrintWriter body,
org.openejb.alt.config.sys.Resource resource,
java.lang.String handle,
int index)
body - writes the HTML to the browserresource - the resource to write the contents ofhandle - the location of the handle file stringindex - the index of the connector arrayContainer
public static void writeDeployments(java.io.PrintWriter body,
org.openejb.alt.config.sys.Deployments deployments,
java.lang.String handle,
int index)
throws java.io.IOException
body - writes the HTML to the browserdeployments - the deployment info to write to the browserhandle - the location of the handle file stringindex - the index of the connector array
java.io.IOExceptionDeployments
public static void writeService(java.io.PrintWriter body,
org.openejb.alt.config.Service service,
java.lang.String handle,
java.lang.String submitValue,
int index)
body - writes the HTML to the browserservice - the service to write to the browserhandle - the location of the handle file stringsubmitValue - the value/display for the submit buttonindex - the index of the connector arrayService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||