Uses of Interface
org.osgi.framework.ServiceReference

Packages that use ServiceReference
org.apache.felix.framework   
org.apache.felix.framework.util   
org.eclipse.equinox.log   
org.eclipse.equinox.log.internal   
org.eclipse.osgi.framework.debug   
org.eclipse.osgi.framework.internal.core   
org.eclipse.osgi.framework.internal.protocol   
org.eclipse.osgi.framework.util   
org.eclipse.osgi.internal.serviceregistry   
org.eclipse.osgi.launch   
org.osgi.framework Framework Package Version 1.5. 
org.osgi.framework.hooks.service Framework Service Hooks Package Version 1.0. 
org.osgi.service.log Log Service Package Version 1.3. 
org.osgi.util.tracker   
 

Uses of ServiceReference in org.apache.felix.framework
 

Methods in org.apache.felix.framework that return ServiceReference
 ServiceReference[] ServiceRegistry.getRegisteredServices(Bundle bundle)
           
 ServiceReference[] ServiceRegistry.getServicesInUse(Bundle bundle)
           
 

Methods in org.apache.felix.framework that return types with arguments of type ServiceReference
<S> java.util.Set<ServiceReference<S>>
ServiceRegistry.getHooks(java.lang.Class<S> hookClass)
           
<S> java.util.Set<ServiceReference<S>>
Felix.getHooks(java.lang.Class<S> hookClass)
           
 

Methods in org.apache.felix.framework with parameters of type ServiceReference
protected  void Logger.doLog(Bundle bundle, ServiceReference sr, int level, java.lang.String msg, java.lang.Throwable throwable)
           
<S> S
ServiceRegistry.getService(Bundle bundle, ServiceReference<S> ref)
           
 Bundle[] ServiceRegistry.getUsingBundles(ServiceReference ref)
           
 void Logger.log(ServiceReference sr, int level, java.lang.String msg)
           
 void Logger.log(ServiceReference sr, int level, java.lang.String msg, java.lang.Throwable throwable)
           
 boolean FilterImpl.match(ServiceReference sr)
           
 boolean ServiceRegistry.ungetService(Bundle bundle, ServiceReference ref)
           
 

Uses of ServiceReference in org.apache.felix.framework.util
 

Methods in org.apache.felix.framework.util with parameters of type ServiceReference
static boolean Util.isServiceAssignable(Bundle requester, ServiceReference ref)
          This method determines if the requesting bundle is able to cast the specified service reference based on class visibility rules of the underlying modules.
 

Method parameters in org.apache.felix.framework.util with type arguments of type ServiceReference
 void SecureAction.invokeServiceFindHook(FindHook fh, BundleContext context, java.lang.String name, java.lang.String filter, boolean allServices, java.util.Collection<ServiceReference<?>> references)
           
 

Uses of ServiceReference in org.eclipse.equinox.log
 

Methods in org.eclipse.equinox.log with parameters of type ServiceReference
 void Logger.log(ServiceReference<?> sr, int level, java.lang.String message)
           
 void Logger.log(ServiceReference<?> sr, int level, java.lang.String message, java.lang.Throwable exception)
           
 

Uses of ServiceReference in org.eclipse.equinox.log.internal
 

Methods in org.eclipse.equinox.log.internal that return ServiceReference
 ServiceReference ExtendedLogEntryImpl.getServiceReference()
           
 

Methods in org.eclipse.equinox.log.internal with parameters of type ServiceReference
 java.lang.Object EventAdminAdapter.addingService(ServiceReference<java.lang.Object> reference)
           
 void ExtendedLogServiceImpl.log(ServiceReference sr, int level, java.lang.String message)
           
 void LoggerImpl.log(ServiceReference sr, int level, java.lang.String message)
           
 void ExtendedLogServiceImpl.log(ServiceReference sr, int level, java.lang.String message, java.lang.Throwable exception)
           
 void LoggerImpl.log(ServiceReference sr, int level, java.lang.String message, java.lang.Throwable exception)
           
 void EventAdminAdapter.modifiedService(ServiceReference<java.lang.Object> reference, java.lang.Object tracked)
           
static void EventAdminLogListener.putServiceReferenceProperties(java.util.Hashtable<java.lang.String,java.lang.Object> properties, ServiceReference<?> ref)
           
 void EventAdminAdapter.removedService(ServiceReference<java.lang.Object> reference, java.lang.Object tracked)
           
 

