Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.AlertService


    public void configure( ) {
        Logger logger = LogDomains.getAlertLogger( );
        if( logger.isLoggable( Level.FINE ) ) {
            logger.log( Level.FINE, "AlertConfigurator.configure called.." );
        }
        AlertService alertService = getAlertService( );
        if( alertService != null ) {
            int count = alertService.sizeAlertSubscription( );
            if( count == 0 ) return;

            List alertSubscriptionList = new ArrayList( );
            for( int i = 0; i < count; i++ ) {
                AlertSubscription subscription =
                    alertService.getAlertSubscription( i );
                NotificationListener listener = configureNotificationListener(
                    subscription.getListenerConfig( ) );
                NotificationFilter filter = configureNotificationFilter(
                    subscription.getFilterConfig( ) );
                alertSubscriptionList.add( new AlertSubscriptionInfo(
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.serverbeans.AlertService

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.