Package org.osgi.service.coordinator

Examples of org.osgi.service.coordinator.Participant


  protected void addConstituent(final Resource resource) {
    // Don't let a resource become a constituent of itself.
    if (provisionTo == null || resource.equals(provisionTo))
      return;
    Activator.getInstance().getSubsystems().addConstituent(provisionTo, resource, isReferencedProvisionTo());
    coordination.addParticipant(new Participant() {
      @Override
      public void ended(Coordination arg0) throws Exception {
        // Nothing
      }
View Full Code Here


    // to track all constituents for persistence purposes, which includes
    // resources that were provisioned to the subsystem as dependencies of
    // other resources.
    if (isReferencedSubsystem())
      Activator.getInstance().getSubsystems().addReference(subsystem, resource);
    coordination.addParticipant(new Participant() {
      @Override
      public void ended(Coordination arg0) throws Exception {
        // Nothing
      }
View Full Code Here

TOP

Related Classes of org.osgi.service.coordinator.Participant

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.