|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wiki.management.SimpleMBean org.apache.wiki.ui.admin.SimpleAdminBean org.apache.wiki.ui.admin.beans.SearchManagerBean
public class SearchManagerBean
The SearchManagerBean is a simple AdminBean interface to the SearchManager. It currently can be used to force a reload of all of the pages.
Field Summary |
---|
Fields inherited from class org.apache.wiki.ui.admin.SimpleAdminBean |
---|
m_engine |
Fields inherited from class org.apache.wiki.management.SimpleMBean |
---|
m_beanInfo |
Fields inherited from interface org.apache.wiki.ui.admin.AdminBean |
---|
CORE, EDITOR, UNKNOWN |
Constructor Summary | |
---|---|
SearchManagerBean(WikiEngine engine)
|
Method Summary | |
---|---|
String |
doGet(WikiContext context)
By default, this method creates a blob of HTML, listing all the attributes which can be read or written to. |
String |
doPost(WikiContext context)
Not implemented yet. |
String[] |
getAttributeNames()
This method must return a list of attributes which are exposed by the SimpleMBean. |
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 |
reload()
Starts a background thread which goes through all the pages and adds them to the reindex queue. |
Methods inherited from class org.apache.wiki.ui.admin.SimpleAdminBean |
---|
getId, initialize |
Methods inherited from class org.apache.wiki.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 SearchManagerBean(WikiEngine engine) throws NotCompliantMBeanException
NotCompliantMBeanException
Method Detail |
---|
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 SimpleMBean
public String[] getMethodNames()
SimpleMBean
getMethodNames
in class SimpleMBean
public String getTitle()
AdminBean
public void reload()
This method prevents itself from being called twice.
public int getType()
AdminBean
public String doGet(WikiContext context)
SimpleAdminBean
doGet
in interface GenericHTTPHandler
doGet
in class SimpleAdminBean
public String doPost(WikiContext context)
SimpleAdminBean
doPost
in interface GenericHTTPHandler
doPost
in class SimpleAdminBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |