public Boolean isEventNotificationPropertySet() {
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
			SibTr.entry(tc, "isEventNotificationPropertySet", this);

		Boolean enabled = null; // enabled can be null/TRUE/FALSE, ie three-way

		// Test whether custom properties contain a notification prop
		if (customProperties
				.containsKey(JsConstants.SIB_EVENT_NOTIFICATION_KEY)) {
			String value = customProperties
					.getProperty(JsConstants.SIB_EVENT_NOTIFICATION_KEY);

			if (value != null) {
				if (value
						.equals(JsConstants.SIB_EVENT_NOTIFICATION_VALUE_ENABLED)) {
					if (TraceComponent.isAnyTracingEnabled()
							&& tc.isDebugEnabled())
						SibTr.debug(tc,
								"Event Notification is enabled at the Bus");
					enabled = Boolean.TRUE;
				} else if (value
						.equals(JsConstants.SIB_EVENT_NOTIFICATION_VALUE_DISABLED)) {
					if (TraceComponent.isAnyTracingEnabled()
							&& tc.isDebugEnabled())
						SibTr.debug(tc,
								"Event Notification is disabled at the Bus");
					enabled = Boolean.FALSE;
				} else {
					// Value MIS set, treat as NOT set
					if (TraceComponent.isAnyTracingEnabled()
							&& tc.isDebugEnabled())
						SibTr.debug(tc,
								"Event Notification Bus property set to: "
										+ value);
				}
			}
		}

		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
			SibTr.exit(tc, "isEventNotificationPropertySet", enabled);
		return enabled;
	}
public Boolean isEventNotificationPropertySet ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "isEventNotificationPropertySet" , this ) ; Boolean enabled = null ; if ( customProperties . containsKey ( JsConstants . SIB_EVENT_NOTIFICATION_KEY ) ) { String value = customProperties . getProperty ( JsConstants . SIB_EVENT_NOTIFICATION_KEY ) ; if ( value != null ) { if ( value . equals ( JsConstants . SIB_EVENT_NOTIFICATION_VALUE_ENABLED ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Event Notification is enabled at the Bus" ) ; enabled = Boolean . TRUE ; } else if ( value . equals ( JsConstants . SIB_EVENT_NOTIFICATION_VALUE_DISABLED ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Event Notification is disabled at the Bus" ) ; enabled = Boolean . FALSE ; } else { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "Event Notification Bus property set to: " + value ) ; } } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "isEventNotificationPropertySet" , enabled ) ; return enabled ; }
Test whether Event Notification is enabled for the bus.