public abstract class SimpleAdminBean extends SimpleMBean implements AdminBean
| Modifier and Type | Field and Description |
|---|---|
protected Engine |
m_engine
Provides access to a Engine 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 |
|---|---|
java.lang.String |
doGet(Context context)
By default, this method creates a blob of HTML, listing
all the attributes which can be read or written to.
|
java.lang.String |
doPost(Context context)
Not implemented yet.
|
java.lang.String |
getId()
By default, this method returns the class name of the bean.
|
void |
initialize(Engine engine)
Initialize the AdminBean by setting up a Engine instance internally.
|
getAttribute, getAttributeNames, getAttributes, getDescription, getMBeanInfo, getMethodNames, invoke, setAttribute, setAttributesprotected SimpleAdminBean() throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanExceptionpublic void initialize(Engine engine)
initialize in interface AdminBeanpublic java.lang.String doGet(Context context)
doGet in interface GenericHTTPHandlercontext - associated WikiContextpublic java.lang.String doPost(Context context)
doPost in interface GenericHTTPHandlercontext - associated WikiContextpublic java.lang.String getId()
getId in interface GenericHTTPHandlerCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.