public class OsgiServiceList extends OsgiServiceCollection implements java.util.List, java.util.RandomAccess
| Modifier and Type | Class and Description |
|---|---|
protected class |
OsgiServiceList.OsgiServiceListIterator |
OsgiServiceCollection.OsgiServiceIterator| Modifier and Type | Field and Description |
|---|---|
protected java.util.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,
java.lang.ClassLoader classLoader,
ServiceProxyCreator proxyCreator,
boolean useServiceReference) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
java.lang.Object o) |
boolean |
addAll(int index,
java.util.Collection c) |
protected DynamicCollection |
createInternalDynamicStorage()
Create the dynamic storage used internally.
|
java.lang.Object |
get(int index) |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator |
listIterator() |
java.util.ListIterator |
listIterator(int index) |
java.lang.Object |
remove(int index) |
java.lang.Object |
set(int index,
java.lang.Object o) |
java.util.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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected java.util.List storage
public OsgiServiceList(org.osgi.framework.Filter filter,
org.osgi.framework.BundleContext context,
java.lang.ClassLoader classLoader,
ServiceProxyCreator proxyCreator,
boolean useServiceReference)
protected DynamicCollection createInternalDynamicStorage()
OsgiServiceCollectioncreateInternalDynamicStorage in class OsgiServiceCollectionpublic java.lang.Object get(int index)
get in interface java.util.Listpublic int indexOf(java.lang.Object o)
indexOf in interface java.util.Listpublic int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.Listpublic java.util.ListIterator listIterator()
listIterator in interface java.util.Listpublic java.util.ListIterator listIterator(int index)
listIterator in interface java.util.Listpublic java.util.List subList(int fromIndex,
int toIndex)
subList in interface java.util.Listpublic java.lang.Object remove(int index)
remove in interface java.util.Listpublic java.lang.Object set(int index,
java.lang.Object o)
set in interface java.util.Listpublic void add(int index,
java.lang.Object o)
add in interface java.util.Listpublic boolean addAll(int index,
java.util.Collection c)
addAll in interface java.util.List