public class ProductPluginDeployer extends Object
| Constructor and Description |
|---|
ProductPluginDeployer() |
| Modifier and Type | Method and Description |
|---|---|
File |
getPluginDir() |
PluginMetadataManager |
getPluginMetadataManager() |
void |
pluginDetected(org.rhq.enterprise.server.core.plugin.ProductPluginDeployer.DeploymentInfo deploymentInfo)
This is called when a new or updated plugin is brought online.
|
void |
registerPlugins()
Registers newly detected plugins and their types.
|
void |
setPluginDir(File pluginDir) |
void |
start()
This is called when this deployer service itself is starting up.
|
void |
startDeployment()
This is called by the server's startup servlet which essentially informs us that
the server's internal EJB/SLSBs are ready and can be called.
|
void |
stop() |
public File getPluginDir()
public void setPluginDir(File pluginDir)
public PluginMetadataManager getPluginMetadataManager()
public void startDeployment()
public void start()
throws Exception
Exceptionpublic void stop()
public void pluginDetected(org.rhq.enterprise.server.core.plugin.ProductPluginDeployer.DeploymentInfo deploymentInfo)
throws Exception
registerPlugins() is called afterwards
to fully process the detected plugin.deploymentInfo - information on the newly detected pluginExceptionpublic void registerPlugins()
isReady is true. This is a no-op if we are not ready.Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.