org.eclipse.gemini.blueprint.service.importer.support.internal.collection
Class OsgiServiceSet
java.lang.Object
org.eclipse.gemini.blueprint.service.importer.support.internal.collection.OsgiServiceCollection
org.eclipse.gemini.blueprint.service.importer.support.internal.collection.OsgiServiceSet
- All Implemented Interfaces:
- Iterable, Collection, Set, CollectionProxy, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- OsgiServiceSortedSet
public class OsgiServiceSet
- extends OsgiServiceCollection
- implements Set
OSGi service dynamic collection - allows iterating while the underlying storage is being shrunk/expanded. This
collection is read-only - its content is being retrieved dynamically from the OSGi platform.
This collection and its iterators are thread-safe. That is, multiple threads can access the collection. However,
since the collection is read-only, it cannot be modified by the client.
- Author:
- Costin Leau
Methods inherited from class org.eclipse.gemini.blueprint.service.importer.support.internal.collection.OsgiServiceCollection |
add, addAll, afterPropertiesSet, clear, contains, containsAll, destroy, isEmpty, isSatisfied, iterator, mandatoryServiceCheck, remove, removeAll, retainAll, setListeners, setRequiredAtStartup, setServiceImporter, setServiceImporterName, setStateListeners, setUseBlueprintExceptions, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
OsgiServiceSet
public OsgiServiceSet(org.osgi.framework.Filter filter,
org.osgi.framework.BundleContext context,
ClassLoader classLoader,
ServiceProxyCreator proxyCreator,
boolean useServiceReferences)
createInternalDynamicStorage
protected DynamicCollection createInternalDynamicStorage()
- Description copied from class:
OsgiServiceCollection
- Create the dynamic storage used internally. The storage has to be thread-safe.
- Overrides:
createInternalDynamicStorage
in class OsgiServiceCollection
Copyright © 2006-2012. All Rights Reserved.