|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecyrd.management.SimpleMBean
com.ecyrd.jspwiki.ui.admin.SimpleAdminBean
public abstract class SimpleAdminBean
Provides an easy-to-use interface for JSPWiki AdminBeans, which also are JMX MBeans. This class provides a default interface for the doGet() and doPost() interfaces by using the introspection capabilities of the SimpleMBean.
| Field Summary | |
|---|---|
protected WikiEngine |
m_engine
Provides access to a WikiEngine instance to which this AdminBean belongs to. |
| Fields inherited from class com.ecyrd.management.SimpleMBean |
|---|
m_beanInfo |
| Fields inherited from interface com.ecyrd.jspwiki.ui.admin.AdminBean |
|---|
CORE, EDITOR, UNKNOWN |
| Constructor Summary | |
|---|---|
protected |
SimpleAdminBean()
Constructor reserved for subclasses only. |
| Method Summary | |
|---|---|
String |
doGet(WikiContext context)
By default, this method creates a blob of HTML, listing all the attributes which can be read or written to. |
String |
doPost(WikiContext context)
Not implemented yet. |
String |
getId()
By default, this method returns the class name of the bean. |
void |
initialize(WikiEngine engine)
Initialize the AdminBean by setting up a WikiEngine instance internally. |
| Methods inherited from class com.ecyrd.management.SimpleMBean |
|---|
getAttribute, getAttributeNames, getAttributes, getDescription, getMBeanInfo, getMethodNames, invoke, setAttribute, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ecyrd.jspwiki.ui.admin.AdminBean |
|---|
getTitle, getType |
| Field Detail |
|---|
protected WikiEngine m_engine
| Constructor Detail |
|---|
protected SimpleAdminBean()
throws NotCompliantMBeanException
NotCompliantMBeanException| Method Detail |
|---|
public void initialize(WikiEngine engine)
initialize in interface AdminBeanpublic String doGet(WikiContext context)
doGet in interface GenericHTTPHandlerpublic String doPost(WikiContext context)
doPost in interface GenericHTTPHandlerpublic String getId()
getId in interface GenericHTTPHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||