public class DefaultAdminBeanManager extends Object implements WikiEventListener, AdminBeanManager
Constructor and Description |
---|
DefaultAdminBeanManager(WikiEngine engine) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(WikiEvent event)
Fired when a WikiEvent is triggered by an event source.
|
AdminBean |
findBean(String id)
Locates a bean based on the AdminBean.getId() out of all
the registered beans.
|
List<AdminBean> |
getAllBeans()
Lists all administration beans which are currently known
and instantiated.
|
int |
getTypeFromString(String type)
Returns the type identifier for a string type.
|
void |
initialize() |
public DefaultAdminBeanManager(WikiEngine engine)
public void initialize()
initialize
in interface AdminBeanManager
public List<AdminBean> getAllBeans()
AdminBeanManager
getAllBeans
in interface AdminBeanManager
public AdminBean findBean(String id)
AdminBeanManager
findBean
in interface AdminBeanManager
id
- IDpublic int getTypeFromString(String type)
getTypeFromString
in interface AdminBeanManager
type
- A type string.public void actionPerformed(WikiEvent event)
WikiEventListener
actionPerformed
in interface AdminBeanManager
actionPerformed
in interface WikiEventListener
event
- a WikiEvent objectCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.