Uses of ServiceReference in org.eclipse.osgi.framework.debug
 

Methods in org.eclipse.osgi.framework.debug with parameters of type ServiceReference
 DebugOptionsListener FrameworkDebugOptions.addingService(ServiceReference<DebugOptionsListener> reference)
           
 void FrameworkDebugOptions.modifiedService(ServiceReference<DebugOptionsListener> reference, DebugOptionsListener service)
           
 void FrameworkDebugOptions.removedService(ServiceReference<DebugOptionsListener> reference, DebugOptionsListener service)
           
 

Uses of ServiceReference in org.eclipse.osgi.framework.internal.core
 

Methods in org.eclipse.osgi.framework.internal.core that return ServiceReference
 ServiceReference<?>[] BundleContextImpl.getAllServiceReferences(java.lang.String clazz, java.lang.String filter)
           
 ServiceReference<?>[] BundleHost.getRegisteredServices()
          Provides a list of ServiceReferences for the services registered by this bundle or null if the bundle has no registered services.
 ServiceReference<?>[] EquinoxLauncher.getRegisteredServices()
           
 ServiceReference<?>[] BundleFragment.getRegisteredServices()
          Provides a list of ServiceReferences for the services registered by this bundle or null if the bundle has no registered services.
<S> ServiceReference<S>
BundleContextImpl.getServiceReference(java.lang.Class<S> clazz)
           
 ServiceReference<?> BundleContextImpl.getServiceReference(java.lang.String clazz)
          Get a service reference.
 ServiceReference<?>[] BundleContextImpl.getServiceReferences(java.lang.String clazz, java.lang.String filter)
          Returns a list of ServiceReference objects.
 ServiceReference<?>[] BundleHost.getServicesInUse()
          Provides a list of ServiceReferences for the services this bundle is using, or null if the bundle is not using any services.
 ServiceReference<?>[] EquinoxLauncher.getServicesInUse()
           
 ServiceReference<?>[] BundleFragment.getServicesInUse()
          Provides a list of ServiceReferences for the services this bundle is using, or null if the bundle is not using any services.
 

Methods in org.eclipse.osgi.framework.internal.core that return types with arguments of type ServiceReference
<S> java.util.Collection<ServiceReference<S>>
BundleContextImpl.getServiceReferences(java.lang.Class<S> clazz, java.lang.String filter)
           
 

Methods in org.eclipse.osgi.framework.internal.core with parameters of type ServiceReference
 FrameworkConsole ConsoleManager.addingService(ServiceReference<ConsoleSession> reference)
           
<S> S
BundleContextImpl.getService(ServiceReference<S> reference)
          Get a service's service object.
 boolean FilterImpl.match(ServiceReference<?> reference)
          Filter using a service's properties.
 void ConsoleManager.modifiedService(ServiceReference<ConsoleSession> reference, FrameworkConsole service)
           
 void ConsoleManager.removedService(ServiceReference<ConsoleSession> reference, FrameworkConsole service)
           
 boolean BundleContextImpl.ungetService(ServiceReference<?> reference)
          Unget a service's service object.
 

Uses of ServiceReference in org.eclipse.osgi.framework.internal.protocol
 

Fields in org.eclipse.osgi.framework.internal.protocol declared as ServiceReference
protected  ServiceReference<java.net.ContentHandler> ContentHandlerProxy.contentHandlerServiceReference
           
protected  ServiceReference<URLStreamHandlerService> URLStreamHandlerProxy.urlStreamServiceReference
           
 

Fields in org.eclipse.osgi.framework.internal.protocol with type parameters of type ServiceReference
protected  ServiceTracker<java.net.ContentHandler,ServiceReference<java.net.ContentHandler>> ContentHandlerProxy.contentHandlerServiceTracker
           
protected  ServiceTracker<URLStreamHandlerService,ServiceReference<URLStreamHandlerService>> URLStreamHandlerProxy.urlStreamHandlerServiceTracker
           
 

Methods in org.eclipse.osgi.framework.internal.protocol that return ServiceReference
 ServiceReference<java.net.ContentHandler> ContentHandlerProxy.addingService(ServiceReference<java.net.ContentHandler> reference)
           
 ServiceReference<URLStreamHandlerService> URLStreamHandlerProxy.addingService(ServiceReference<URLStreamHandlerService> reference)
           
 

