public abstract class SimpleAdminBean extends SimpleMBean implements AdminBean
| Modifier and Type | Field and Description |
|---|---|
protected WikiEngine |
m_engine
Provides access to a WikiEngine instance to which this AdminBean
belongs to.
|
m_beanInfo| Modifier | Constructor and Description |
|---|---|
protected |
SimpleAdminBean()
Constructor reserved for subclasses only.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getAttribute, getAttributeNames, getAttributes, getDescription, getMBeanInfo, getMethodNames, invoke, setAttribute, setAttributesprotected WikiEngine m_engine
protected SimpleAdminBean() throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic 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 GenericHTTPHandlerCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.