Wildfire 3.1.1 Javadoc

org.jivesoftware.wildfire.container
Class AdminConsolePlugin

java.lang.Object
  extended by org.jivesoftware.wildfire.container.AdminConsolePlugin
All Implemented Interfaces:
Plugin

public class AdminConsolePlugin
extends Object
implements Plugin

The admin console plugin. It starts a Jetty instance on the configured port and loads the admin console web application.

Author:
Matt Tucker

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

AdminConsolePlugin

public AdminConsolePlugin()
Create a jetty module.

Method Detail

restartListeners

public void restartListeners()

initializePlugin

public void initializePlugin(PluginManager manager,
                             File pluginDir)
Description copied from interface: Plugin
Initializes the plugin.

Specified by:
initializePlugin in interface Plugin
Parameters:
manager - the plugin manager.
pluginDir - the directory where the plugin is located.

destroyPlugin

public void destroyPlugin()
Description copied from interface: Plugin
Destroys the 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.

Specified by:
destroyPlugin in interface Plugin

getJettyServer

public static org.mortbay.jetty.Server getJettyServer()
Returns the Jetty instance started by this plugin.

Returns:
the Jetty server instance.

Wildfire 3.1.1 Javadoc

Copyright © 2003-2006 Jive Software.