org.quickfixj.jmx.mbean.session
Class SessionSettingsAdmin

java.lang.Object
  extended by org.quickfixj.jmx.mbean.session.SessionSettingsAdmin
All Implemented Interfaces:
javax.management.DynamicMBean

public class SessionSettingsAdmin
extends java.lang.Object
implements javax.management.DynamicMBean

This is a read-only view of a sessions settings. TODO JMX Add ability to identify defaults


Constructor Summary
SessionSettingsAdmin(SessionID sessionID, SessionSettings settings)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attribute)
           
 javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
           
 javax.management.MBeanInfo getMBeanInfo()
           
 SessionID getSessionID()
           
 java.lang.Object invoke(java.lang.String method, java.lang.Object[] arguments, java.lang.String[] params)
           
 void setAttribute(javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionSettingsAdmin

public SessionSettingsAdmin(SessionID sessionID,
                            SessionSettings settings)
                     throws ConfigError
Throws:
ConfigError
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute)
Specified by:
getAttribute in interface javax.management.DynamicMBean

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
Specified by:
getAttributes in interface javax.management.DynamicMBean

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface javax.management.DynamicMBean

invoke

public java.lang.Object invoke(java.lang.String method,
                               java.lang.Object[] arguments,
                               java.lang.String[] params)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
Specified by:
setAttributes in interface javax.management.DynamicMBean

getSessionID

public SessionID getSessionID()