
public class SearchManagerBean extends SimpleAdminBean
m_enginem_beanInfo| Constructor and Description |
|---|
SearchManagerBean(WikiEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getId, initializegetAttribute, getAttributes, getDescription, getMBeanInfo, invoke, setAttribute, setAttributespublic SearchManagerBean(WikiEngine engine) throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic 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()
SimpleMBeangetMethodNames in class SimpleMBeanpublic String getTitle()
AdminBeanpublic void reload()
This method prevents itself from being called twice.
public int getType()
AdminBeanpublic String doGet(WikiContext context)
SimpleAdminBeandoGet in interface GenericHTTPHandlerdoGet in class SimpleAdminBeanpublic String doPost(WikiContext context)
SimpleAdminBeandoPost in interface GenericHTTPHandlerdoPost in class SimpleAdminBeanCopyright © 2001-2018 The Apache Software Foundation. All rights reserved.