public static class RemoteUsage.Sbbs extends Object
Create proxies for SBB Usage MBeans and helper classes to read usage parameters.
| Modifier and Type | Method and Description |
|---|---|
static ServiceUsageMBean |
getServiceUsageMBean(MBeanServerConnection server,
ServiceID serviceID)
Provides a
ServiceUsageMBean proxy object for a ServiceID. |
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID)
Get a UsageMBean for the unnamed parameter set for an SBB.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID,
int nodeID)
Get a UsageMBean for the unnamed parameter set of an SBB on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID,
String paramSetName)
Get a UsageMBean for the specified parameter set of an SBB.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID,
String paramSetName,
int nodeID)
Get a UsageMBean for the specified parameter set of an SBB on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceUsageMBean serviceUsageMBean,
SbbID sbbID)
Get a UsageMBean for the unnamed parameter set of an SBB.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceUsageMBean serviceUsageMBean,
SbbID sbbID,
int nodeID)
Get a UsageMBean for the unnamed parameter set of an SBB on the specified node.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceUsageMBean serviceUsageMBean,
SbbID sbbID,
String paramSetName)
Get a UsageMBean for the specified parameter set of an SBB.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
ServiceUsageMBean serviceUsageMBean,
SbbID sbbID,
String paramSetName,
int nodeID)
Get a UsageMBean for the specified parameter set of an SBB on the specified node.
|
static RemoteUsage.UsageNotificationManager |
getUsageNotificationManager(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID)
|
static RemoteUsage.UsageNotificationManager |
getUsageNotificationManager(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID,
String upiType)
|
static UsageNotificationManagerMBean |
getUsageNotificationManagerMBean(MBeanServerConnection server,
ServiceUsageMBean serviceUsageMBean,
SbbID sbbID)
Get a UsageNotificationManagerMBean for an SBB.
|
static UsageNotificationManagerMBean |
getUsageNotificationManagerMBean(MBeanServerConnection server,
ServiceUsageMBean serviceUsageMBean,
SbbID sbbID,
String upiType)
Get a UsageNotificationManagerMBean for an SBB.
|
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID)
Get a
RemoteUsage.UsageReader for the unnamed parameter set. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID,
int nodeID)
Get a
RemoteUsage.UsageReader for the unnamed parameter set on the specified node. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID,
String paramSetName)
Get a
RemoteUsage.UsageReader for the specified usage parameter set. |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
ServiceID serviceID,
SbbID sbbID,
String paramSetName,
int nodeID)
Get a
RemoteUsage.UsageReader for the specified usage parameter set on the specified node. |
public static ServiceUsageMBean getServiceUsageMBean(MBeanServerConnection server, ServiceID serviceID) throws NullPointerException, UnrecognizedServiceException, ManagementException
Provides a ServiceUsageMBean proxy object for a ServiceID.
serviceID - the component identifier of the ServiceServiceUsageMBean proxyNullPointerException - if serviceId is nullUnrecognizedServiceException - if serviceId is not a recognizable ServiceID for the SLEE or it does not correspond with a Service installed in the SLEEManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedSbbException
Get a UsageMBean for the unnamed parameter set for an SBB.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.UnrecognizedServiceException - if serviceId is not a recognizable ServiceID for the SLEE or it does not correspond with a Service installed in the SLEEUnrecognizedSbbException - if sbbId is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanInvalidArgumentExceptionManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID, String paramSetName) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, UnrecognizedSbbException
Get a UsageMBean for the specified parameter set of an SBB.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.paramSetName - the name of the usage parameter setUnrecognizedServiceException - if serviceID is not a recognizable ServiceID for the SLEE or it does not correspond with a Service installed in the SLEEUnrecognizedSbbException - if sbbID is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failureInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID, int nodeID) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, UnrecognizedSbbException
Get a UsageMBean for the unnamed parameter set of an SBB on the specified node.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.nodeID - the node ID of the node whose usage state should be accessed by the Usage MBeanUnrecognizedServiceException - if serviceID is not a recognizable ServiceID for the SLEE or it does not correspond with a Service installed in the SLEEUnrecognizedSbbException - if sbbID is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failureInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID, String paramSetName, int nodeID) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, UnrecognizedSbbException
Get a UsageMBean for the specified parameter set of an SBB on the specified node.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.paramSetName - the name of the usage parameter setnodeID - the node ID of the node whose usage state should be accessed by the Usage MBeanUnrecognizedServiceException - if serviceID is not a recognizable ServiceID for the SLEE or it does not correspond with a Service installed in the SLEEUnrecognizedSbbException - if sbbID is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failureInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionpublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceUsageMBean serviceUsageMBean, SbbID sbbID) throws NullPointerException, UnrecognizedSbbException, InvalidArgumentException, ManagementException
Get a UsageMBean for the unnamed parameter set of an SBB. Use this method if you already have a ServiceUsageMBean reference.
server - a server connectionserviceUsageMBean - sbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.NullPointerExceptionUnrecognizedSbbException - if sbbId is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanInvalidArgumentExceptionManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceUsageMBean serviceUsageMBean, SbbID sbbID, String paramSetName) throws NullPointerException, UnrecognizedSbbException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, ManagementException
Get a UsageMBean for the specified parameter set of an SBB. Use this method if you already have a ServiceUsageMBean reference.
server - a server connectionserviceUsageMBean - sbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.paramSetName - the name of the usage parameter setNullPointerExceptionUnrecognizedSbbException - if sbbId is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceUsageMBean serviceUsageMBean, SbbID sbbID, int nodeID) throws NullPointerException, UnrecognizedSbbException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, ManagementException
Get a UsageMBean for the unnamed parameter set of an SBB on the specified node. Use this method if you already have a ServiceUsageMBean reference.
server - a server connectionserviceUsageMBean - sbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.nodeID - the node ID of the node whose usage state should be accessed by the Usage MBeanNullPointerExceptionUnrecognizedSbbException - if sbbId is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageMBean getUsageMBean(MBeanServerConnection server, ServiceUsageMBean serviceUsageMBean, SbbID sbbID, String paramSetName, int nodeID) throws NullPointerException, UnrecognizedSbbException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, ManagementException
Get a UsageMBean for the specified parameter set of an SBB on the specified node. Use this method if you already have a ServiceUsageMBean reference.
server - a server connectionserviceUsageMBean - sbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.paramSetName - the name of the usage parameter setnodeID - the node ID of the node whose usage state should be accessed by the Usage MBeanNullPointerExceptionUnrecognizedSbbException - if sbbId is not a recognizable SbbID for the SLEE, does not correspond with an SBB installed in the SLEE, or is not an SBB that participates in the Service whose usage information is being managed by this MBeanInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionManagementException - if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageNotificationManagerMBean getUsageNotificationManagerMBean(MBeanServerConnection server, ServiceUsageMBean serviceUsageMBean, SbbID sbbID) throws NullPointerException, UnrecognizedSbbException, InvalidArgumentException, ManagementException
Get a UsageNotificationManagerMBean for an SBB.
server - a server connectionserviceUsageMBean - sbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.NullPointerExceptionUnrecognizedSbbExceptionInvalidArgumentExceptionManagementExceptionpublic static UsageNotificationManagerMBean getUsageNotificationManagerMBean(MBeanServerConnection server, ServiceUsageMBean serviceUsageMBean, SbbID sbbID, String upiType) throws NullPointerException, UnrecognizedSbbException, InvalidArgumentException, UnrecognizedUsageParametersInterfaceTypeException, ManagementException
Get a UsageNotificationManagerMBean for an SBB.
server - a server connectionserviceUsageMBean - sbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.upiType - the usage parameter set typeNullPointerExceptionUnrecognizedSbbExceptionInvalidArgumentExceptionManagementExceptionUnrecognizedUsageParametersInterfaceTypeExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedSbbException
Get a RemoteUsage.UsageReader for the unnamed parameter set.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.UnrecognizedServiceExceptionManagementExceptionInvalidArgumentExceptionUnrecognizedSbbExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID, String paramSetName) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, UnrecognizedSbbException
Get a RemoteUsage.UsageReader for the specified usage parameter set.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.paramSetName - the name of the usage parameter setUnrecognizedServiceExceptionManagementExceptionInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionUnrecognizedSbbExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID, int nodeID) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, UnrecognizedSbbException
Get a RemoteUsage.UsageReader for the unnamed parameter set on the specified node.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.nodeID - the node ID of the node whose usage state should be accessed by the Usage MBeanUnrecognizedServiceExceptionManagementExceptionInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionUnrecognizedSbbExceptionpublic static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID, String paramSetName, int nodeID) throws UnrecognizedServiceException, ManagementException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, UnrecognizedSbbException
Get a RemoteUsage.UsageReader for the specified usage parameter set on the specified node.
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.paramSetName - the name of the usage parameter setnodeID - the node ID of the node whose usage state should be accessed by the Usage MBeanUnrecognizedServiceExceptionManagementExceptionInvalidArgumentExceptionUnrecognizedUsageParameterSetNameExceptionUnrecognizedSbbExceptionpublic static RemoteUsage.UsageNotificationManager getUsageNotificationManager(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID) throws InvalidArgumentException, ManagementException, UnrecognizedServiceException, UnrecognizedSbbException
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.InvalidArgumentExceptionManagementExceptionUnrecognizedServiceExceptionUnrecognizedSbbExceptionpublic static RemoteUsage.UsageNotificationManager getUsageNotificationManager(MBeanServerConnection server, ServiceID serviceID, SbbID sbbID, String upiType) throws InvalidArgumentException, ManagementException, UnrecognizedServiceException, UnrecognizedSbbException, UnrecognizedUsageParametersInterfaceTypeException
server - a server connectionserviceID - the component identifier of the ServicesbbID - the component identifier of the SBB.
The SBB must be an SBB that is used in the Service whose usage information is being managed by this MBean.upiType - the usage parameters interface typeInvalidArgumentExceptionManagementExceptionUnrecognizedServiceExceptionUnrecognizedSbbExceptionUnrecognizedUsageParametersInterfaceTypeException