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(
subscription.getListenerConfig().getSubscribeListenerWith( ),
listener, filter ));
String monitorNames = subscription.getListenerConfig(
).getSubscribeListenerWith( );
if( logger.isLoggable( Level.FINE ) ) {
logger.log( Level.FINE,
"AlertConfigurator.configure monitorNames.." +
monitorNames );