A B C D E F G H I J K L M N O P R S T U V W

A

AbstractConfigurableBundleCreatorTests - Class in org.springframework.osgi.test
Abstract JUnit base class that allows easy OSGi integration testing.
AbstractConfigurableBundleCreatorTests() - Constructor for class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
AbstractConfigurableOsgiTests - Class in org.springframework.osgi.test
Abstract JUnit super class which configures an OsgiPlatform.
AbstractConfigurableOsgiTests() - Constructor for class org.springframework.osgi.test.AbstractConfigurableOsgiTests
Default constructor.
AbstractConfigurableOsgiTests(String) - Constructor for class org.springframework.osgi.test.AbstractConfigurableOsgiTests
Constructs a new AbstractConfigurableOsgiTests instance.
AbstractDelegatedExecutionApplicationContext - Class in org.springframework.osgi.context.support
OSGi-specific application context that delegates the execution of its lifecycle methods to a different class.
AbstractDelegatedExecutionApplicationContext() - Constructor for class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
Create a new AbstractDelegatedExecutionApplicationContext with no parent.
AbstractDelegatedExecutionApplicationContext(ApplicationContext) - Constructor for class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
Create a new AbstractDelegatedExecutionApplicationContext with the given parent context.
AbstractDependableServiceImporter - Class in org.springframework.osgi.service.importer.support
Base class implementing the DependableServiceImporter interface.
AbstractDependableServiceImporter() - Constructor for class org.springframework.osgi.service.importer.support.AbstractDependableServiceImporter
 
AbstractDependencyManagerTests - Class in org.springframework.osgi.test
Dependency manager class - deals with locating of various artifacts required by the OSGi test.
AbstractDependencyManagerTests() - Constructor for class org.springframework.osgi.test.AbstractDependencyManagerTests
Default constructor.
AbstractDependencyManagerTests(String) - Constructor for class org.springframework.osgi.test.AbstractDependencyManagerTests
Constructs a new AbstractDependencyManagerTests instance.
AbstractDependentServiceExporter - Class in org.springframework.osgi.service.exporter.support
Base class for ServiceExporters taking care of service registration and unregistration.
AbstractDependentServiceExporter() - Constructor for class org.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
 
AbstractOnTheFlyBundleCreatorTests - Class in org.springframework.osgi.test
Enhanced subclass of AbstractDependencyManagerTests that facilitates OSGi testing by creating at runtime, on the fly, a jar using the indicated manifest and resource patterns (by default all files found under the root path).
AbstractOnTheFlyBundleCreatorTests() - Constructor for class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
 
AbstractOnTheFlyBundleCreatorTests(String) - Constructor for class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
 
AbstractOptionalDependencyInjectionTests - Class in org.springframework.osgi.test
JUnit superclass, which creates an empty OSGi bundle appCtx when no configuration file is specified.
AbstractOptionalDependencyInjectionTests() - Constructor for class org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests
Default constructor.
AbstractOptionalDependencyInjectionTests(String) - Constructor for class org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests
Constructs a new AbstractOptionalDependencyInjectionTests instance.
AbstractOsgiBundleApplicationContext - Class in org.springframework.osgi.context.support
AbstractRefreshableApplicationContext subclass that implements the ConfigurableOsgiBundleApplicationContext interface for OSGi environments.
AbstractOsgiBundleApplicationContext() - Constructor for class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
Creates a new AbstractOsgiBundleApplicationContext with no parent.
AbstractOsgiBundleApplicationContext(ApplicationContext) - Constructor for class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
Creates a new AbstractOsgiBundleApplicationContext with the given parent context.
AbstractOsgiServiceExporter - Class in org.springframework.osgi.service.exporter.support
DependentServiceExporter extension that takes care of listeners registration and notification.
AbstractOsgiServiceExporter() - Constructor for class org.springframework.osgi.service.exporter.support.AbstractOsgiServiceExporter
 
AbstractOsgiServiceImportFactoryBean - Class in org.springframework.osgi.service.importer.support
Base class for importing OSGi services.
AbstractOsgiServiceImportFactoryBean() - Constructor for class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
 
