Home
last modified time | relevance | path

Searched refs:serviceReferences (Results 1 – 15 of 15) sorted by relevance

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.cm/src/org/eclipse/equinox/internal/cm/
H A DPluginManager.java97 …private TreeSet<ServiceReference<ConfigurationPlugin>> serviceReferences = new TreeSet<>(new Compa… field in PluginManager.PluginTracker
120 synchronized (serviceReferences) { in getServiceReferences()
121 return serviceReferences.toArray(new ServiceReference[serviceReferences.size()]); in getServiceReferences()
127 synchronized (serviceReferences) { in addingService()
128 serviceReferences.add(reference); in addingService()
140 synchronized (serviceReferences) { in removedService()
141 serviceReferences.remove(reference); in removedService()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.runtime/bundles/org.eclipse.e4.core.di.extensions.supplier/src/org/eclipse/e4/core/di/internal/extensions/
H A DServiceSupplier.java152 ServiceReference<?>[] serviceReferences = context.getServiceReferences(cl.getName(), filter); in handleSingle() local
153 if (serviceReferences != null) { in handleSingle()
154 Arrays.sort(serviceReferences); in handleSingle()
156 if (serviceReferences.length > 0) { in handleSingle()
157 result = context.getService(serviceReferences[serviceReferences.length - 1]); in handleSingle()
184 ServiceReference<?>[] serviceReferences = context.getServiceReferences(cl.getName(), filter); in handleCollection() local
185 if( serviceReferences != null ) { in handleCollection()
186 Arrays.sort(serviceReferences); in handleCollection()
188 for (ServiceReference<?> serviceReference : serviceReferences) { in handleCollection()
/dports/x11-toolkits/ctk/CTK-2018-10-29/Plugins/org.commontk.configadmin/
H A DctkCMPluginManager.cpp52 ServiceRefContainer serviceReferences; member in _PluginTracker
67 ServiceRefContainer::const_iterator refEnd = serviceReferences.end(); in getServiceReferences()
68 for (ServiceRefContainer::const_iterator it = serviceReferences.begin(); in getServiceReferences()
79 serviceReferences.insert(reference); in addingService()
95 serviceReferences.erase(reference); in removedService()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/
H A DScrServiceImpl.java316 Collection<ServiceReference<?>> serviceReferences = new ArrayList<ServiceReference<?>>(); in getServiceReferences() local
320 serviceReferences.add(ref); in getServiceReferences()
323 return serviceReferences.isEmpty() ? null : serviceReferences.toArray(new ServiceReference[0]); in getServiceReferences()
343 Collection<ServiceReference<?>> serviceReferences = new ArrayList<ServiceReference<?>>(); in getServiceReferences() local
347 serviceReferences.add(ref); in getServiceReferences()
350 return serviceReferences.isEmpty() ? null : serviceReferences.toArray(new ServiceReference[0]); in getServiceReferences()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/
H A DBundleHelper.java92 ServiceReference<?>[] serviceReferences = null; in getProvisioningAgent() local
94 serviceReferences = context.getServiceReferences(IProvisioningAgent.SERVICE_NAME, filter); in getProvisioningAgent()
95 if (serviceReferences != null) { in getProvisioningAgent()
96 return (IProvisioningAgent) context.getService(serviceReferences[0]); in getProvisioningAgent()
101 if (serviceReferences != null) in getProvisioningAgent()
102 context.ungetService(serviceReferences[0]); in getProvisioningAgent()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.transforms.hook/src/org/eclipse/equinox/internal/transforms/
H A DTransformerList.java78 ServiceReference<Object>[] serviceReferences = getServiceReferences(); in rebuildTransformersMap() local
80 if (serviceReferences == null) in rebuildTransformersMap()
83 for (ServiceReference<Object> serviceReference : serviceReferences) { in rebuildTransformersMap()
H A DTransformInstanceListData.java125 ServiceReference<URL>[] serviceReferences = getServiceReferences(); in rebuildTransformMap() local
127 if (serviceReferences == null) in rebuildTransformMap()
130 for (ServiceReference<URL> serviceReference : serviceReferences) { in rebuildTransformMap()
/dports/net-im/jitsi-videobridge/jitsi-videobridge-dbddd16/src/main/java/org/jitsi/videobridge/xmpp/
H A DClientConnectionImpl.java121 Collection<ServiceReference<ComponentImpl>> serviceReferences in stop() local
124 if (serviceReferences != null) in stop()
127 : serviceReferences) in stop()
H A DComponentImpl.java455 Collection<ServiceReference<ComponentImpl>> serviceReferences in stop() local
458 if (serviceReferences != null) in stop()
461 : serviceReferences) in stop()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/url/
H A DContentHandlerFactoryImpl.java111 …ServiceReference<ContentHandler>[] serviceReferences = contentHandlerTracker.getServiceReferences(… in createInternalContentHandler() local
112 if (serviceReferences != null) { in createInternalContentHandler()
113 for (ServiceReference<ContentHandler> serviceReference : serviceReferences) { in createInternalContentHandler()
H A DURLStreamHandlerFactoryImpl.java164 …ServiceReference<URLStreamHandlerService>[] serviceReferences = handlerTracker.getServiceReference… in createInternalURLStreamHandler()
165 if (serviceReferences == null) in createInternalURLStreamHandler()
167 for (ServiceReference<URLStreamHandlerService> serviceReference : serviceReferences) { in createInternalURLStreamHandler()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/hook/
H A DRegionServiceFindHookTests.java67 private Map<String, ServiceReference<Object>> serviceReferences; field in RegionServiceFindHookTests
78 this.serviceReferences = new HashMap<String, ServiceReference<Object>>(); in setUp()
336 this.serviceReferences.put(referenceName, stubServiceReference); in createServiceReference()
340 this.serviceReferences.put(DUPLICATE + stubBundle.getBundleId(), dupServiceReference); in createServiceReference()
354 return this.serviceReferences.get(referenceName); in serviceReference()
H A DRegionServiceEventHookTests.java67 private Map<String, ServiceReference<Object>> serviceReferences; field in RegionServiceEventHookTests
76 this.serviceReferences = new HashMap<String, ServiceReference<Object>>(); in setUp()
278 this.serviceReferences.put(referenceName, stubServiceReference); in createServiceReference()
282 this.serviceReferences.put(DUPLICATE + stubBundle.getBundleId(), dupServiceReference); in createServiceReference()
308 return this.serviceReferences.get(referenceName); in serviceReference()
/dports/x11-toolkits/ctk/CTK-2018-10-29/Plugins/org.commontk.metatype/
H A DctkMTProviderTracker.cpp158 QList<ctkServiceReference> serviceReferences = services.keys(); in getMetaTypeProviders() local
160 foreach (ctkServiceReference serviceReference, serviceReferences) in getMetaTypeProviders()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/target/
H A DP2TargetUtils.java362 ServiceReference<?>[] serviceReferences = null; in getAgent() local
365 serviceReferences = context.getServiceReferences(IProvisioningAgent.SERVICE_NAME, filter); in getAgent()
366 if (serviceReferences != null) { in getAgent()
367 return (IProvisioningAgent) context.getService(serviceReferences[0]); in getAgent()
372 if (serviceReferences != null) { in getAgent()
373 context.ungetService(serviceReferences[0]); in getAgent()