| Modifier and Type | Method and Description |
|---|---|
ServerPluginEnvironment |
ServerPluginContext.getPluginEnvironment()
The environment of the plugin, including its name and other information.
|
ServerPluginEnvironment |
ServerPluginManager.getPluginEnvironment(String pluginName)
Given a plugin name, this returns that plugin's environment.
|
protected ServerPluginEnvironment |
ServerPluginManager.rebuildServerPluginEnvironment(ServerPluginEnvironment env)
Given a plugin environment, this will rebuild a new one with up-to-date information.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ServerPluginEnvironment> |
ServerPluginManager.getPluginEnvironments()
Returns the
ServerPluginEnvironments for every plugin this manager has loaded. |
| Modifier and Type | Method and Description |
|---|---|
protected ServerPluginComponent |
ServerPluginManager.createServerPluginComponent(ServerPluginEnvironment environment)
This will create a new
ServerPluginComponent instance for that is used to
initialize and shutdown a particular server plugin. |
protected org.rhq.core.domain.plugin.ServerPlugin |
ServerPluginManager.getPlugin(ServerPluginEnvironment pluginEnv)
Given a plugin environment, return its
ServerPlugin representation, which should also include
the plugin configuration and scheduled jobs configuration. |
protected ServerPluginContext |
ServerPluginManager.getServerPluginContext(ServerPluginEnvironment env) |
protected Object |
ServerPluginManager.instantiatePluginClass(ServerPluginEnvironment environment,
String className)
Instantiates a class with the given name within the given environment's classloader using
the class' no-arg constructor.
|
protected void |
ServerPluginManager.loadPlugin(ServerPluginEnvironment env,
boolean enabled)
Informs the plugin manager that a plugin with the given environment needs to be loaded.
|
void |
AbstractTypeServerPluginContainer.loadPlugin(ServerPluginEnvironment env,
boolean enabled)
Informs the plugin container that it has a plugin that it must begin to start managing.
|
protected Class<?> |
ServerPluginManager.loadPluginClass(ServerPluginEnvironment environment,
String className,
boolean initialize)
Loads a class with the given name within the given environment's classloader.
|
protected ServerPluginEnvironment |
ServerPluginManager.rebuildServerPluginEnvironment(ServerPluginEnvironment env)
Given a plugin environment, this will rebuild a new one with up-to-date information.
|
boolean |
ServerPluginValidator.validate(ServerPluginEnvironment env)
Given a server plugin environment, this method should validate the descriptor
to ensure it is logically correct.
|
| Constructor and Description |
|---|
ServerPluginContext(ServerPluginEnvironment env,
File dataDirectory,
File tmpDirectory,
org.rhq.core.domain.configuration.Configuration pluginConfiguration,
List<ScheduledJobDefinition> schedules)
Creates a new
ServerPluginContext object. |
| Modifier and Type | Field and Description |
|---|---|
protected ServerPluginEnvironment |
AlertSender.serverPluginEnvironment
Environement of the plugin to e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AlertSenderPluginManager.loadPlugin(ServerPluginEnvironment env,
boolean enabled)
Postprocess the loading of the plugin - the actual load is done
in the super class.
|
boolean |
AlertPluginValidator.validate(ServerPluginEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BundleServerPluginManager.loadPlugin(ServerPluginEnvironment env,
boolean enabled) |
boolean |
BundlePluginValidator.validate(ServerPluginEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
ServerPluginEnvironment |
ContentServerPluginManager.getPluginEnvironment(org.rhq.core.domain.content.ContentSourceType type)
Gets the plugin environment for the plugin responsible for managing the given content source type.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PackageTypePluginManager.loadPlugin(ServerPluginEnvironment env,
boolean enabled) |
void |
ContentServerPluginManager.loadPlugin(ServerPluginEnvironment env,
boolean enabled) |
boolean |
ContentPluginValidator.validate(ServerPluginEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GenericPluginValidator.validate(ServerPluginEnvironment env) |
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.