Package org.springframework.osgi.service.importer.support.internal.collection

Examples of org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceSet


      collection = (comparator == null ? new OsgiServiceList(filter, bundleContext, classLoader, proxyCreator)
          : new OsgiServiceSortedList(filter, bundleContext, classLoader, comparator, proxyCreator));
      delegate = Collections.unmodifiableList((List) collection);
    }
    else if (CollectionType.SET.equals(collectionType)) {
      collection = (comparator == null ? new OsgiServiceSet(filter, bundleContext, classLoader, proxyCreator)
          : new OsgiServiceSortedSet(filter, bundleContext, classLoader, comparator, proxyCreator));

      delegate = Collections.unmodifiableSet((Set) collection);
    }
    else if (CollectionType.SORTED_LIST.equals(collectionType)) {
View Full Code Here


    col = null;
    iter = null;
  }

  OsgiServiceCollection createCollection() {
    return new OsgiServiceSet(null, context, getClass().getClassLoader(), createProxyCreator(new Class[] {
        Wrapper.class, Comparable.class }));
  }
View Full Code Here

TOP

Related Classes of org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceSet

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.