public class OsgiServiceList extends OsgiServiceCollection implements List, RandomAccess
Modifier and Type | Class and Description |
---|---|
protected class |
OsgiServiceList.OsgiServiceListIterator |
OsgiServiceCollection.OsgiServiceIterator
Modifier and Type | Field and Description |
---|---|
protected List |
storage
cast the collection to a specialized collection
|
services, servicesIdMap
Constructor and Description |
---|
OsgiServiceList(org.osgi.framework.Filter filter,
org.osgi.framework.BundleContext context,
ClassLoader classLoader,
ServiceProxyCreator proxyCreator,
boolean useServiceReference) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Object o) |
boolean |
addAll(int index,
Collection c) |
protected DynamicCollection |
createInternalDynamicStorage()
Create the dynamic storage used internally.
|
Object |
get(int index) |
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int index) |
Object |
remove(int index) |
Object |
set(int index,
Object o) |
List |
subList(int fromIndex,
int toIndex) |
add, addAll, afterPropertiesSet, clear, contains, containsAll, destroy, isEmpty, isSatisfied, iterator, mandatoryServiceCheck, remove, removeAll, retainAll, setListeners, setRequiredAtStartup, setServiceImporter, setServiceImporterName, setStateListeners, setUseBlueprintExceptions, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected List storage
public OsgiServiceList(org.osgi.framework.Filter filter, org.osgi.framework.BundleContext context, ClassLoader classLoader, ServiceProxyCreator proxyCreator, boolean useServiceReference)
protected DynamicCollection createInternalDynamicStorage()
OsgiServiceCollection
createInternalDynamicStorage
in class OsgiServiceCollection
public int lastIndexOf(Object o)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int index)
listIterator
in interface List
public boolean addAll(int index, Collection c)
Copyright © 2006–2014. All rights reserved.