Package org.osgi.service.remoteserviceadmin

Examples of org.osgi.service.remoteserviceadmin.EndpointEvent


          }
        // and EndpointEventListenerEvents
        } else if (eventObject instanceof EndpointEventListenerEvent) {
          final EndpointEventListenerEvent event = (EndpointEventListenerEvent) eventObject;
          final EndpointEventListener endpointEventListener = event.getEndpointEventListener();
          final EndpointEvent endpointEvent = event.getEndpointEvent();
          final String matchingFilter = event.getMatchingFilter();
          try {
            trace("endpointEventListener.discovered=" + getEndpointEventTypeAsString(endpointEvent.getType()) + " ", "fwk=" + getFrameworkUUID() + ", endpointEventListener=" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
                    + endpointEventListener
                    + ", endpointEvent=" //$NON-NLS-1$
                    + endpointEvent + ", matchingFilter=" //$NON-NLS-1$
                    + matchingFilter);
            endpointEventListener.endpointChanged(endpointEvent,
View Full Code Here


    if (eventQueue == null)
      return;
    synchronized (eventQueue) {
      eventQueue
          .dispatchEventAsynchronous(0, new EndpointEventListenerEvent(
              listener, new EndpointEvent(eventType, endpointDescription), matchingFilter));
    }
  }
View Full Code Here

      }
    }

    public void deliverRemoveEventForBundle(EndpointEventHolder eventHolder) {
      deliverSafe(
          new EndpointEvent(EndpointEvent.REMOVED,
              eventHolder.getEndpoint()), eventHolder.getFilter());
    }
View Full Code Here

TOP

Related Classes of org.osgi.service.remoteserviceadmin.EndpointEvent

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.