Skip navigation links
A B C F G H I L M N P R S U W 

A

adapt(Class<A>) - Method in class no.steria.osgi.mocks.MockBundle
 
adapt(Class<A>) - Method in class no.steria.osgi.mocks.MockBundleBase
 
addBundleListener(BundleListener) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
addFilteredServiceRegistration(MockServiceReference<Object>, String) - Method in class no.steria.osgi.mocks.MockBundleContext
 
addFrameworkListener(FrameworkListener) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
addServiceListener(ServiceListener, String) - Method in class no.steria.osgi.mocks.MockBundleContext
Register a listener for a service, using a filter expression.
addServiceListener(ServiceListener, String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
addServiceListener(ServiceListener) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
alreadyUnregistered - Variable in class no.steria.osgi.mocks.MockServiceRegistration
 

B

bundle - Variable in class no.steria.osgi.mocks.MockBundleContext
 
bundle - Variable in class no.steria.osgi.mocks.MockServiceReference
 
bundleContext - Variable in class no.steria.osgi.mocks.MockServiceRegistration
 

C

compareTo(Bundle) - Method in class no.steria.osgi.mocks.MockBundleBase
 
compareTo(Object) - Method in class no.steria.osgi.mocks.MockServiceReferenceBase
 
createFilter(String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 

F

filteredServiceListeners - Variable in class no.steria.osgi.mocks.MockBundleContext
 
filteredServiceRegistrations - Variable in class no.steria.osgi.mocks.MockBundleContext
 
findEntries(String, String, boolean) - Method in class no.steria.osgi.mocks.MockBundleBase
 
findServiceClassName(ServiceReference<?>) - Method in class no.steria.osgi.mocks.MockBundleContext
 

G

getAllServiceReferences(String, String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getBundle() - Method in class no.steria.osgi.mocks.MockBundleContext
Access this context's Bundle object.
getBundle() - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getBundle(long) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getBundle(String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getBundle() - Method in class no.steria.osgi.mocks.MockServiceReference
 
getBundle() - Method in class no.steria.osgi.mocks.MockServiceReferenceBase
 
getBundleContext() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getBundleId() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getBundles() - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getDataFile(String) - Method in class no.steria.osgi.mocks.MockBundleBase
 
getDataFile(String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getEntry(String) - Method in class no.steria.osgi.mocks.MockBundleBase
 
getEntryPaths(String) - Method in class no.steria.osgi.mocks.MockBundleBase
 
getHeaders() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getHeaders(String) - Method in class no.steria.osgi.mocks.MockBundleBase
 
getLastModified() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getLocation() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getProperty(String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getProperty(String) - Method in class no.steria.osgi.mocks.MockServiceReference
 
getProperty(String) - Method in class no.steria.osgi.mocks.MockServiceReferenceBase
 
getPropertyKeys() - Method in class no.steria.osgi.mocks.MockServiceReference
 
getPropertyKeys() - Method in class no.steria.osgi.mocks.MockServiceReferenceBase
 
getReference() - Method in class no.steria.osgi.mocks.MockServiceRegistration
 
getRegisteredServices() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getResource(String) - Method in class no.steria.osgi.mocks.MockBundleBase
 
getResources(String) - Method in class no.steria.osgi.mocks.MockBundleBase
 
getService(ServiceReference<S>) - Method in class no.steria.osgi.mocks.MockBundleContext
Get the service a ServiceReference is referring to.
getService(ServiceReference<S>) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getServiceReference(String) - Method in class no.steria.osgi.mocks.MockBundleContext
Get all ServiceReference objects matching the fully qualified class name given as an argument
getServiceReference(String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getServiceReference(Class<S>) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getServiceReferences(String, String) - Method in class no.steria.osgi.mocks.MockBundleContext
Get all ServiceReference object matching a class name and a filter.
getServiceReferences(String, String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getServiceReferences(Class<S>, String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
getServicesInUse() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getSignerCertificates(int) - Method in class no.steria.osgi.mocks.MockBundleBase
 
getState() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getSymbolicName() - Method in class no.steria.osgi.mocks.MockBundleBase
 
getUsingBundles() - Method in class no.steria.osgi.mocks.MockServiceReferenceBase
 
getVersion() - Method in class no.steria.osgi.mocks.MockBundleBase
 

H

hasPermission(Object) - Method in class no.steria.osgi.mocks.MockBundleBase
 

I

installBundle(String, InputStream) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
installBundle(String) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
isAssignableTo(Bundle, String) - Method in class no.steria.osgi.mocks.MockServiceReferenceBase
 

L

loadClass(String) - Method in class no.steria.osgi.mocks.MockBundle
Get the class loader of the mock, rather than that of the bundle.
loadClass(String) - Method in class no.steria.osgi.mocks.MockBundleBase
 

M

MockBundle - Class in no.steria.osgi.mocks
Mock implementation of Bundle.
MockBundle(BundleWiring) - Constructor for class no.steria.osgi.mocks.MockBundle
A constructor that takes a BundleWiring argument.
MockBundle() - Constructor for class no.steria.osgi.mocks.MockBundle
 
MockBundleBase - Class in no.steria.osgi.mocks
Default implementations for all methods of Bundle.
MockBundleBase() - Constructor for class no.steria.osgi.mocks.MockBundleBase
 
MockBundleContext - Class in no.steria.osgi.mocks
Mock implementation of BundleContext.
MockBundleContext(MockBundle) - Constructor for class no.steria.osgi.mocks.MockBundleContext
Constructor used when it is necessary to create the bundle in the test, e.g.
MockBundleContext() - Constructor for class no.steria.osgi.mocks.MockBundleContext
The typical constructor to use in a simple test.
MockBundleContextBase - Class in no.steria.osgi.mocks
Default implementations for all methods of BundleContext.
MockBundleContextBase() - Constructor for class no.steria.osgi.mocks.MockBundleContextBase
 
MockServiceReference<S> - Class in no.steria.osgi.mocks
A lightweight object holding a reference to a service.
MockServiceReference(Bundle, Dictionary<String, ?>) - Constructor for class no.steria.osgi.mocks.MockServiceReference
 
MockServiceReferenceBase<S> - Class in no.steria.osgi.mocks
Default implementations for all methods of BundleContext.
MockServiceReferenceBase() - Constructor for class no.steria.osgi.mocks.MockServiceReferenceBase
 
MockServiceRegistration<S> - Class in no.steria.osgi.mocks
A mock for the object returned when registering a service with a BundleContext.
MockServiceRegistration(MockBundleContext, ServiceReference<S>) - Constructor for class no.steria.osgi.mocks.MockServiceRegistration
 

N

no.steria.osgi.mocks - package no.steria.osgi.mocks
This package contains mock implementations of the OSGi framework similar to what's found in Apache Sling OSGi mocks and in Spring OSGi mocks.
notifyFilteredListenersAboutNewService(MockServiceReference<Object>, String) - Method in class no.steria.osgi.mocks.MockBundleContext
 
notifyFilteredListenersAboutRemovedService(ServiceReference<?>, String) - Method in class no.steria.osgi.mocks.MockBundleContext
 
notifyListenersAboutNewService(String, MockServiceReference<Object>) - Method in class no.steria.osgi.mocks.MockBundleContext
 
notifyListenersAboutRemovedService(String, ServiceReference<?>) - Method in class no.steria.osgi.mocks.MockBundleContext
 

P

properties - Variable in class no.steria.osgi.mocks.MockServiceReference
 

R

registerService(String, Object, Dictionary<String, ?>) - Method in class no.steria.osgi.mocks.MockBundleContext
Register a service with the bundle context.
registerService(String[], Object, Dictionary<String, ?>) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
registerService(String, Object, Dictionary<String, ?>) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
registerService(Class<S>, S, Dictionary<String, ?>) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
removeBundleListener(BundleListener) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
removeFrameworkListener(FrameworkListener) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
removeServiceListener(ServiceListener) - Method in class no.steria.osgi.mocks.MockBundleContext
Remove a listener object
removeServiceListener(ServiceListener) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 

S

serviceImplementations - Variable in class no.steria.osgi.mocks.MockBundleContext
 
serviceReference - Variable in class no.steria.osgi.mocks.MockServiceRegistration
 
serviceRegistrations - Variable in class no.steria.osgi.mocks.MockBundleContext
 
setProperties(Dictionary<String, ?>) - Method in class no.steria.osgi.mocks.MockServiceRegistration
 
start(int) - Method in class no.steria.osgi.mocks.MockBundleBase
 
start() - Method in class no.steria.osgi.mocks.MockBundleBase
 
stop(int) - Method in class no.steria.osgi.mocks.MockBundleBase
 
stop() - Method in class no.steria.osgi.mocks.MockBundleBase
 

U

ungetService(ServiceReference<?>) - Method in class no.steria.osgi.mocks.MockBundleContext
Tell the service registration that a particular service is no longer being used.
ungetService(ServiceReference<?>) - Method in class no.steria.osgi.mocks.MockBundleContextBase
 
uninstall() - Method in class no.steria.osgi.mocks.MockBundleBase
 
unregister() - Method in class no.steria.osgi.mocks.MockServiceRegistration
 
unregisterService(MockServiceRegistration<?>) - Method in class no.steria.osgi.mocks.MockBundleContext
Retract a service registration (a provided service).
update(InputStream) - Method in class no.steria.osgi.mocks.MockBundleBase
 
update() - Method in class no.steria.osgi.mocks.MockBundleBase
 

W

wiring - Variable in class no.steria.osgi.mocks.MockBundle
 
A B C F G H I L M N P R S U W 
Skip navigation links

Copyright © 2018. All rights reserved.