Package com.sun.appserv.management.util.jmx

Examples of com.sun.appserv.management.util.jmx.AttributeNameMapper


    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    m.addMapping( "JmsMaxMessagesLoad", "JMSMaxMessagesLoad" );
  }
View Full Code Here


    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
  /**
    name from getStatisticNames    name in Statistic[]
    NumConnAcquired          NumConnOpened
    NumConnReleased          NumConnClosed
    AverageConnWaitTime        AvgConnWaitTime
   */
    m.addMapping( "NumConnOpened", "NumConnAcquired"  );
    m.addMapping( "NumConnClosed""NumConnReleased"  );
    m.addMapping( "AvgConnWaitTime", "AverageConnWaitTime" );
  }
View Full Code Here

    special conversion.
   */
    protected void
  initFieldNameMapper()
  {
    final AttributeNameMapper  m  = getFieldNameMapper();
   
    assert( (STD_FIELDS.length % 2) == 0 );
    for( int i = 0; i < STD_FIELDS.length - 1; ++i )
    {
      m.addMapping( STD_FIELDS[ i ], STD_FIELDS[ i + 1 ] );
    }
  }
View Full Code Here

    special conversion.
   */
    protected void
  initStatisticNameMapper()
  {
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    final String[]  mappings  = STD_STATISTICS;
   
    for( int i = 0; i < mappings.length -1; ++i )
    {
      m.addMapping( mappings[ i ], mappings[ i + 1 ] );
    }
  }
View Full Code Here

    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    // see JSR77.6.31; our old MBean uses the wrong field names (bug)
    m.addMapping( "JvmHeapSize", "HeapSize" );
    m.addMapping( "JvmUpTime", "UpTime" );
  }
View Full Code Here

    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    // old MBean advertises one set of names, supplies another!
    m.addMapping( "NumberOfConnections", "TotalConnections" );
    m.addMapping( "NumberOfBusyConnections", "ConnectionsInUse" );
    m.addMapping( "NumberOfIdleConnections", "ConnectionsIdle" );
  }
View Full Code Here

    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    m.addMapping( "ActiveIds", "ActiveIDs" );
  }
View Full Code Here

    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
  /**
    name from getStatisticNames    name in Statistic[]
    NumConnAcquired          NumConnOpened
    NumConnReleased          NumConnClosed
    AverageConnWaitTime        AvgConnWaitTime
   */
    m.addMapping( "NumConnOpened", "NumConnAcquired"  );
    m.addMapping( "NumConnClosed""NumConnReleased"  );
    m.addMapping( "AvgConnWaitTime", "AverageConnWaitTime" );
  }
View Full Code Here

    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    m.addMapping( "JspCount", "JSPCount" );
    m.addMapping( "JspErrorCount", "JSPErrorCount" );
    m.addMapping( "JspReloadCount", "JSPReloadCount" );
  }
View Full Code Here

    protected final void
  initStatisticNameMapper()
  {
    super.initStatisticNameMapper();
   
    final AttributeNameMapper  m  = getStatisticNameMapper();
   
    m.addMapping( "NumPassivations", "Passivations" );
    m.addMapping( "NumPassivationSuccess", "PassivationSuccesses" );
    m.addMapping( "NumExpiredSessionsRemoved", "ExpiredSessionsRemoved" );
    m.addMapping( "NumPassivationErrors", "PassivationErrors" );
    m.addMapping( "NumBeansInCache", "BeansInCache" );
  }
View Full Code Here

TOP

Related Classes of com.sun.appserv.management.util.jmx.AttributeNameMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.