public class CoreBean extends SimpleAdminBean
m_enginem_beanInfo| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAttributeNames()
This method must return a list of attributes which are
exposed by the SimpleMBean.
|
java.lang.String |
getId()
By default, this method returns the class name of the bean.
|
java.lang.String[] |
getMethodNames()
This method must return a list of operations which
are to be exposed by the SimpleMBean.
|
int |
getPages()
Return the page count in the Wiki.
|
java.lang.String |
getPagesDescription() |
java.lang.String |
getTitle()
Return a human-readable title for this AdminBean.
|
int |
getType()
Returns a type (UNKNOWN, EDITOR, etc).
|
java.lang.String |
getVersion() |
java.lang.String |
getVersionDescription() |
doGet, doPost, initializegetAttribute, getAttributes, getDescription, getMBeanInfo, invoke, setAttribute, setAttributespublic int getPages()
public java.lang.String getPagesDescription()
public java.lang.String getVersion()
public java.lang.String getVersionDescription()
public java.lang.String getTitle()
AdminBeanpublic int getType()
AdminBeanpublic java.lang.String getId()
SimpleAdminBeangetId in interface GenericHTTPHandlergetId in class SimpleAdminBeanpublic 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 SimpleMBeanCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.