AbstractOsgiTests - Class in org.springframework.osgi.test
Base test for OSGi environments.
AbstractOsgiTests() - Constructor for class org.springframework.osgi.test.AbstractOsgiTests
Default constructor.
AbstractOsgiTests(String) - Constructor for class org.springframework.osgi.test.AbstractOsgiTests
Constructs a new AbstractOsgiTests instance.
AbstractSynchronizedOsgiTests - Class in org.springframework.osgi.test
JUnit superclass which offers synchronization for application context initialization.
AbstractSynchronizedOsgiTests() - Constructor for class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
Default constructor.
AbstractSynchronizedOsgiTests(String) - Constructor for class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
Constructs a new AbstractSynchronizedOsgiTests instance.
addBundleListener(BundleListener) - Method in class org.springframework.osgi.mock.MockBundleContext
 
addFrameworkListener(FrameworkListener) - Method in class org.springframework.osgi.mock.MockBundleContext
 
addServiceListener(ServiceListener) - Method in class org.springframework.osgi.mock.MockBundleContext
 
addServiceListener(ServiceListener, String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
addServiceListener(BundleContext, ServiceListener, Filter) - Static method in class org.springframework.osgi.util.OsgiListenerUtils
Adds a service listener to the given bundle context under the specified filter.
addServiceListener(BundleContext, ServiceListener, String) - Static method in class org.springframework.osgi.util.OsgiListenerUtils
Adds a service listener to the given bundle context under the specified filter given as a String.
addSingleServiceListener(BundleContext, ServiceListener, Filter) - Static method in class org.springframework.osgi.util.OsgiListenerUtils
Adds a service listener to the given bundle context, under the specified filter.
addSingleServiceListener(BundleContext, ServiceListener, String) - Static method in class org.springframework.osgi.util.OsgiListenerUtils
Adds a service listener to the given application context, under the specified filter given as a String.
afterPropertiesSet() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
 
afterPropertiesSet() - Method in class org.springframework.osgi.service.exporter.support.BeanNameServicePropertiesResolver
 
afterPropertiesSet() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean
 
ALL_CLASSES - Static variable in class org.springframework.osgi.service.exporter.support.AutoExport
Export every class, inherited or implemented by the given target.
APPLICATION_CONTEXT_SERVICE_PROPERTY_NAME - Static variable in interface org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext
Service entry used for specifying the application context name when published as an OSGi service
ArrayEnumerator - Class in org.springframework.osgi.mock
Simple enumeration mock backed by an array of objects.
ArrayEnumerator(Object[]) - Constructor for class org.springframework.osgi.mock.ArrayEnumerator
 
ArtifactLocator - Interface in org.springframework.osgi.test.provisioning
Interface describing the contract for finding dependencies artifacts.
AutoExport - Class in org.springframework.osgi.service.exporter.support
Enum-like class indicatin class exporters available to OsgiServiceFactoryBean for registering object as OSGi services.

B

BEAN_NAME_PROPERTY_KEY - Static variable in interface org.springframework.osgi.service.exporter.OsgiServicePropertiesResolver
Predefined property indicating the bean name of an exported Spring managed object.
BeanNameServicePropertiesResolver - Class in org.springframework.osgi.service.exporter.support
OsgiServicePropertiesResolver that creates a service property set with the following properties: Bundle-SymbolicName=<bundle symbolic name> Bundle-Version=<bundle version> org.springframework.osgi.bean.name="<bean name>
BeanNameServicePropertiesResolver() - Constructor for class org.springframework.osgi.service.exporter.support.BeanNameServicePropertiesResolver
 
bind(Object, Map) - Method in interface org.springframework.osgi.service.importer.OsgiServiceLifecycleListener
Called when a service is being binded inside the proxy (be it single or multi value).
BUNDLE_CONTEXT_BEAN_NAME - Static variable in interface org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext
Bean name under which the OSGi bundle context is published as a singleton.
BUNDLE_EVENTS - Static variable in class org.springframework.osgi.util.OsgiStringUtils
Constant over the Bundle events
BUNDLE_JAR_URL_PREFIX - Static variable in class org.springframework.osgi.io.OsgiBundleResource
Prefix for searching only the bundle raw jar.
BUNDLE_STATES - Static variable in class org.springframework.osgi.util.OsgiStringUtils
Constant over the Bundle states
BUNDLE_URL_PREFIX - Static variable in class org.springframework.osgi.io.OsgiBundleResource
Prefix for searching inside the owning bundle space.
BundleAction - Class in org.springframework.osgi.bundle
Enum-like class for the Bundle actions supported by BundleFactoryBean.
bundleContext - Variable in class org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests
 
BundleContextAware - Interface in org.springframework.osgi.context
Interface that enables beans to find the bundle context they are defined in.
BundleContextAwareProcessor - Class in org.springframework.osgi.context.support
BeanPostProcessor handling classes that implement BundleContextAware interface.
BundleContextAwareProcessor(BundleContext) - Constructor for class org.springframework.osgi.context.support.BundleContextAwareProcessor
 
BundleDelegatingClassLoader - Class in org.springframework.osgi.util
ClassLoader backed by an OSGi bundle.
BundleFactoryBean - Class in org.springframework.osgi.bundle
Bundle installer.
BundleFactoryBean() - Constructor for class org.springframework.osgi.bundle.BundleFactoryBean
 
bundleListeners - Variable in class org.springframework.osgi.mock.MockBundleContext
 
bundleStateAsString(Bundle) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns a String representation of the Bundle state.

C

C_0__1 - Static variable in class org.springframework.osgi.service.importer.support.Cardinality
Optional, single cardinality.
C_0__N - Static variable in class org.springframework.osgi.service.importer.support.Cardinality
Optional, multiple cardinality.
C_1__1 - Static variable in class org.springframework.osgi.service.importer.support.Cardinality
Mandatory, single cardinality.
C_1__N - Static variable in class org.springframework.osgi.service.importer.support.Cardinality
Mandatory, multiple cardinality.
Cardinality - Class in org.springframework.osgi.service.importer.support
Enum-like class containing the OSGi importer services cardinality.
CLASS_HIERARCHY - Static variable in class org.springframework.osgi.service.exporter.support.AutoExport
Export the class hierarchy (all classes inherited by the given target excluding Object.class)
CLIENT - Static variable in class org.springframework.osgi.service.importer.support.ImportContextClassLoader
The TCCL will be set to the service provider upon service invocation.
close() - Method in interface org.springframework.osgi.context.OsgiBundleApplicationContextExecutor
Execute the delegated ConfigurableApplicationContext.close().
CollectionType - Class in org.springframework.osgi.service.importer.support
Enumeration-like class which indicates the supported Spring DM managed OSGi service collection types.
completeRefresh() - Method in interface org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext
The second, last phase of the refresh.
completeRefresh() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
ConfigurableOsgiBundleApplicationContext - Interface in org.springframework.osgi.context
Interface that extends ConfigurableApplicationContext to provides OSGi specific functionality.
createApplicationContext(String[]) - Method in class org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests

This implementation will create an empty bundle context in case no locations are specified.

createBundleClassLoaderFor(Bundle) - Static method in class org.springframework.osgi.util.BundleDelegatingClassLoader
Factory method for creating a class loader over the given bundle.
createBundleClassLoaderFor(Bundle, ClassLoader) - Static method in class org.springframework.osgi.util.BundleDelegatingClassLoader
Factory method for creating a class loader over the given bundle and with a given class loader as fall-back.
createDefaultManifest() - Method in class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
Creates the default manifest in case none if found on the disk.
createEnumerationOver(String[]) - Method in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
createFilter(String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
createFilter(String) - Method in class org.springframework.osgi.mock.MockFrameworkUtil
Create a mock filter that is _might_ be valid.
createFilter(String) - Static method in class org.springframework.osgi.util.OsgiFilterUtils
Creates an OSGi Filter from the given String.
createPlatform() - Method in class org.springframework.osgi.test.AbstractConfigurableOsgiTests
Creates (and configures) the OSGi platform.
createPlatform() - Method in class org.springframework.osgi.test.AbstractOsgiTests
Creates (and configures) the OSGi platform.
createRelative(String) - Method in class org.springframework.osgi.io.OsgiBundleResource
Returns a resource relative to this resource.

D

debugClassLoading(Bundle, String, String) - Static method in class org.springframework.osgi.util.DebugUtils
Tries (through a best-guess attempt) to figure out why a given class could not be found.
debugClassLoadingThrowable(Throwable, Bundle, Class[]) - Static method in class org.springframework.osgi.util.DebugUtils
Tries to debug the cause of the Throwables that can appear when loading classes in OSGi environments (for example when creating proxies).
DebugUtils - Class in org.springframework.osgi.util
Utility class used for debugging exceptions in OSGi environment, such as class loading errors.
DebugUtils() - Constructor for class org.springframework.osgi.util.DebugUtils
 
DEFAULT_ARTIFACT_TYPE - Static variable in interface org.springframework.osgi.test.provisioning.ArtifactLocator
default artifact type
DEFAULT_CONFIG_LOCATION - Static variable in class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Default config location for the root context(s)
DEFAULT_PROPERTIES - Static variable in class org.springframework.osgi.mock.MockBundleContext
 
DEFAULT_WAIT_TIME - Static variable in class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
 
DelegatedExecutionOsgiBundleApplicationContext - Interface in org.springframework.osgi.context
Interface that redirect the application context crucial methods to a third party executor to allow the initialization to be executed in stages.
DependableServiceImporter - Interface in org.springframework.osgi.service.dependency
Interface describing the contract of OSGi service importers.
DependentServiceExporter - Interface in org.springframework.osgi.service.dependency
Interface describing the OSGi service exporters dependency contract.
destroy() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
destroy() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
destroy() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
 
destroyBeans() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
DISABLED - Static variable in class org.springframework.osgi.service.exporter.support.AutoExport
Do not export anything
doClose() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
doClose() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
Unregister the ApplicationContext OSGi service (in case there is any).

E

EntryLookupControllingMockBundle - Class in org.springframework.osgi.mock
Mock Bundle that allows the entry to return on future calls.
EntryLookupControllingMockBundle(Dictionary) - Constructor for class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
equals(Object) - Method in class org.springframework.osgi.io.OsgiBundleResource

This implementation compares the underlying bundle and path locations.

equals(Object) - Method in class org.springframework.osgi.mock.MockServiceReference
Two mock service references are equal if they contain the same service id.
equals(Object) - Method in class org.springframework.osgi.mock.MockServiceRegistration
 
EQUINOX - Static variable in class org.springframework.osgi.test.platform.Platforms
Equinox OSGi platform constant.
EquinoxPlatform - Class in org.springframework.osgi.test.platform
Equinox (3.2.x) OSGi platform.
EquinoxPlatform() - Constructor for class org.springframework.osgi.test.platform.EquinoxPlatform
 
ExportContextClassLoader - Class in org.springframework.osgi.service.exporter.support
Enum-like class for the exporter thread context-classLoader (TCCL) management options.

F

FELIX - Static variable in class org.springframework.osgi.test.platform.Platforms
Felix OSGi platform constant.
FelixPlatform - Class in org.springframework.osgi.test.platform
Apache Felix (1.0.x) OSGi platform.
FelixPlatform() - Constructor for class org.springframework.osgi.test.platform.FelixPlatform
 
findBundleBySymbolicName(BundleContext, String) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Finds an install bundle based by its symbolic name.
findClass(String) - Method in class org.springframework.osgi.util.BundleDelegatingClassLoader
 
findEntries(String, String, boolean) - Method in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
findEntries(String, String, boolean) - Method in class org.springframework.osgi.mock.MockBundle
Delegates to the classloader.
findResource(String) - Method in class org.springframework.osgi.util.BundleDelegatingClassLoader
 
findResources(String) - Method in class org.springframework.osgi.util.BundleDelegatingClassLoader
 
finishRefresh() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
FRAMEWORK_EVENTS - Static variable in class org.springframework.osgi.util.OsgiStringUtils
Constant over the Framework events

G

getAction() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Returns the action.
getAllServiceReferences(String, String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
getAsText() - Method in class org.springframework.osgi.service.importer.support.ServiceReferenceEditor

This implementation returns null to indicate that there is no appropriate text representation.

getBeanClassLoader() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Returns the class loader used by this FactoryBean.
getBeanName() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Returns the bean name of this class when configured inside a Spring container.
getBootDelegationPackages() - Method in class org.springframework.osgi.test.AbstractConfigurableOsgiTests
Returns the list of OSGi packages that are delegated to the boot classpath.
getBundle() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Returns the bundle with which the class interacts.
getBundle() - Method in interface org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext
Returns the OSGi Bundle for this application context.
getBundle() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
getBundle() - Method in class org.springframework.osgi.io.OsgiBundleResourceLoader
Returns the bundle used by this loader.
getBundle() - Method in class org.springframework.osgi.mock.MockBundleContext
 
getBundle(long) - Method in class org.springframework.osgi.mock.MockBundleContext
 
getBundle() - Method in class org.springframework.osgi.mock.MockServiceReference
 
getBundleContentPattern() - Method in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
Returns the patterns used for identifying the resources added to the jar.
getBundleContentPattern() - Method in class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
Returns the patterns used for identifying the resources added to the jar.
getBundleContext() - Method in interface org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext
Return the BundleContext for this application context.
getBundleContext() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
getBundleContext() - Method in class org.springframework.osgi.mock.MockBundle
 
getBundleContext() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Returns the bundleContext used by this FactoryBean.
getBundleContext() - Method in class org.springframework.osgi.test.platform.EquinoxPlatform
 
getBundleContext() - Method in class org.springframework.osgi.test.platform.FelixPlatform
 
getBundleContext() - Method in class org.springframework.osgi.test.platform.KnopflerfishPlatform
 
getBundleContext() - Method in interface org.springframework.osgi.test.platform.OsgiPlatform
Returns the bundle context of the returned platform.
getBundleContext(Bundle) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Returns the underlying BundleContext for the given Bundle.
getBundleId() - Method in class org.springframework.osgi.mock.MockBundle
 
getBundleListeners() - Method in class org.springframework.osgi.mock.MockBundleContext
 
getBundles() - Method in class org.springframework.osgi.mock.MockBundleContext
 
getBundleVersion(Bundle) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Returns the given bundle version.
getCardinality() - Method in class org.springframework.osgi.service.importer.support.AbstractDependableServiceImporter
Returns the cardinality used by this importer.
getClassLoader() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
getConfigLocations() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
Returns this application context configuration locations.
getConfigurationProperties() - Method in interface org.springframework.osgi.test.platform.OsgiPlatform
Returns the Properties object used for configuring the underlying OSGi implementation before starting it.
getContext() - Method in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
getContext() - Method in class org.springframework.osgi.mock.MockBundle
 
getContextClassLoader() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Returns the context class loader management strategy.
getDataFile(String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
getDefaultConfigLocations() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
Returns the default configuration locations to use, for the case where no explicit configuration locations have been specified.
getDefaultConfigLocations() - Method in class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Provide default locations for XML files.
getDefaultSettings() - Method in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
Returns the default settings used when creating the jar, in case no customisations have been applied.
getDefaultWaitTime() - Method in class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
Returns the test default waiting time (in seconds).
getDescription() - Method in class org.springframework.osgi.io.OsgiBundleResource

This implementation returns a description that includes the bundle location.

getDestroyAction() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Returns the destroyAction.
getEntry(String) - Method in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
getEntry(String) - Method in class org.springframework.osgi.mock.MockBundle
 
getEntryPaths(String) - Method in class org.springframework.osgi.mock.MockBundle
 
getFile() - Method in class org.springframework.osgi.io.OsgiBundleResource
Returns a File handle for this resource.
getFilename() - Method in class org.springframework.osgi.io.OsgiBundleResource
Returns the filename of this resources.
getFilter() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Returns the filter describing the imported service(s).
getHeaderAsVersion(Bundle, String) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Returns the version for a given bundle manifest header.
getHeaders() - Method in class org.springframework.osgi.mock.MockBundle
 
getHeaders(String) - Method in class org.springframework.osgi.mock.MockBundle
 
getInputStream() - Method in class org.springframework.osgi.io.OsgiBundleResource
Returns an InputStream to this resource.
getInterfaces() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Returns the interfaces that will be considered when exporting the target as an OSGi service.
getInterfaces() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Returns the interfaces used for discovering the imported service(s).
getInvokerBundleContext() - Static method in class org.springframework.osgi.service.importer.support.LocalBundleContext
Try to get the current invoker bundle context.
getLastModified() - Method in class org.springframework.osgi.mock.MockBundle
 
getListeners() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Returns the listeners interested in receiving events for this importer.
getLocation() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Return the given location.
getLocation() - Method in class org.springframework.osgi.mock.MockBundle
 
getLocator() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the ArtifactLocator used by this test suite.
getManifest() - Method in class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
Returns the current test bundle manifest.
getManifestLocation() - Method in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
getManifestLocation() - Method in class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
Returns the location (in Spring resource style) of the manifest location to be used.
getMonitor() - Method in interface org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext
Synchronization monitor for this ApplicationContext in case multiple threads can work with the application context lifecycle.
getMonitor() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
getObject() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
getObject() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean

Returns a ServiceRegistration to the OSGi service for the target object.

getObject() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Returns a managed hook to access OSGi service(s).
getObjectType() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
getObjectType() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
getObjectType() - Method in class org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean
 
getObjectType() - Method in class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
 
getOrder() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
getPlatformName() - Method in class org.springframework.osgi.test.AbstractConfigurableOsgiTests
Indicates what OSGi platform should be used by the test suite.
getPlatformProperties() - Method in class org.springframework.osgi.test.platform.EquinoxPlatform
 
getPlatformProperties() - Method in class org.springframework.osgi.test.platform.FelixPlatform
 
getPlatformProperties() - Method in class org.springframework.osgi.test.platform.KnopflerfishPlatform
 
getProperty(String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
getProperty(String) - Method in class org.springframework.osgi.mock.MockServiceReference
 
getPropertyKeys() - Method in class org.springframework.osgi.mock.MockServiceReference
 
getRanking() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Returns the OSGi ranking used when publishing the service.
getReference() - Method in class org.springframework.osgi.mock.MockServiceRegistration
 
getRegisteredServices() - Method in class org.springframework.osgi.mock.MockBundle
 
getResolver() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Returns the property resolver used for publishing the service.
getResource() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Return the Resource object (if a ResourceLoader is available) from the given location (if any).
getResource(String) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
getResource(String) - Method in class org.springframework.osgi.io.OsgiBundleResourceLoader
 
getResource(String) - Method in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
getResource(String) - Method in class org.springframework.osgi.mock.MockBundle
 
getResource(String) - Method in class org.springframework.osgi.util.BundleDelegatingClassLoader
 
getResourceByPath(String) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
getResourceByPath(String) - Method in class org.springframework.osgi.io.OsgiBundleResourceLoader
 
getResourcePatternResolver() - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
This implementation supports pattern matching inside the OSGi bundle.
getResources(String) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
getResources(String) - Method in class org.springframework.osgi.io.OsgiBundleResourcePatternResolver
 
getResources(String) - Method in class org.springframework.osgi.mock.MockBundle
 
getRetryTimes() - Method in class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
Returns the number of attempts to rebind a target service before giving up.
getRootPath() - Method in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
getRootPath() - Method in class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
Returns the root path used for locating the resources that will be packed in the test bundle (the root path does not become part of the jar).
getService(ServiceReference) - Method in class org.springframework.osgi.mock.MockBundleContext
 
getServiceId(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns the service id (Constants.SERVICE_ID) of the given service reference.
getServiceImporter() - Method in class org.springframework.osgi.service.dependency.MandatoryDependencyEvent
Returns the source of the event.
getServiceListeners() - Method in class org.springframework.osgi.mock.MockBundleContext
Handy method when mocking with listeners is required.
getServiceObjectClasses(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns the advertised class names (Constants.OBJECTCLASS) of the given service reference.
getServiceProperties(String) - Method in interface org.springframework.osgi.service.exporter.OsgiServicePropertiesResolver
Returns a map containing the service properties associated with the given Spring managed bean identified by its name.
getServiceProperties(String) - Method in class org.springframework.osgi.service.exporter.support.BeanNameServicePropertiesResolver
 
getServiceProperties() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Returns the properties used when exporting the target as an OSGi service.
getServiceProperties(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a Dictionary containing the properties available for the given service reference.
getServicePropertiesAsMap(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a Map containing the properties available for the given service reference.
getServicePropertiesSnapshot(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a Map containing the properties available for the given service reference.
getServicePropertiesSnapshotAsMap(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a Map containing the properties available for the given service reference.
getServiceRanking(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns the service ranking (Constants.SERVICE_RANKING) of the given service reference.
getServiceReference(String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
getServiceReference() - Method in interface org.springframework.osgi.service.importer.ImportedOsgiServiceProxy
Get access to the service reference used for accessing the backing object.
getServiceReference(BundleContext, String[]) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a reference to the best matching service for the given class names.
getServiceReference(BundleContext, String, String) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a reference to the best matching service for the given class and OSGi filter.
getServiceReference(BundleContext, String[], String) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a reference to the best matching service for the given classes and OSGi filter.
getServiceReference(BundleContext, String) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns a reference to the best matching service for the given OSGi filter.
getServiceReferences(String, String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
getServiceReferences(BundleContext, String[]) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns references to all services matching the given class names.
getServiceReferences(BundleContext, String, String) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns references to all services matching the given class name and OSGi filter.
getServiceReferences(BundleContext, String[], String) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns references to all services matching the given class names and OSGi filter.
getServiceReferences(BundleContext, String) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Returns references to all services matching the OSGi filter.
getServicesInUse() - Method in class org.springframework.osgi.mock.MockBundle
 
getSettings() - Method in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
Returns the settings used for creating this jar.
getSettingsLocation() - Method in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
Returns the settings location (by default, the test name; i.e.
getSpringDMVersion() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the version of the Spring-DM bundles installed by the testing framework.
getSpringVersion() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the version of the Spring bundles installed by the testing framework.
getStartLevel() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Gets the bundle start level.
getState() - Method in class org.springframework.osgi.mock.MockBundle
 
getSymbolicName() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Return the given bundle symbolic name.
getSymbolicName() - Method in class org.springframework.osgi.mock.MockBundle
 
getTarget() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Returns the object exported as an OSGi service.
getTargetBeanName() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Returns the target bean name.
getTestBundles() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the bundles required for the test execution.
getTestBundles() - Method in class org.springframework.osgi.test.AbstractOsgiTests
Returns the bundles required for the test execution.
getTestBundlesNames() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the bundles that have to be installed as part of the test setup.
getTestFrameworkBundles() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the test framework bundles (part of the test setup).
getTestFrameworkBundles() - Method in class org.springframework.osgi.test.AbstractOsgiTests
Returns the test framework bundles (part of the test setup).
getTestFrameworkBundlesNames() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the bundles that have to be installed as part of the test setup.
getTestingFrameworkBundlesConfiguration() - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Returns the location of the test framework bundles configuration.
getTimeout() - Method in class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
Returns the timeout (in milliseconds) this importer waits while trying to find a backing service.
getUnifiedFilter() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Assembles the configuration properties into one unified OSGi filter.
getURL() - Method in class org.springframework.osgi.io.OsgiBundleResource
Locates the resource in the underlying bundle based on the prefix, if it exists.
getUsingBundles() - Method in class org.springframework.osgi.mock.MockServiceReference
 
getVersion(BundleContext) - Static method in class org.springframework.osgi.util.OsgiPlatformDetector
Returns the OSGi platform version (using the manifest entries from the system bundle).

H

hashCode() - Method in class org.springframework.osgi.io.OsgiBundleResource

This implementation returns the hash code of the underlying class path location.

hashCode() - Method in class org.springframework.osgi.mock.MockServiceReference
Return a hash code based on the class and service id.
hashCode() - Method in class org.springframework.osgi.mock.MockServiceRegistration
 
hasMoreElements() - Method in class org.springframework.osgi.mock.ArrayEnumerator
 
hasPermission(Object) - Method in class org.springframework.osgi.mock.MockBundle
 
hasServiceProperty(PropertyDescriptor) - Method in class org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor
 

I

ImportContextClassLoader - Class in org.springframework.osgi.service.importer.support
Enum-like class containing the OSGi service importer thread context class loader (TCCL) management options.
ImportedOsgiServiceProxy - Interface in org.springframework.osgi.service.importer
Infrastructure interface available on Spring-DM managed OSGi services.
INCLUDE_PATTERNS - Static variable in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
initBeanDefinitionReader(XmlBeanDefinitionReader) - Method in class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Allows subclasses to do custom initialisation here.
INSTALL - Static variable in class org.springframework.osgi.bundle.BundleAction
Install bundle.
installBundle(String) - Method in class org.springframework.osgi.mock.MockBundleContext
 
installBundle(String, InputStream) - Method in class org.springframework.osgi.mock.MockBundleContext
 
INTERFACES - Static variable in class org.springframework.osgi.service.exporter.support.AutoExport
Export all interfaces (and their hierarchy) implemented by the given class
isAssignableTo(Bundle, String) - Method in class org.springframework.osgi.mock.MockServiceReference
 
isBundleActive(Bundle) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Indicates if the given bundle is active or not.
isBundleResolved(Bundle) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Indicates if the given bundle is resolved or not.
isContextKeyEmpty(Object) - Method in class org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests
 
isEagerInit() - Method in class org.springframework.osgi.service.importer.support.