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, setAttributes
protected WikiEngine m_engine
protected SimpleAdminBean() throws NotCompliantMBeanException
NotCompliantMBeanException
public void initialize(WikiEngine engine)
initialize
in interface AdminBean
public String doGet(WikiContext context)
doGet
in interface GenericHTTPHandler
public String doPost(WikiContext context)
doPost
in interface GenericHTTPHandler
public String getId()
getId
in interface GenericHTTPHandler
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.