}
EventLogger.logEvent( WidgetProperties.getInstance().getGuid(), "open BIS push listener".getBytes() );
ApplicationDescriptor ad = new ApplicationDescriptor( ApplicationDescriptor.currentApplicationDescriptor(), new String[] {
"PushDaemon", entryPage, "" + maxQueueCap } );
PushApplicationDescriptor pad = new PushApplicationDescriptor( appId, port, serverUrl,
PushApplicationDescriptor.SERVER_TYPE_BPAS, ad );
int status = PushApplicationRegistry.getStatus( pad ).getStatus();
if( status != PushApplicationStatus.STATUS_ACTIVE ) {
EventLogger.logEvent( WidgetProperties.getInstance().getGuid(), "Register push application".getBytes() );
PushApplicationRegistry.registerApplication( pad );