public static class RemoteUsage.Resources extends Object
| Modifier and Type | Method and Description |
|---|---|
static ResourceUsageMBean |
getResourceUsageMBean(MBeanServerConnection server,
String entityName)
Provides a
ResourceUsageMBean proxy object for a RA entity name. |
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ResourceUsageMBean resourceUsageMBean)
Get a UsageMBean for the unnamed parameter set of an RA entity.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ResourceUsageMBean resourceUsageMBean,
int nodeID)
Get a UsageMBean for the unnamed parameter set of an RA entity on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ResourceUsageMBean resourceUsageMBean,
String paramSetName)
Get a UsageMBean for the specified parameter set of an RA entity.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ResourceUsageMBean resourceUsageMBean,
String paramSetName,
int nodeID)
Get a UsageMBean for the specified parameter set of an RA entity on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String raEntityName)
Get a UsageMBean for the unnamed parameter set of an RA entity.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String raEntityName,
int nodeID)
Get a UsageMBean for the unnamed usage parameter set of an RA entity on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String raEntityName,
String paramSetName)
Get a UsageMBean for the specified usage parameter set of an RA entity.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String raEntityName,
String paramSetName,
int nodeID)
Get a UsageMBean for the specified usage parameter set of an RA entity on the specified node.
|
static RemoteUsage.UsageNotificationManager |
getUsageNotificationManager(MBeanServerConnection server,
String entityName)
|
static RemoteUsage.UsageNotificationManager |
getUsageNotificationManager(MBeanServerConnection server,
String entityName,
String upiType)
|
static UsageNotificationManagerMBean |
getUsageNotificationManagerMBean(MBeanServerConnection server,
ResourceUsageMBean resourceUsageMBean)
Get a UsageNotificationManagerMBean for an RA entity.
|
static UsageNotificationManagerMBean |
getUsageNotificationManagerMBean(MBeanServerConnection server,
ResourceUsageMBean resourceUsageMBean,
String paramSetType)
Get a UsageNotificationManagerMBean for an RA entity.
|
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String entityName)
Get a
RemoteUsage.UsageReader for the unnamed usage parameter set. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String entityName,
int nodeID)
Get a
RemoteUsage.UsageReader for the unnamed usage parameter set on the specified node. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String entityName,
String paramSetName)
Get a
RemoteUsage.UsageReader for the specified usage parameter set. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String entityName,
String paramSetName,
int nodeID)
Get a
RemoteUsage.UsageReader for the specified usage parameter set on the
specified node. |
public static ResourceUsageMBean getResourceUsageMBean(MBeanServerConnection server, String entityName) throws InvalidArgumentException, UnrecognizedResourceAdaptorEntityException, ManagementException
ResourceUsageMBean proxy object for a RA entity name.entityName - the RA entity nameResourceUsageMBean proxyNullPointerException - if entityName is nullUnrecognizedResourceAdaptorEntityException - if the entity is unrecognizedManagementException - if a management exception occursInvalidArgumentExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, String raEntityName) throws ManagementException, InvalidArgumentException, UnrecognizedResourceAdaptorEntityException
server - a server connectionraEntityName - ManagementExceptionInvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, String raEntityName, String paramSetName) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException, InvalidArgumentException, UnrecognizedResourceAdaptorEntityException
server - a server connectionraEntityName - the name of the resource adaptor entityparamSetName - the name of the usage parameter setNullPointerExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionInvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, String raEntityName, int nodeID) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException, InvalidArgumentException, UnrecognizedResourceAdaptorEntityException
server - a server connectionraEntityName - the name of the resource adaptor entitynodeID - the node ID of the node whose usage state should be accessed by the Usage MBean.NullPointerExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionInvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, String raEntityName, String paramSetName, int nodeID) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException, InvalidArgumentException, UnrecognizedResourceAdaptorEntityException
server - a server connectionraEntityName - the name of the resource adaptor entity.paramSetName - the name of the usage parameter setnodeID - the node ID of the node whose usage state should be accessed by the Usage MBean.NullPointerExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionInvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, ResourceUsageMBean resourceUsageMBean) throws ManagementException
server - a server connectionresourceUsageMBean - a ResourceUsageMBean obtained previouslyManagementExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, ResourceUsageMBean resourceUsageMBean, String paramSetName) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException
server - a server connectionresourceUsageMBean - a ResourceUsageMBean obtained previouslyparamSetName - the name of the usage parameter setNullPointerExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, ResourceUsageMBean resourceUsageMBean, int nodeID) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException
server - a server connectionresourceUsageMBean - a ResourceUsageMBean obtained previouslynodeID - the node ID of the node whose usage state should be accessed by the Usage MBean.NullPointerExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, ResourceUsageMBean resourceUsageMBean, String paramSetName, int nodeID) throws NullPointerException, UnrecognizedUsageParameterSetNameException, ManagementException
server - a server connectionresourceUsageMBean - a ResourceUsageMBean obtained previouslyparamSetName - the name of the usage parameter setnodeID - the node ID of the node whose usage state should be accessed by the Usage MBean.NullPointerExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionpublic static UsageNotificationManagerMBean getUsageNotificationManagerMBean(MBeanServerConnection server, ResourceUsageMBean resourceUsageMBean) throws ManagementException
server - a server connectionresourceUsageMBean - a ResourceUsageMBean obtained previouslyManagementExceptionpublic static UsageNotificationManagerMBean getUsageNotificationManagerMBean(MBeanServerConnection server, ResourceUsageMBean resourceUsageMBean, String paramSetType) throws UnrecognizedUsageParametersInterfaceTypeException, ManagementException
server - a server connectionresourceUsageMBean - a ResourceUsageMBean obtained previouslyparamSetType - the usage parameter set typeManagementExceptionUnrecognizedUsageParametersInterfaceTypeExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String entityName) throws InvalidArgumentException, UnrecognizedResourceAdaptorEntityException, ManagementException
RemoteUsage.UsageReader for the unnamed usage parameter set.server - a server connectionentityName - InvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionManagementExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String entityName, String paramSetName) throws InvalidArgumentException, UnrecognizedResourceAdaptorEntityException, ManagementException, UnrecognizedUsageParameterSetNameException
RemoteUsage.UsageReader for the specified usage parameter set.server - a server connectionentityName - the name of the resource adaptor entity.paramSetName - the name of the usage parameter setInvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String entityName, int nodeID) throws InvalidArgumentException, UnrecognizedResourceAdaptorEntityException, ManagementException, UnrecognizedUsageParameterSetNameException
RemoteUsage.UsageReader for the unnamed usage parameter set on the specified node.server - a server connectionentityName - the name of the resource adaptor entity.nodeID - the node ID of the node whose usage state should be accessed by the Usage MBean.InvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String entityName, String paramSetName, int nodeID) throws InvalidArgumentException, UnrecognizedResourceAdaptorEntityException, ManagementException, UnrecognizedUsageParameterSetNameException
RemoteUsage.UsageReader for the specified usage parameter set on the
specified node.server - a server connectionentityName - the name of the resource adaptor entity.paramSetName - the name of the usage parameter setnodeID - the node ID of the node whose usage state should be accessed by the Usage MBean.InvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionUnrecognizedUsageParameterSetNameExceptionManagementExceptionpublic static RemoteUsage.UsageNotificationManager getUsageNotificationManager(MBeanServerConnection server, String entityName) throws InvalidArgumentException, ManagementException, UnrecognizedResourceAdaptorEntityException
server - a server connectionentityName - the name of the resource adaptor entity.InvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionManagementExceptionpublic static RemoteUsage.UsageNotificationManager getUsageNotificationManager(MBeanServerConnection server, String entityName, String upiType) throws InvalidArgumentException, ManagementException, UnrecognizedResourceAdaptorEntityException, UnrecognizedUsageParametersInterfaceTypeException
server - a server connectionentityName - the name of the resource adaptor entity.upiType - the usage parameters interface typeInvalidArgumentExceptionUnrecognizedResourceAdaptorEntityExceptionUnrecognizedUsageParametersInterfaceTypeExceptionManagementException