Methods in org.eclipse.osgi.framework.internal.protocol with parameters of type ServiceReference
 ServiceReference<java.net.ContentHandler> ContentHandlerProxy.addingService(ServiceReference<java.net.ContentHandler> reference)
           
 ServiceReference<URLStreamHandlerService> URLStreamHandlerProxy.addingService(ServiceReference<URLStreamHandlerService> reference)
           
 void ContentHandlerProxy.modifiedService(ServiceReference<java.net.ContentHandler> reference, ServiceReference<java.net.ContentHandler> service)
           
 void ContentHandlerProxy.modifiedService(ServiceReference<java.net.ContentHandler> reference, ServiceReference<java.net.ContentHandler> service)
           
 void URLStreamHandlerProxy.modifiedService(ServiceReference<URLStreamHandlerService> reference, ServiceReference<URLStreamHandlerService> service)
           
 void URLStreamHandlerProxy.modifiedService(ServiceReference<URLStreamHandlerService> reference, ServiceReference<URLStreamHandlerService> service)
           
 void ContentHandlerProxy.removedService(ServiceReference<java.net.ContentHandler> reference, ServiceReference<java.net.ContentHandler> service)
           
 void ContentHandlerProxy.removedService(ServiceReference<java.net.ContentHandler> reference, ServiceReference<java.net.ContentHandler> service)
           
 void URLStreamHandlerProxy.removedService(ServiceReference<URLStreamHandlerService> reference, ServiceReference<URLStreamHandlerService> service)
           
 void URLStreamHandlerProxy.removedService(ServiceReference<URLStreamHandlerService> reference, ServiceReference<URLStreamHandlerService> service)
           
 

Constructors in org.eclipse.osgi.framework.internal.protocol with parameters of type ServiceReference
ContentHandlerProxy(java.lang.String contentType, ServiceReference<java.net.ContentHandler> reference, BundleContext context)
           
URLStreamHandlerFactoryProxyFor15(java.lang.String protocol, ServiceReference<URLStreamHandlerService> reference, BundleContext context)
           
URLStreamHandlerProxy(java.lang.String protocol, ServiceReference<URLStreamHandlerService> reference, BundleContext context)
           
 

Uses of ServiceReference in org.eclipse.osgi.framework.util
 

Methods in org.eclipse.osgi.framework.util with parameters of type ServiceReference
<S> S
SecureAction.getService(ServiceReference<S> reference, BundleContext context)
          Gets a service object.
 

Uses of ServiceReference in org.eclipse.osgi.internal.serviceregistry
 

Classes in org.eclipse.osgi.internal.serviceregistry that implement ServiceReference
 class ServiceReferenceImpl<S>
          A reference to a service.
 

Methods in org.eclipse.osgi.internal.serviceregistry that return ServiceReference
 ServiceReference<S> ServiceRegistrationImpl.getReference()
          Returns a ServiceReferenceImpl object for this registration.
 

Uses of ServiceReference in org.eclipse.osgi.launch
 

Methods in org.eclipse.osgi.launch that return ServiceReference
 ServiceReference<?>[] Equinox.getRegisteredServices()
           
 ServiceReference<?>[] Equinox.getServicesInUse()
           
 

Uses of ServiceReference in org.osgi.framework
 

Methods in org.osgi.framework that return ServiceReference
 ServiceReference<?>[] BundleContext.getAllServiceReferences(java.lang.String clazz, java.lang.String filter)
          Returns an array of ServiceReference objects.
 ServiceReference<S> ServiceRegistration.getReference()
          Returns a ServiceReference object for a service being registered.
 ServiceReference<?>[] Bundle.getRegisteredServices()
          Returns this bundle's ServiceReference list for all services it has registered or null if this bundle has no registered services.
 ServiceReference<?> ServiceEvent.getServiceReference()
          Returns a reference to the service that had a change occur in its lifecycle.
<S> ServiceReference<S>
BundleContext.getServiceReference(java.lang.Class<S> clazz)
          Returns a ServiceReference object for a service that implements and was registered under the specified class.
 ServiceReference<?> BundleContext.getServiceReference(java.lang.String clazz)
          Returns a ServiceReference object for a service that implements and was registered under the specified class.
 ServiceReference<?>[] BundleContext.getServiceReferences(java.lang.String clazz, java.lang.String filter)
          Returns an array of ServiceReference objects.
 ServiceReference<?>[] Bundle.getServicesInUse()
          Returns this bundle's ServiceReference list for all services it is using or returns null if this bundle is not using any services.
 

