|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.pc.agent.AgentService
org.rhq.core.pc.support.SupportManager
public class SupportManager
Manages the inventory's support subsystem, such as the generation of snapshot reports for all resources across all plugins.
This is an agent service; its interface is made remotely accessible if this is deployed within the agent.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.rhq.core.pc.agent.AgentService |
|---|
AgentService.LifecycleState |
| Constructor Summary | |
|---|---|
SupportManager()
|
|
| Method Summary | |
|---|---|
InputStream |
getSnapshotReport(int resourceId,
String name,
String description)
|
protected SupportFacet |
getSupportFacet(int resourceId,
long facetMethodTimeout)
Given a resource, this obtains that resource's SupportFacet interface. |
void |
initialize()
Initializes the container service which will effectively tell the service to start doing its work. |
void |
setConfiguration(PluginContainerConfiguration configuration)
Informs the container service how it should be configured by providing the full plugin container configuration. |
void |
shutdown()
Stops the container service which effectively releases all runtime resources such as running threads. |
| Methods inherited from class org.rhq.core.pc.agent.AgentService |
|---|
addLifecycleListener, getClientInterface, notifyLifecycleListenersOfNewState, remoteInputStream, remoteOutputStream, removeLifecycleListener, setAgentServiceStreamRemoter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SupportManager()
| Method Detail |
|---|
public void setConfiguration(PluginContainerConfiguration configuration)
ContainerServicenull configuration object so implementations of
this interface should never have to worry about a null configuration parameter value.
setConfiguration in interface ContainerServicepublic void initialize()
ContainerServicenull
configuration will be set via a call to ContainerService.setConfiguration(PluginContainerConfiguration).
initialize in interface ContainerServicepublic void shutdown()
ContainerService
shutdown in interface ContainerService
public InputStream getSnapshotReport(int resourceId,
String name,
String description)
throws Exception
getSnapshotReport in interface SupportAgentServiceException
protected SupportFacet getSupportFacet(int resourceId,
long facetMethodTimeout)
throws PluginContainerException
SupportFacet interface.
If the resource does not support that facet, an exception is thrown.
The resource must be in the STARTED (i.e. connected) state.
resourceId - identifies the resource that is to be snapshotted
PluginContainerException - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||