|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.webadmin.main.ConfigHTMLWriter
This class is a utility for the ConfigBean. It takes care of printing out all the HTML for the bean.
org.openejb.webadmin.config.ConfigBean
Field Summary | |
static String |
CREATE
create url type |
static String |
DELETE
delete url type |
static String |
DEPLOYMENT_TYPE_DIR
drop down value for a directory deployment type |
static String |
DEPLOYMENT_TYPE_JAR
drop down value for a jar deployment type |
static String |
EDIT
edit url type |
static String |
FORM_FIELD_CONTAINER_TYPE
container type form field name |
static String |
FORM_FIELD_CONTENT
content form field name |
static String |
FORM_FIELD_DEPLOYMENT_TEXT
deployment text form field name |
static String |
FORM_FIELD_DEPLOYMENT_TYPE
deployment type form field name |
static String |
FORM_FIELD_HANDLE_FILE
handle file form field name |
static String |
FORM_FIELD_ID
id form field name |
static String |
FORM_FIELD_INDEX
index form field name |
static String |
FORM_FIELD_JAR
jar form field name |
static String |
FORM_FIELD_JNDI_PARAMETERS
JNDI Parameters form field name |
static String |
FORM_FIELD_PROVIDER
provider form field name |
static String |
FORM_FIELD_SUBMIT_OPENEJB
submit button name for the main openejb page |
static String |
FORM_FIELD_SUBMIT_SERVICE
submit button name for a service page |
static String |
FORM_VALUE_SUBMIT_CONNECTION_MANAGER
submit button value and label for a connection manager |
static String |
FORM_VALUE_SUBMIT_CONNECTOR
submit button value and label for a connector |
static String |
FORM_VALUE_SUBMIT_CONTAINER
submit button value and label for a container |
static String |
FORM_VALUE_SUBMIT_DEPLOYMENTS
submit button value and label for deployments |
static String |
FORM_VALUE_SUBMIT_JNDI_PROVIDER
submit button value and label for a JNDI provider |
static String |
FORM_VALUE_SUBMIT_PROXY_FACTORY
submit button value and label for a proxy factory |
static String |
FORM_VALUE_SUBMIT_RESOURCE
submit button value and label for a resource |
static String |
FORM_VALUE_SUBMIT_SECURITY_SERVICE
submit button value and label for a security service |
static String |
FORM_VALUE_SUBMIT_TRANSACTION_SERVICE
submit button value and label for a transaction service |
static String |
QUERY_PARAMETER_METHOD
method query parameter |
static String |
QUERY_PARAMETER_TYPE
type query parameter |
static String |
TYPE_CONNECTION_MANAGER
Connection Manager object type |
static String |
TYPE_CONNECTOR
Connector object type |
static String |
TYPE_CONTAINER
Container object type |
static String |
TYPE_DEPLOYMENTS
Deployments object type |
static String |
TYPE_JNDI_PROVIDER
JndiProvider object type |
static String |
TYPE_PROXY_FACTORY
Proxy Factory object type |
static String |
TYPE_RESOURCE
Resource object type |
static String |
TYPE_SECURITY_SERVICE
Securty Service object type |
static String |
TYPE_TRANSACTION_SERVICE
Transaction Service object type |
Method Summary | |
static void |
writeConnector(PrintWriter body,
org.openejb.config.sys.Connector connector,
String handle,
int index)
This method writes out the contents of the Connector object to the browser |
static void |
writeContainer(PrintWriter body,
ContainerData containerData,
String handle)
This method writes out the contents of the Container object to the browser |
static void |
writeDeployments(PrintWriter body,
org.openejb.config.sys.Deployments deployments,
String handle,
int index)
This method writes out the contents of the Deployments object to the browser |
static void |
writeOpenejb(PrintWriter body,
org.openejb.config.sys.Openejb openejb,
String handle,
String configLocation)
This method takes care of writing the contents of the Openejb configuration object to the browser. |
static void |
writeResource(PrintWriter body,
org.openejb.config.sys.Resource resource,
String handle,
int index)
This method writes out the contents of the Resource object to the browser |
static void |
writeService(PrintWriter body,
org.openejb.config.Service service,
String handle,
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 String CREATE
public static final String EDIT
public static final String DELETE
public static final String TYPE_CONNECTOR
public static final String TYPE_CONTAINER
public static final String TYPE_DEPLOYMENTS
public static final String TYPE_JNDI_PROVIDER
public static final String TYPE_RESOURCE
public static final String TYPE_CONNECTION_MANAGER
public static final String TYPE_PROXY_FACTORY
public static final String TYPE_SECURITY_SERVICE
public static final String TYPE_TRANSACTION_SERVICE
public static final String QUERY_PARAMETER_TYPE
public static final String QUERY_PARAMETER_METHOD
public static final String FORM_FIELD_HANDLE_FILE
public static final String FORM_FIELD_ID
public static final String FORM_FIELD_JAR
public static final String FORM_FIELD_PROVIDER
public static final String FORM_FIELD_CONTAINER_TYPE
public static final String FORM_FIELD_INDEX
public static final String FORM_FIELD_DEPLOYMENT_TYPE
public static final String FORM_FIELD_DEPLOYMENT_TEXT
public static final String FORM_FIELD_JNDI_PARAMETERS
public static final String FORM_FIELD_CONTENT
public static final String FORM_FIELD_SUBMIT_SERVICE
public static final String FORM_FIELD_SUBMIT_OPENEJB
public static final String FORM_VALUE_SUBMIT_CONNECTOR
public static final String FORM_VALUE_SUBMIT_CONTAINER
public static final String FORM_VALUE_SUBMIT_DEPLOYMENTS
public static final String FORM_VALUE_SUBMIT_JNDI_PROVIDER
public static final String FORM_VALUE_SUBMIT_RESOURCE
public static final String FORM_VALUE_SUBMIT_CONNECTION_MANAGER
public static final String FORM_VALUE_SUBMIT_PROXY_FACTORY
public static final String FORM_VALUE_SUBMIT_SECURITY_SERVICE
public static final String FORM_VALUE_SUBMIT_TRANSACTION_SERVICE
public static final String DEPLOYMENT_TYPE_JAR
public static final String DEPLOYMENT_TYPE_DIR
Method Detail |
public static void writeOpenejb(PrintWriter body, org.openejb.config.sys.Openejb openejb, String handle, 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(PrintWriter body, org.openejb.config.sys.Connector connector, String handle, int index) throws 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
IOException
Connector
public static void writeContainer(PrintWriter body, ContainerData containerData, String handle) throws IOException
body
- writes the HTML to the browserhandle
- the location of the handle file string
IOException
Container
public static void writeResource(PrintWriter body, org.openejb.config.sys.Resource resource, 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(PrintWriter body, org.openejb.config.sys.Deployments deployments, String handle, int index) throws 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
IOException
Deployments
public static void writeService(PrintWriter body, org.openejb.config.Service service, String handle, 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 |