public static class RemoteUsage.Subsystems extends Object
Modifier and Type | Method and Description |
---|---|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String subsystemName)
Get a UsageMBean for the unnamed parameter set for a subsystem.
|
static UsageMBean |
getUsageMBean(MBeanServerConnection server,
String subsystemName,
String paramSetName)
Get a UsageMBean for a named parameter set for a subsystem.
|
static RemoteUsage.UsageNotificationManager |
getUsageNotificationManager(MBeanServerConnection server,
String subsystemName)
|
static UsageNotificationManagerMBean |
getUsageNotificationManagerMBean(MBeanServerConnection server,
String subsystemName)
Get a UsageNotificationManagerMBean for a SLEE subsystem.
|
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String subsystemName)
Get a
RemoteUsage.UsageReader . |
static RemoteUsage.UsageReader |
getUsageReader(MBeanServerConnection server,
String subsystemName,
String paramSetName)
Get a
RemoteUsage.UsageReader . |
public static UsageMBean getUsageMBean(MBeanServerConnection server, String subsystemName) throws NullPointerException, UnrecognizedSubsystemException, InvalidArgumentException, ManagementException
server
- a server connectionsubsystemName
- the name of the SLEE subsystemNullPointerException
UnrecognizedSubsystemException
InvalidArgumentException
ManagementException
- if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageMBean getUsageMBean(MBeanServerConnection server, String subsystemName, String paramSetName) throws NullPointerException, UnrecognizedSubsystemException, InvalidArgumentException, UnrecognizedUsageParameterSetNameException, ManagementException
server
- a server connectionsubsystemName
- the name of the SLEE subsystemparamSetName
- the name of the usage parameter setNullPointerException
UnrecognizedSubsystemException
InvalidArgumentException
UnrecognizedUsageParameterSetNameException
ManagementException
- if the Usage MBean Object Name could not be obtained due to a system-level failurepublic static UsageNotificationManagerMBean getUsageNotificationManagerMBean(MBeanServerConnection server, String subsystemName) throws NullPointerException, UnrecognizedSubsystemException, InvalidArgumentException, ManagementException
server
- a server connectionsubsystemName
- the name of the SLEE subsystemNullPointerException
UnrecognizedSubsystemException
InvalidArgumentException
ManagementException
public static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String subsystemName) throws InvalidArgumentException, UnrecognizedSubsystemException, ManagementException
RemoteUsage.UsageReader
.server
- a server connectionsubsystemName
- the name of the SLEE subsystemInvalidArgumentException
UnrecognizedSubsystemException
ManagementException
public static RemoteUsage.UsageReader getUsageReader(MBeanServerConnection server, String subsystemName, String paramSetName) throws InvalidArgumentException, UnrecognizedUsageParameterSetNameException, UnrecognizedSubsystemException, ManagementException
RemoteUsage.UsageReader
.server
- a server connectionsubsystemName
- the name of the SLEE subsystemparamSetName
- the name of the usage parameter setInvalidArgumentException
UnrecognizedUsageParameterSetNameException
UnrecognizedSubsystemException
ManagementException
public static RemoteUsage.UsageNotificationManager getUsageNotificationManager(MBeanServerConnection server, String subsystemName) throws InvalidArgumentException, UnrecognizedSubsystemException, ManagementException
server
- a server connectionsubsystemName
- the name of the SLEE subsystemInvalidArgumentException
UnrecognizedSubsystemException
ManagementException