org.rhq.core.pc
Interface PluginContainerMBeanImplMBean

All Known Implementing Classes:
PluginContainerMBeanImpl

public interface PluginContainerMBeanImplMBean

The management interface for the PluginContainer itself.

Author:
John Mazzitelli

Field Summary
static String OBJECT_NAME
           
 
Method Summary
 String executeDiscovery(Boolean detailedDiscovery)
          Tells the PC to perform a manual discovery.
 int getNumberOfDiscoveryClassLoaders()
          Returns the number of classloaders assigned to plugins' discovery components.
 int getNumberOfPluginClassLoaders()
          Returns the number of classloaders assigned to a plugin.
 int getNumberOfResourceClassLoaders()
          Returns the number of classloaders assigned to individual resources.
 OperationResult retrieveAllResourceClassLoaderInformation()
          Retrieves information on all created and assigned resource classloaders.
 OperationResult retrieveDiscoveryClassLoaderInformation()
          Retrieves information on all created discovery classloaders.
 OperationResult retrievePluginClassLoaderInformation()
          Retrieves information on all created and assigned plugin classloaders.
 OperationResult retrievePluginDependencyGraph()
          Retrieves the plugin dependency information, show you the order in which the plugins are deployed and the plugins they depend on.
 OperationResult retrieveUniqueResourceClassLoaderInformation()
          Retrieves information on all unique resource classloaders.
 

Field Detail

OBJECT_NAME

static final String OBJECT_NAME
See Also:
Constant Field Values
Method Detail

executeDiscovery

String executeDiscovery(Boolean detailedDiscovery)
Tells the PC to perform a manual discovery. This will execute an immediate server scan followed, optionally, by a service scan.

Parameters:
detailedDiscovery - if true, will perform a "service scan" immediately after the "server scan".
Returns:
the results of the discovery

retrievePluginDependencyGraph

OperationResult retrievePluginDependencyGraph()
Retrieves the plugin dependency information, show you the order in which the plugins are deployed and the plugins they depend on.

Returns:
plugin dependency graph in an operation result configuration object

retrievePluginClassLoaderInformation

OperationResult retrievePluginClassLoaderInformation()
Retrieves information on all created and assigned plugin classloaders. There is one plugin classloader for each deployed plugin.

Returns:
plugin classloader info

retrieveDiscoveryClassLoaderInformation

OperationResult retrieveDiscoveryClassLoaderInformation()
Retrieves information on all created discovery classloaders. These are created for discovery components that need to discover resources under a parent resource where that parent resource is from a different plugin than the discovery component.

Returns:
discovery classloader info

retrieveAllResourceClassLoaderInformation

OperationResult retrieveAllResourceClassLoaderInformation()
Retrieves information on all created and assigned resource classloaders. Each resource is assigned a classloader. Some resources share classloaders so there will be duplicate classloaders in the returned result.

Returns:
resource classloader info

retrieveUniqueResourceClassLoaderInformation

OperationResult retrieveUniqueResourceClassLoaderInformation()
Retrieves information on all unique resource classloaders. Each resource is assigned one of these classloaders. Some resources share classloaders, but no duplicate classloaders will be in the returned result. The number of resources assigned to each classloader is in the result map.

Returns:
unique resource classloader info

getNumberOfPluginClassLoaders

int getNumberOfPluginClassLoaders()
Returns the number of classloaders assigned to a plugin.

Returns:
plugin classloader count

getNumberOfDiscoveryClassLoaders

int getNumberOfDiscoveryClassLoaders()
Returns the number of classloaders assigned to plugins' discovery components.

Returns:
discovery classloader count

getNumberOfResourceClassLoaders

int getNumberOfResourceClassLoaders()
Returns the number of classloaders assigned to individual resources.

Returns:
resource classloader count


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