| java.lang.Object com.ecyrd.management.SimpleMBean com.ecyrd.jspwiki.ui.admin.SimpleAdminBean
All known Subclasses: com.ecyrd.jspwiki.ui.admin.beans.WikiWizardAdminBean, com.ecyrd.jspwiki.ui.admin.beans.UserBean, com.ecyrd.jspwiki.ui.admin.beans.SearchManagerBean, com.ecyrd.jspwiki.ui.admin.beans.CoreBean, com.ecyrd.jspwiki.ui.admin.beans.PluginBean,
SimpleAdminBean | abstract public class SimpleAdminBean extends SimpleMBean implements AdminBean(Code) | | Provides an easy-to-use interface for JSPWiki AdminBeans, which also
are JMX MBeans. This class provides a default interface for the doGet()
and doPost() interfaces by using the introspection capabilities of the
SimpleMBean.
author: Janne Jalkanen since: 2.5.52 |
Field Summary | |
protected WikiEngine | m_engine Provides access to a WikiEngine instance to which this AdminBean
belongs to. |
Constructor Summary | |
protected | SimpleAdminBean() Constructor reserved for subclasses only. |
Method Summary | |
public String | doGet(WikiContext context) By default, this method creates a blob of HTML, listing
all the attributes which can be read or written to. | public String | doPost(WikiContext context) Not implemented yet. | public String | getId() By default, this method returns the class name of the bean. | public void | initialize(WikiEngine engine) Initialize the AdminBean by setting up a WikiEngine instance internally. |
m_engine | protected WikiEngine m_engine(Code) | | Provides access to a WikiEngine instance to which this AdminBean
belongs to.
|
doGet | public String doGet(WikiContext context)(Code) | | By default, this method creates a blob of HTML, listing
all the attributes which can be read or written to. If the
attribute is read-only, a readonly input widget is created.
The value is determined by the toString() method of the attribute.
|
getId | public String getId()(Code) | | By default, this method returns the class name of the bean. This is
suitable, if you have a singleton bean.
|
initialize | public void initialize(WikiEngine engine)(Code) | | Initialize the AdminBean by setting up a WikiEngine instance internally.
|
|
|