public class PlainEditorAdminBean extends SimpleMBean implements AdminBean
m_beanInfo| Constructor and Description |
|---|
PlainEditorAdminBean() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
doGet(Context context)
Return basic HTML.
|
java.lang.String |
doPost(Context context)
Handles a POST response.
|
java.lang.String[] |
getAttributeNames()
This method must return a list of attributes which are
exposed by the SimpleMBean.
|
boolean |
getChecked() |
java.lang.String |
getId()
Get an identifier for this particular AdminBean.
|
java.lang.String[] |
getMethodNames()
This method must return a list of operations which
are to be exposed by the SimpleMBean.
|
java.lang.String |
getTitle()
Return a human-readable title for this AdminBean.
|
int |
getType()
Returns a type (UNKNOWN, EDITOR, etc).
|
void |
initialize(Engine engine) |
boolean |
isEnabled() |
getAttribute, getAttributes, getDescription, getMBeanInfo, invoke, setAttribute, setAttributespublic PlainEditorAdminBean() throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanExceptionpublic java.lang.String doGet(Context context)
GenericHTTPHandlerdoGet in interface GenericHTTPHandlercontext - associated WikiContextpublic java.lang.String doPost(Context context)
GenericHTTPHandlerdoPost in interface GenericHTTPHandlercontext - associated WikiContextpublic java.lang.String getTitle()
AdminBeanpublic int getType()
AdminBeanpublic boolean isEnabled()
public java.lang.String getId()
GenericHTTPHandlergetId in interface GenericHTTPHandlerpublic boolean getChecked()
public java.lang.String[] getAttributeNames()
SimpleMBean
public void setFoo( String foo ) ...
public String getFoo() ...
public String[] getAttributeNames()
{
String[] attrs = { "foo" };
return attrs;
}
Also, methods starting with "is" are also recognized as getters
(e.g. public boolean isFoo().)getAttributeNames in class SimpleMBeanpublic java.lang.String[] getMethodNames()
SimpleMBeangetMethodNames in class SimpleMBeanpublic void initialize(Engine engine)
initialize in interface AdminBeanCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.