|
Wildfire 3.1.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.wildfire.container.AdminConsolePlugin
public class AdminConsolePlugin
The admin console plugin. It starts a Jetty instance on the configured port and loads the admin console web application.
Constructor Summary | |
---|---|
AdminConsolePlugin()
Create a jetty module. |
Method Summary | |
---|---|
void |
destroyPlugin()
Destroys the plugin. |
static org.mortbay.jetty.Server |
getJettyServer()
Returns the Jetty instance started by this plugin. |
void |
initializePlugin(PluginManager manager,
File pluginDir)
Initializes the plugin. |
void |
restartListeners()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminConsolePlugin()
Method Detail |
---|
public void restartListeners()
public void initializePlugin(PluginManager manager, File pluginDir)
Plugin
initializePlugin
in interface Plugin
manager
- the plugin manager.pluginDir
- the directory where the plugin is located.public void destroyPlugin()
Plugin
Implementations of this method must release all resources held by the plugin such as file handles, database or network connections, and references to core Wildfire classes. In other words, a garbage collection executed after this method is called must be able to clean up all plugin classes.
destroyPlugin
in interface Plugin
public static org.mortbay.jetty.Server getJettyServer()
|
Wildfire 3.1.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |