|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
net.sf.appia.management.jmx.ChannelManager
public class ChannelManager
This class defines a ChannelManager.
Constructor Summary | |
---|---|
ChannelManager(Channel ch)
Creates a new ChannelManager. |
Method Summary | |
---|---|
void |
addManagedSession(Session s)
Adds a session to manage. |
java.lang.Object |
getAttribute(java.lang.String att)
|
javax.management.AttributeList |
getAttributes(java.lang.String[] attrs)
|
java.lang.String |
getChannelName()
Gets the name of the managed channel. |
javax.management.MBeanInfo |
getMBeanInfo()
|
boolean |
getStarted()
|
int |
getUsedMemory()
|
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
|
void |
onNotification(javax.management.Notification notification)
Callback that receives a notification from the channel. |
Session |
removeManagedSession(Session s)
Removes a session to manage. |
void |
setAttribute(javax.management.Attribute att)
|
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attList)
|
Methods inherited from class javax.management.NotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelManager(Channel ch)
ch
- the managed channel.Method Detail |
---|
public void addManagedSession(Session s)
s
- the session to manage.public Session removeManagedSession(Session s)
s
- the session to manage
public void onNotification(javax.management.Notification notification)
onNotification
in interface SensorSessionListener
notification
- the received notificationSensorSessionListener.onNotification(javax.management.Notification)
public java.lang.String getChannelName()
ChannelManagerMBean.getChannelName()
public boolean getStarted()
public int getUsedMemory()
public java.lang.Object getAttribute(java.lang.String att) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList getAttributes(java.lang.String[] attrs)
getAttributes
in interface javax.management.DynamicMBean
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean
public 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.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute att) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList setAttributes(javax.management.AttributeList attList)
setAttributes
in interface javax.management.DynamicMBean
|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |