public class ClusterChannelMBean
extends java.lang.Object
implements javax.management.DynamicMBean, java.lang.AutoCloseable
| Constructor and Description |
|---|
ClusterChannelMBean(org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?> clusterChannel,
JmxRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?>> |
castForAttribute(java.lang.Class<T> type) |
protected <T extends org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?>> |
castForOperation(java.lang.Class<T> type) |
void |
close() |
java.lang.Object |
getAttribute(java.lang.String attribute) |
protected java.util.List<javax.management.MBeanAttributeInfo> |
getAttributes() |
javax.management.AttributeList |
getAttributes(java.lang.String[] attributes) |
protected javax.management.MBeanAttributeInfo[] |
getAttributesArray() |
org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?> |
getChannel() |
javax.management.MBeanInfo |
getMBeanInfo() |
protected java.util.List<javax.management.MBeanOperationInfo> |
getOperations() |
protected javax.management.MBeanOperationInfo[] |
getOperationsArray() |
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature) |
void |
setAttribute(javax.management.Attribute attribute) |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes) |
public ClusterChannelMBean(@Nonnull
org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?> clusterChannel,
@Nonnull
JmxRegistry registry)
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception@Nonnull public org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?> getChannel()
public java.lang.Object getAttribute(java.lang.String attribute)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
getAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundExceptionjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
setAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundExceptionjavax.management.InvalidAttributeValueExceptionjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic java.lang.Object invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
invoke in interface javax.management.DynamicMBeanjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo in interface javax.management.DynamicMBean@Nonnull protected javax.management.MBeanAttributeInfo[] getAttributesArray()
@Nonnull protected java.util.List<javax.management.MBeanAttributeInfo> getAttributes()
@Nonnull protected javax.management.MBeanOperationInfo[] getOperationsArray()
@Nonnull protected java.util.List<javax.management.MBeanOperationInfo> getOperations()
@Nonnull
protected <T extends org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?>> T castForAttribute(@Nonnull
java.lang.Class<T> type)
throws javax.management.AttributeNotFoundException
javax.management.AttributeNotFoundException@Nonnull
protected <T extends org.echocat.jomon.net.cluster.channel.ClusterChannel<?,?>> T castForOperation(@Nonnull
java.lang.Class<T> type)
throws javax.management.MBeanException
javax.management.MBeanExceptionpublic javax.management.AttributeList getAttributes(java.lang.String[] attributes)
getAttributes in interface javax.management.DynamicMBeanpublic javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes in interface javax.management.DynamicMBeanCopyright © 2016 echocat. All Rights Reserved.