|
||||||||||
| 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.beans.PlainEditorAdminBean
public class PlainEditorAdminBean
This class is still experimental.
| Field Summary |
|---|
| 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 | |
|---|---|
PlainEditorAdminBean()
|
|
| Method Summary | |
|---|---|
String |
doGet(WikiContext context)
Return basic HTML. |
String |
doPost(WikiContext context)
Handles a POST response. |
String[] |
getAttributeNames()
This method must return a list of attributes which are exposed by the SimpleMBean. |
boolean |
getChecked()
|
String |
getId()
Get an identifier for this particular AdminBean. |
String[] |
getMethodNames()
This method must return a list of operations which are to be exposed by the SimpleMBean. |
String |
getTitle()
Return a human-readable title for this AdminBean. |
int |
getType()
Returns a type (UNKNOWN, EDITOR, etc). |
void |
initialize(WikiEngine engine)
|
boolean |
isEnabled()
|
| Methods inherited from class com.ecyrd.management.SimpleMBean |
|---|
getAttribute, getAttributes, getDescription, getMBeanInfo, invoke, setAttribute, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainEditorAdminBean()
throws NotCompliantMBeanException
NotCompliantMBeanException| Method Detail |
|---|
public String doGet(WikiContext context)
GenericHTTPHandler
doGet in interface GenericHTTPHandlerpublic String doPost(WikiContext context)
GenericHTTPHandler
doPost in interface GenericHTTPHandlerpublic String getTitle()
AdminBean
getTitle in interface AdminBeanpublic int getType()
AdminBean
getType in interface AdminBeanpublic boolean isEnabled()
public String getId()
GenericHTTPHandler
getId in interface GenericHTTPHandlerpublic boolean getChecked()
public 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 String[] getMethodNames()
SimpleMBean
getMethodNames in class SimpleMBeanpublic void initialize(WikiEngine engine)
initialize in interface AdminBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||