org.rhq.enterprise.server.plugin.pc.content
Class PackageTypeServerPluginContainer

java.lang.Object
  extended by org.rhq.enterprise.server.plugin.pc.AbstractTypeServerPluginContainer
      extended by org.rhq.enterprise.server.plugin.pc.content.PackageTypeServerPluginContainer

public class PackageTypeServerPluginContainer
extends AbstractTypeServerPluginContainer

Author:
Lukas Krejci

Constructor Summary
PackageTypeServerPluginContainer(MasterServerPluginContainer master)
           
 
Method Summary
protected  ServerPluginManager createPluginManager()
          This will be called when its time for this plugin container to create its plugin manager.
 PackageTypePluginManager getPluginManager()
          Returns the object that manages the plugins.
 ServerPluginType getSupportedServerPluginType()
          Each plugin container will tell the master which plugins it can support via this method; this method returns the type of plugin that the plugin container can process.
 
Methods inherited from class org.rhq.enterprise.server.plugin.pc.AbstractTypeServerPluginContainer
getLog, getMasterServerPluginContainer, getPluginLoadTime, initialize, invokePluginControl, isPluginEnabled, isPluginLoaded, loadPlugin, reloadPlugin, scheduleAllPluginJobs, scheduleJob, schedulePluginJobs, shutdown, start, stop, unloadPlugin, unschedulePluginJobs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageTypeServerPluginContainer

public PackageTypeServerPluginContainer(MasterServerPluginContainer master)
Parameters:
master -
Method Detail

getSupportedServerPluginType

public ServerPluginType getSupportedServerPluginType()
Description copied from class: AbstractTypeServerPluginContainer
Each plugin container will tell the master which plugins it can support via this method; this method returns the type of plugin that the plugin container can process. Only one plugin container can support a plugin type.

Specified by:
getSupportedServerPluginType in class AbstractTypeServerPluginContainer
Returns:
the type of plugin that this plugin container instance can support

getPluginManager

public PackageTypePluginManager getPluginManager()
Description copied from class: AbstractTypeServerPluginContainer
Returns the object that manages the plugins.

Overrides:
getPluginManager in class AbstractTypeServerPluginContainer
Returns:
the plugin manager for this container

createPluginManager

protected ServerPluginManager createPluginManager()
Description copied from class: AbstractTypeServerPluginContainer
This will be called when its time for this plugin container to create its plugin manager. Subclasses are free to override this if they need their own specialized plugin manager.

Overrides:
createPluginManager in class AbstractTypeServerPluginContainer
Returns:
the plugin manager for use by this plugin container


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.