Package org.osgi.jmx.codec

Examples of org.osgi.jmx.codec.OSGiServiceEvent


  protected ServiceListener getServiceListener() {
    return new AllServiceListener() {
      public void serviceChanged(ServiceEvent serviceEvent) {
        Notification notification = new Notification(
            SERVICE_EVENT_TYPE, objectName, sequenceNumber++);
        notification.setUserData(new OSGiServiceEvent(serviceEvent)
            .asCompositeData());
        sendNotification(notification);
      }
    };
  }
View Full Code Here

TOP

Related Classes of org.osgi.jmx.codec.OSGiServiceEvent

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.