public void serviceChanged(ServiceEvent serviceevent) {
try {
// Create a notification for the event
final Notification notification = new Notification(EVENT, OBJECTNAME,
notificationSequenceNumber.getAndIncrement());
notification.setUserData(new ServiceEventData(serviceevent).toCompositeData());
// also send notifications to the serviceIDs attribute listeners, if a service was added or removed
final AttributeChangeNotification attributeChangeNotification =
getAttributeChangeNotification(serviceevent);