Methods in org.osgi.framework that return types with arguments of type ServiceReference
<S> java.util.Collection<ServiceReference<S>>
BundleContext.getServiceReferences(java.lang.Class<S> clazz, java.lang.String filter)
          Returns a collection of ServiceReference objects.
 

Methods in org.osgi.framework with parameters of type ServiceReference
<S> S
BundleContext.getService(ServiceReference<S> reference)
          Returns the service object referenced by the specified ServiceReference object.
 boolean Filter.match(ServiceReference<?> reference)
          Filter using a service's properties.
 boolean BundleContext.ungetService(ServiceReference<?> reference)
          Releases the service object referenced by the specified ServiceReference object.
 

Constructors in org.osgi.framework with parameters of type ServiceReference
ServiceEvent(int type, ServiceReference<?> reference)
          Creates a new service event object.
ServicePermission(ServiceReference<?> reference, java.lang.String actions)
          Creates a new requested ServicePermission object to be used by code that must perform checkPermission for the get action.
 

Uses of ServiceReference in org.osgi.framework.hooks.service
 

Method parameters in org.osgi.framework.hooks.service with type arguments of type ServiceReference
 void FindHook.find(BundleContext context, java.lang.String name, java.lang.String filter, boolean allServices, java.util.Collection<ServiceReference<?>> references)
          Find hook method.
 

Uses of ServiceReference in org.osgi.service.log
 

Methods in org.osgi.service.log that return ServiceReference
 ServiceReference LogEntry.getServiceReference()
          Returns the ServiceReference object for the service associated with this LogEntry object.
 

Methods in org.osgi.service.log with parameters of type ServiceReference
 void LogService.log(ServiceReference sr, int level, java.lang.String message)
          Logs a message associated with a specific ServiceReference object.
 void LogService.log(ServiceReference sr, int level, java.lang.String message, java.lang.Throwable exception)
          Logs a message with an exception associated and a ServiceReference object.
 

Uses of ServiceReference in org.osgi.util.tracker
 

Methods in org.osgi.util.tracker that return ServiceReference
 ServiceReference<S> ServiceTracker.getServiceReference()
          Returns a ServiceReference for one of the services being tracked by this ServiceTracker.
 ServiceReference<S>[] ServiceTracker.getServiceReferences()
          Return an array of ServiceReferences for all services being tracked by this ServiceTracker.
 

Methods in org.osgi.util.tracker that return types with arguments of type ServiceReference
 java.util.SortedMap<ServiceReference<S>,T> ServiceTracker.getTracked()
          Return a SortedMap of the ServiceReferences and service objects for all services being tracked by this ServiceTracker.
 

Methods in org.osgi.util.tracker with parameters of type ServiceReference
 T ServiceTrackerCustomizer.addingService(ServiceReference<S> reference)
          A service is being added to the ServiceTracker.
 T ServiceTracker.addingService(ServiceReference<S> reference)
          Default implementation of the ServiceTrackerCustomizer.addingService method.
 T ServiceTracker.getService(ServiceReference<S> reference)
          Returns the service object for the specified ServiceReference if the specified referenced service is being tracked by this ServiceTracker.
 void ServiceTrackerCustomizer.modifiedService(ServiceReference<S> reference, T service)
          A service tracked by the ServiceTracker has been modified.
 void ServiceTracker.modifiedService(ServiceReference<S> reference, T service)
          Default implementation of the ServiceTrackerCustomizer.modifiedService method.
 void ServiceTracker.remove(ServiceReference<S> reference)
          Remove a service from this ServiceTracker.
 void ServiceTrackerCustomizer.removedService(ServiceReference<S> reference, T service)
          A service tracked by the ServiceTracker has been removed.
 void ServiceTracker.removedService(ServiceReference<S> reference, T service)
          Default implementation of the ServiceTrackerCustomizer.removedService method.
 

Constructors in org.osgi.util.tracker with parameters of type ServiceReference
ServiceTracker(BundleContext context, ServiceReference<S> reference, ServiceTrackerCustomizer<S,T> customizer)
          Create a ServiceTracker on the specified ServiceReference.
 



Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.