|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.webadmin.WebAdminBean
org.apache.openejb.webadmin.clienttools.InvokeObjectBean
public class InvokeObjectBean
Field Summary |
---|
Fields inherited from class org.apache.openejb.webadmin.WebAdminBean |
---|
ejbContext, footer, HTML_TITLE, request, response, section, sections, SUBSTITUTE |
Fields inherited from interface org.apache.openejb.webadmin.clienttools.Constants |
---|
closedImg, ejbImg, INVOKE_OBJ, javaImg, openImg, tab, VIEW_CLASS, VIEW_EJB, VIEW_JNDI |
Constructor Summary | |
---|---|
InvokeObjectBean()
|
Method Summary | |
---|---|
String |
formatMethod(Method m)
|
String |
formatObject(Object obj)
|
String |
formatThrowable(Throwable err)
|
org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Converter |
getConverter(Class type)
|
org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation |
getInvocation(String invID)
|
HashMap |
getInvocationMap()
|
Object |
getObject(String objID)
|
String |
getObjectID(Object obj)
|
HashMap |
getObjectMap()
|
String |
getShortClassName(Class clazz)
|
String |
getShortClassRef(Class clazz)
|
void |
invoke(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv)
|
void |
main(HttpSession session,
PrintWriter out)
The main method of this JSP |
void |
parseArgs(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv)
|
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 |
printArgumentList(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv)
|
void |
printArgumentSection(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv)
Print the list of arguments. |
void |
printInvokeSection(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv)
Print the list of arguments. |
void |
printMethodList(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv)
Prints the list of methods that can be invoked |
void |
printMethodSection(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv)
Print the list of methods with the focused method as selected in the box. |
void |
printObjectList()
Prints the list of objects that can be invoked |
void |
printObjectSection()
Print the list of objects with the focused object as selected in the box. |
protected void |
printRow(String col1,
String col2)
|
void |
removeObject(String objID)
|
void |
setInvocation(String invID,
org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation obj)
|
void |
setObject(String objID,
Object obj)
|
void |
writeBody(PrintWriter out)
writes the main body content to the broswer. |
void |
writeHtmlTitle(PrintWriter out)
Write the TITLE of the HTML document. |
void |
writePageTitle(PrintWriter out)
Write the title of the page. |
Methods inherited from class org.apache.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 |
---|
public InvokeObjectBean()
Method Detail |
---|
public void preProcess(HttpRequest request, HttpResponse response) throws IOException
WebAdminBean
preProcess
in class WebAdminBean
request
- the http requestresponse
- the http response
IOException
- if an exception is thrownpublic void postProcess(HttpRequest request, HttpResponse response) throws IOException
WebAdminBean
postProcess
in class WebAdminBean
request
- the http requestresponse
- the http response
IOException
- if an exception is thrownpublic void writeHtmlTitle(PrintWriter out) throws IOException
WebAdminBean
<head><title>
</title></head>
tags
writeHtmlTitle
in class WebAdminBean
out
- the output to write to
IOException
- of an exception is thrownpublic void writePageTitle(PrintWriter out) throws IOException
WebAdminBean
writePageTitle
in class WebAdminBean
out
- the output to write to
IOException
- if an exception is thrownpublic void writeBody(PrintWriter out) throws IOException
WebAdminBean
<p>
block
writeBody
in class WebAdminBean
out
- the output to write to
IOException
- if an exception is thrownpublic void main(HttpSession session, PrintWriter out) throws Exception
Exception
public void printObjectSection() throws Exception
Exception
public void printObjectList() throws Exception
Exception
public void printMethodSection(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv) throws Exception
Exception
public void printMethodList(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv) throws Exception
Exception
public void printArgumentSection(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv) throws Exception
Exception
public void parseArgs(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv) throws Exception
Exception
public void printArgumentList(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv) throws Exception
Exception
public void printInvokeSection(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv) throws Exception
Exception
public void invoke(org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation inv) throws Exception
Exception
public String formatThrowable(Throwable err) throws Exception
Exception
public String formatObject(Object obj) throws Exception
Exception
public String formatMethod(Method m) throws Exception
Exception
public String getShortClassName(Class clazz) throws Exception
Exception
public String getShortClassRef(Class clazz) throws Exception
Exception
protected void printRow(String col1, String col2) throws Exception
Exception
public String getObjectID(Object obj)
public Object getObject(String objID)
public void setObject(String objID, Object obj)
public void removeObject(String objID)
public HashMap getObjectMap()
public org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation getInvocation(String invID)
public void setInvocation(String invID, org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Invocation obj)
public HashMap getInvocationMap()
public org.apache.openejb.webadmin.clienttools.InvokeObjectBean.Converter getConverter(Class type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |