Examples of OrbConnectionManagerStats


Examples of com.sun.enterprise.admin.monitor.stats.OrbConnectionManagerStats

                while( outboundConnectionListIterator.hasNext() ) {
                    MonitoredObject outboundConnection =
                        (MonitoredObject) outboundConnectionListIterator.next();

                    try {
                        OrbConnectionManagerStats connectionManagerStats =
                            new OrbConnectionManagerStatsImpl( outboundConnection );

                        registry.registerOrbConnectionManagerStats( connectionManagerStats,
          orbRoot.getName() +
                            "." + MonitoringConstants.CONNECTION_MONITORING_ROOT +
                            "." + MonitoringConstants.OUTBOUND_CONNECTION_MONITORING_ROOT +
                            "." + outboundConnection.getName(),
                            null );

                    } catch( MonitoringRegistrationException mex ) {
                        //TODO: localize these messages
                        _logger.log( Level.WARNING,
                            "Unable to register Outbound ORB Connections - ", mex );
                    } catch( Exception ex ) {
                        //TODO: localize these messages
                        _logger.log( Level.WARNING,
                            "Unexpected exception caught when registering Outbound ORB Connections", ex );
                    }
                }
            }

            if( rootInboundConnections != null ) {
                inboundConnectionListIterator =
                    rootInboundConnections.getChildren().iterator();

                while( inboundConnectionListIterator.hasNext() ) {
                    MonitoredObject inboundConnection =
                        (MonitoredObject) inboundConnectionListIterator.next();
       
                    try {
                        OrbConnectionManagerStats connectionManagerStats =
                            new OrbConnectionManagerStatsImpl( inboundConnection );
       
                        registry.registerOrbConnectionManagerStats( connectionManagerStats,
          orbRoot.getName() +
                            "." + MonitoringConstants.CONNECTION_MONITORING_ROOT +
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.