public class RemoteBridge extends java.lang.Object implements RemoteConnection
Constructor and Description |
---|
RemoteBridge(javax.management.MBeanServerConnection mbsc) |
Modifier and Type | Method and Description |
---|---|
<T> void |
addNotificationListener(long remoteId,
NotificationType<T> notificationType,
NotificationListener<T> notificationListener) |
static javax.management.NotificationFilter |
createTypeFilterFor(NotificationType<?> type) |
static <T> Notification<T> |
fromJmxNotification(long remoteId,
java.lang.Class<T> dataType,
javax.management.Notification notification) |
<T> T |
invoke(long remoteId,
OperationType<T> operationType,
java.lang.Object... args) |
<T> void |
removeNotificationListener(long remoteId,
NotificationType<T> notificationType,
NotificationListener<T> notificationListener) |
static javax.management.Notification |
toJmxNotification(javax.management.ObjectName objectName,
Notification<?> notification) |
public <T> void addNotificationListener(long remoteId, NotificationType<T> notificationType, NotificationListener<T> notificationListener) throws RemoteException
addNotificationListener
in interface RemoteNotifier
RemoteException
public <T> void removeNotificationListener(long remoteId, NotificationType<T> notificationType, NotificationListener<T> notificationListener) throws RemoteException
removeNotificationListener
in interface RemoteNotifier
RemoteException
public <T> T invoke(long remoteId, OperationType<T> operationType, java.lang.Object... args) throws RemoteException
invoke
in interface RemoteInvoker
RemoteException
public static javax.management.NotificationFilter createTypeFilterFor(NotificationType<?> type)
public static <T> Notification<T> fromJmxNotification(long remoteId, java.lang.Class<T> dataType, javax.management.Notification notification)
public static javax.management.Notification toJmxNotification(javax.management.ObjectName objectName, Notification<?> notification)