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.AbstractOsgiServiceImportFactoryBean
 
isEquinox(BundleContext) - Static method in class org.springframework.osgi.util.OsgiPlatformDetector
Returns true if the given bundle context belongs to the Equinox platform.
isFelix(BundleContext) - Static method in class org.springframework.osgi.util.OsgiPlatformDetector
Returns true if the given bundle context belongs to the Felix platform.
isFragment(Bundle) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Indicates if the given bundle is a fragment or not.
isJarResource(Resource) - Method in class org.springframework.osgi.io.OsgiBundleResourcePatternResolver

Overrides the default check up since computing the URL can be fairly expensive operation as there is no caching (due to the framework dynamic nature).

isKnopflerfish(BundleContext) - Static method in class org.springframework.osgi.util.OsgiPlatformDetector
Returns true if the given bundle context belongs to the Knopflerfish platform.
isMandatory() - Method in interface org.springframework.osgi.service.dependency.ServiceDependency
Indicates if this dependency is mandatory or not.
isMandatory() - Method in class org.springframework.osgi.service.importer.support.AbstractDependableServiceImporter
 
isMandatory() - Method in class org.springframework.osgi.service.importer.support.Cardinality
Indicates if this cardinality implies that at least one service is expected (mandatory cardinality).
isMultiple() - Method in class org.springframework.osgi.service.importer.support.Cardinality
Indicates if this cardinality implies that multiple services are expected.
isOptional() - Method in class org.springframework.osgi.service.importer.support.Cardinality
Indicates if this cardinality implies that is acceptable for no matching services to be found.
isPrototype() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
 
isRunning() - Method in interface org.springframework.osgi.service.dependency.DependentServiceExporter
Indicates whether this OSGi component is currently running.
isRunning() - Method in class org.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
 
isSatisfied() - Method in interface org.springframework.osgi.service.dependency.ServiceDependency
Indicates if the dependency is satisified or not.
isSatisfied() - Method in class org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean
 
isSatisfied() - Method in class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
 
isServicePresent(BundleContext, String) - Static method in class org.springframework.osgi.util.OsgiServiceReferenceUtils
Checks if the given filter matches at least one OSGi service or not.
isSingle() - Method in class org.springframework.osgi.service.importer.support.Cardinality
Indicates if this cardinality implies that at most one service is expected.
isSingleton() - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
isSingleton() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
isSingleton() - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
 
isSystemBundle(Bundle) - Static method in class org.springframework.osgi.util.OsgiBundleUtils
Indicates if the given bundle is the system bundle or not.
isValidFilter(String) - Static method in class org.springframework.osgi.util.OsgiFilterUtils
Validates the given String as a OSGi filter.

J

JUnitTestActivator - Class in org.springframework.osgi.test
Test bundle activator - looks for a predefined JUnit test runner and triggers the test execution.
JUnitTestActivator() - Constructor for class org.springframework.osgi.test.JUnitTestActivator
 

K

KNOPFLERFISH - Static variable in class org.springframework.osgi.test.platform.Platforms
Knopflerfish OSGi platform constant.
KnopflerfishPlatform - Class in org.springframework.osgi.test.platform
Knopflerfish 2.0.x Platform.
KnopflerfishPlatform() - Constructor for class org.springframework.osgi.test.platform.KnopflerfishPlatform
 

L

LIBS - Static variable in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
LIST - Static variable in class org.springframework.osgi.service.importer.support.CollectionType
Spring-managed list.
loadBeanDefinitions(DefaultListableBeanFactory) - Method in class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext

Loads the bean definitions via an XmlBeanDefinitionReader.

loadBeanDefinitions(XmlBeanDefinitionReader) - Method in class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Loads the bean definitions with the given XmlBeanDefinitionReader.
loadClass(String) - Method in class org.springframework.osgi.mock.MockBundle
 
loadClass(String, boolean) - Method in class org.springframework.osgi.util.BundleDelegatingClassLoader
 
loadSystemPackages() - Method in class org.springframework.osgi.test.platform.KnopflerfishPlatform
 
LocalBundleContext - Class in org.springframework.osgi.service.importer.support
Class containing static methods used to obtain information about the current OSGi service invocation.
LocalBundleContext() - Constructor for class org.springframework.osgi.service.importer.support.LocalBundleContext
 
locateArtifact(String, String, String, String) - Method in interface org.springframework.osgi.test.provisioning.ArtifactLocator
Locates the artifact under the given group, with the given id, version and type.
locateArtifact(String, String, String) - Method in interface org.springframework.osgi.test.provisioning.ArtifactLocator
Locates the artifact under the given group, with the given id, version and type.
locateBundle(String) - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Locates (through the ArtifactLocator) an OSGi bundle given as a String.
locateBundles(String[]) - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Locates the given bundle identifiers.

M

MandatoryDependencyEvent - Class in org.springframework.osgi.service.dependency
Mandatory dependency event.
MandatoryDependencyEvent(ServiceDependency) - Constructor for class org.springframework.osgi.service.dependency.MandatoryDependencyEvent
Constructs a new MandatoryDependencyEvent instance.
MandatoryDependencyListener - Interface in org.springframework.osgi.service.dependency
Internal framework listener notified when a mandatory service importer comes up or down (that is, becomes satisfied or not).
mandatoryDependencySatisfied(MandatoryDependencyEvent) - Method in interface org.springframework.osgi.service.dependency.MandatoryDependencyListener
Called when a mandatory dependency for an importer has been satisfied.
mandatoryDependencyUnsatisfied(MandatoryDependencyEvent) - Method in interface org.springframework.osgi.service.dependency.MandatoryDependencyListener
Called when a mandatory dependency for an importer has been unsatisfied.
MANIFEST - Static variable in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
match(ServiceReference) - Method in class org.springframework.osgi.mock.MockFilter
 
match(Dictionary) - Method in class org.springframework.osgi.mock.MockFilter
 
matchCase(Dictionary) - Method in class org.springframework.osgi.mock.MockFilter
 
MockBundle - Class in org.springframework.osgi.mock
Bundle Mock.
MockBundle() - Constructor for class org.springframework.osgi.mock.MockBundle
 
MockBundle(Dictionary) - Constructor for class org.springframework.osgi.mock.MockBundle
 
MockBundle(BundleContext) - Constructor for class org.springframework.osgi.mock.MockBundle
 
MockBundle(String) - Constructor for class org.springframework.osgi.mock.MockBundle
 
MockBundle(String, Dictionary, BundleContext) - Constructor for class org.springframework.osgi.mock.MockBundle
 
MockBundleActivator - Class in org.springframework.osgi.mock
BundleActivator mock.
MockBundleActivator() - Constructor for class org.springframework.osgi.mock.MockBundleActivator
 
MockBundleContext - Class in org.springframework.osgi.mock
BundleContext mock.
MockBundleContext() - Constructor for class org.springframework.osgi.mock.MockBundleContext
 
MockBundleContext(Bundle) - Constructor for class org.springframework.osgi.mock.MockBundleContext
 
MockBundleContext(Bundle, Properties) - Constructor for class org.springframework.osgi.mock.MockBundleContext
 
MockFilter - Class in org.springframework.osgi.mock
Filter mock.
MockFilter() - Constructor for class org.springframework.osgi.mock.MockFilter
 
MockFilter(String) - Constructor for class org.springframework.osgi.mock.MockFilter
 
MockFrameworkUtil - Class in org.springframework.osgi.mock
FrameworkUtil-like class that tries to create a somewhat valid filter.
MockServiceReference - Class in org.springframework.osgi.mock
ServiceReference mock.
MockServiceReference() - Constructor for class org.springframework.osgi.mock.MockServiceReference
 
MockServiceReference(Bundle) - Constructor for class org.springframework.osgi.mock.MockServiceReference
 
MockServiceReference(String[]) - Constructor for class org.springframework.osgi.mock.MockServiceReference
 
MockServiceReference(Bundle, String[]) - Constructor for class org.springframework.osgi.mock.MockServiceReference
 
MockServiceReference(ServiceRegistration) - Constructor for class org.springframework.osgi.mock.MockServiceReference
 
MockServiceReference(Bundle, Dictionary, ServiceRegistration) - Constructor for class org.springframework.osgi.mock.MockServiceReference
 
MockServiceReference(Bundle, Dictionary, ServiceRegistration, String[]) - Constructor for class org.springframework.osgi.mock.MockServiceReference
 
MockServiceRegistration - Class in org.springframework.osgi.mock
ServiceRegistration mock.
MockServiceRegistration() - Constructor for class org.springframework.osgi.mock.MockServiceRegistration
 
MockServiceRegistration(Dictionary) - Constructor for class org.springframework.osgi.mock.MockServiceRegistration
 
MockServiceRegistration(String[], Dictionary) - Constructor for class org.springframework.osgi.mock.MockServiceRegistration
 

N

nextElement() - Method in class org.springframework.osgi.mock.ArrayEnumerator
 
nextEntryResult - Variable in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
nextFindResult - Variable in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
normalClose() - Method in interface org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext
Non-delegated close operation (execute ConfigurableApplicationContext.close() in the traditional way).
normalClose() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
normalRefresh() - Method in interface org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext
Non-delegated refresh operation (execute ConfigurableApplicationContext.refresh() in the traditional way).
normalRefresh() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
nullSafeBundleEventToString(int) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns a String representation for the given bundle event.
nullSafeName(Bundle) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns the name of the given Bundle in a null-safe manner.
nullSafeNameAndSymName(Bundle) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns the bundle name and symbolic name - useful when logging bundle info.
nullSafeSymbolicName(Bundle) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns the given Bundle symbolic name.
nullSafeToString(BundleEvent) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns a String representation for the given bundle event.
nullSafeToString(ServiceEvent) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns a String representation for the given ServiceEvent.
nullSafeToString(FrameworkEvent) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns a String representation for the given FrameworkEvent.
nullSafeToString(ServiceReference) - Static method in class org.springframework.osgi.util.OsgiStringUtils
Returns a String representation of the given ServiceReference.

O

org.springframework.osgi - package org.springframework.osgi
Spring-DM core root package.
org.springframework.osgi.bundle - package org.springframework.osgi.bundle
Spring-DM bundle specific classes.
org.springframework.osgi.context - package org.springframework.osgi.context
Spring-DM context package.
org.springframework.osgi.context.support - package org.springframework.osgi.context.support
Spring-DM context support package.
org.springframework.osgi.extensions.annotation - package org.springframework.osgi.extensions.annotation
Spring-DM Extensions: Annotation package.
org.springframework.osgi.io - package org.springframework.osgi.io
Spring-DM IO classes.
org.springframework.osgi.mock - package org.springframework.osgi.mock
Spring-DM OSGi Mocks.
org.springframework.osgi.service - package org.springframework.osgi.service
Spring-DM service root package.
org.springframework.osgi.service.dependency - package org.springframework.osgi.service.dependency
Spring-DM service dependency package.
org.springframework.osgi.service.exporter - package org.springframework.osgi.service.exporter
Spring-DM service export package.
org.springframework.osgi.service.exporter.support - package org.springframework.osgi.service.exporter.support
Spring-DM export support package.
org.springframework.osgi.service.importer - package org.springframework.osgi.service.importer
Spring-DM service import package.
org.springframework.osgi.service.importer.support - package org.springframework.osgi.service.importer.support
Spring-DM import support package.
org.springframework.osgi.test - package org.springframework.osgi.test
Spring-DM integration testing support.
org.springframework.osgi.test.platform - package org.springframework.osgi.test.platform
Spring-DM testing platform package.
org.springframework.osgi.test.provisioning - package org.springframework.osgi.test.provisioning
Spring-DM test provisioning.
org.springframework.osgi.util - package org.springframework.osgi.util
Spring-DM core util package.
OSGI_FRAMEWORK_SELECTOR - Static variable in class org.springframework.osgi.test.AbstractConfigurableOsgiTests
System property for selecting the appropriate OSGi implementation.
OsgiBundleApplicationContextExecutor - Interface in org.springframework.osgi.context
DelegatedExecutionOsgiBundleApplicationContext executor.
OsgiBundleResource - Class in org.springframework.osgi.io
Resource implementation for OSGi environments.
OsgiBundleResource(Bundle, String) - Constructor for class org.springframework.osgi.io.OsgiBundleResource
Constructs a new OsgiBundleResource instance.
OsgiBundleResourceLoader - Class in org.springframework.osgi.io
OSGi specific ResourceLoader implementation.
OsgiBundleResourceLoader(Bundle) - Constructor for class org.springframework.osgi.io.OsgiBundleResourceLoader
Creates a OSGi aware ResourceLoader using the given bundle.
OsgiBundleResourcePatternResolver - Class in org.springframework.osgi.io
OSGi-aware ResourcePatternResolver.
OsgiBundleResourcePatternResolver(Bundle) - Constructor for class org.springframework.osgi.io.OsgiBundleResourcePatternResolver
 
OsgiBundleResourcePatternResolver(ResourceLoader) - Constructor for class org.springframework.osgi.io.OsgiBundleResourcePatternResolver
 
OsgiBundleUtils - Class in org.springframework.osgi.util
Utility class for OSGi Bundles.
OsgiBundleUtils() - Constructor for class org.springframework.osgi.util.OsgiBundleUtils
 
OsgiBundleXmlApplicationContext - Class in org.springframework.osgi.context.support
Stand-alone XML application context, backed by an OSGi bundle.
OsgiBundleXmlApplicationContext() - Constructor for class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Creates a new OsgiBundleXmlApplicationContext with no parent.
OsgiBundleXmlApplicationContext(ApplicationContext) - Constructor for class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Creates a new OsgiBundleXmlApplicationContext with the given parent context.
OsgiBundleXmlApplicationContext(String[]) - Constructor for class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Creates a new OsgiBundleXmlApplicationContext with the given configLocations.
OsgiBundleXmlApplicationContext(String[], ApplicationContext) - Constructor for class org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
Creates a new OsgiBundleXmlApplicationContext with the given configLocations and parent context.
OsgiException - Exception in org.springframework.osgi
Root of the Spring DM exception hierarchy.
OsgiException() - Constructor for exception org.springframework.osgi.OsgiException
Default constructor using no specified cause or detailed message.
OsgiException(String, Throwable) - Constructor for exception org.springframework.osgi.OsgiException
Constructs a new OsgiException instance.
OsgiException(String) - Constructor for exception org.springframework.osgi.OsgiException
Constructs a new OsgiException instance.
OsgiException(Throwable) - Constructor for exception org.springframework.osgi.OsgiException
Constructs a new OsgiException instance.
OsgiFilterUtils - Class in org.springframework.osgi.util
Utility class for creating OSGi filters.
OsgiFilterUtils() - Constructor for class org.springframework.osgi.util.OsgiFilterUtils
 
OsgiListenerUtils - Class in org.springframework.osgi.util
Utility class for dealing with various OSGi listeners, mainly ServiceListeners.
OsgiListenerUtils() - Constructor for class org.springframework.osgi.util.OsgiListenerUtils
 
OsgiPlatform - Interface in org.springframework.osgi.test.platform
Lifecycle contract for the OSGi platform.
OsgiPlatformDetector - Class in org.springframework.osgi.util
Utility class that detects the running platform.
OsgiPlatformDetector() - Constructor for class org.springframework.osgi.util.OsgiPlatformDetector
 
OsgiServiceCollectionProxyFactoryBean - Class in org.springframework.osgi.service.importer.support
OSGi service (collection) importer.
OsgiServiceCollectionProxyFactoryBean() - Constructor for class org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean
 
OsgiServiceFactoryBean - Class in org.springframework.osgi.service.exporter.support
FactoryBean that transparently publishes other beans in the same application context as OSGi services returning the ServiceRegistration for the given object.
OsgiServiceFactoryBean() - Constructor for class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
OsgiServiceLifecycleListener - Interface in org.springframework.osgi.service.importer
Listener tracking binding and unbinding of OSGi services used as normal object references inside a Spring application context.
OsgiServicePropertiesResolver - Interface in org.springframework.osgi.service.exporter
An OsgiServicePropertiesResolver is responsible for providing the properties that a bean exposed as a service will be published with.
OsgiServiceProxyFactoryBean - Class in org.springframework.osgi.service.importer.support
OSGi (single) service importer.
OsgiServiceProxyFactoryBean() - Constructor for class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
 
OsgiServiceReferenceUtils - Class in org.springframework.osgi.util
Utility class for retrieving OSGi service references.
OsgiServiceReferenceUtils() - Constructor for class org.springframework.osgi.util.OsgiServiceReferenceUtils
 
OsgiServiceRegistrationListener - Interface in org.springframework.osgi.service.exporter
Registration listener that needs notifications of registration and unregistration of OSGi services exported through Spring OSGi.
OsgiServiceUtils - Class in org.springframework.osgi.util
Utility class offering easy access to OSGi services.
OsgiServiceUtils() - Constructor for class org.springframework.osgi.util.OsgiServiceUtils
 
OsgiStringUtils - Class in org.springframework.osgi.util
Utility class for creating nice string representations of various OSGi classes.
OsgiStringUtils() - Constructor for class org.springframework.osgi.util.OsgiStringUtils
 

P

Platforms - Class in org.springframework.osgi.test.platform
Convenience constants class for OSGi platforms supported out of the box.
Platforms() - Constructor for class org.springframework.osgi.test.platform.Platforms
 
postProcessAfterInitialization(Object, String) - Method in class org.springframework.osgi.context.support.BundleContextAwareProcessor
 
postProcessAfterInitialization(Object, String) - Method in class org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor
process FactoryBean created objects, since these will not have had services injected.
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
postProcessBeforeInitialization(Object, String) - Method in class org.springframework.osgi.context.support.BundleContextAwareProcessor
 
postProcessBundleContext(BundleContext) - Method in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
postProcessBundleContext(BundleContext) - Method in class org.springframework.osgi.test.AbstractOnTheFlyBundleCreatorTests
 
postProcessBundleContext(BundleContext) - Method in class org.springframework.osgi.test.AbstractOsgiTests
Post-processes the bundle context.
postProcessBundleContext(BundleContext) - Method in class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
 
postProcessPropertyValues(PropertyValues, PropertyDescriptor[], Object, String) - Method in class org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor
 
preProcessBundleContext(BundleContext) - Method in class org.springframework.osgi.test.AbstractDependencyManagerTests
Pre-processes the bundle context.
preProcessBundleContext(BundleContext) - Method in class org.springframework.osgi.test.AbstractOsgiTests
Pre-processes the bundle context.

R

refresh() - Method in interface org.springframework.osgi.context.OsgiBundleApplicationContextExecutor
Execute the delegated ConfigurableApplicationContext.refresh().
refresh() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
Delegate execution of refresh method to a third party.
registered(Object, Map) - Method in interface org.springframework.osgi.service.exporter.OsgiServiceRegistrationListener
Called when the the service exported has been registered in the OSGi space.
registerListener(MandatoryDependencyListener) - Method in interface org.springframework.osgi.service.dependency.DependableServiceImporter
Register a MandatoryDependencyListener on this importer.
registerListener(MandatoryDependencyListener) - Method in class org.springframework.osgi.service.importer.support.AbstractDependableServiceImporter
 
registerService(String[], Object, Dictionary) - Method in class org.springframework.osgi.mock.MockBundleContext
 
registerService(String, Object, Dictionary) - Method in class org.springframework.osgi.mock.MockBundleContext
 
registerService() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Publishes the given object as an OSGi service.
removeBundleListener(BundleListener) - Method in class org.springframework.osgi.mock.MockBundleContext
 
removeFrameworkListener(FrameworkListener) - Method in class org.springframework.osgi.mock.MockBundleContext
 
removeServiceListener(ServiceListener) - Method in class org.springframework.osgi.mock.MockBundleContext
 
removeServiceListener(BundleContext, ServiceListener) - Static method in class org.springframework.osgi.util.OsgiListenerUtils
Removes a service listener from the given bundle context.
resourceLoader - Variable in class org.springframework.osgi.test.AbstractOsgiTests
 
ROOT_DIR - Static variable in class org.springframework.osgi.test.AbstractConfigurableBundleCreatorTests
 
run(TestResult) - Method in class org.springframework.osgi.test.AbstractOsgiTests

Replacement run method.

runBare() - Method in class org.springframework.osgi.test.AbstractOsgiTests
 

S

SERVICE_EVENTS - Static variable in class org.springframework.osgi.util.OsgiStringUtils
Constant over the Service events
SERVICE_PROVIDER - Static variable in class org.springframework.osgi.service.exporter.support.ExportContextClassLoader
The TCCL will be set to the service provider upon service invocation.
SERVICE_PROVIDER - Static variable in class org.springframework.osgi.service.importer.support.ImportContextClassLoader
The TCCL will be set to the service provider upon service invocation.
ServiceDependency - Interface in org.springframework.osgi.service.dependency
Generic dependency service import contract.
ServiceException - Exception in org.springframework.osgi.service
OSGi service specific exception.
ServiceException() - Constructor for exception org.springframework.osgi.service.ServiceException
Constructs a new ServiceException instance.
ServiceException(String, Throwable) - Constructor for exception org.springframework.osgi.service.ServiceException
Constructs a new ServiceException instance.
ServiceException(String) - Constructor for exception org.springframework.osgi.service.ServiceException
Constructs a new ServiceException instance.
ServiceException(Throwable) - Constructor for exception org.springframework.osgi.service.ServiceException
Constructs a new ServiceException instance.
serviceListeners - Variable in class org.springframework.osgi.mock.MockBundleContext
 
ServiceReference - Annotation Type in org.springframework.osgi.extensions.annotation
Marks a method (typically a JavaBean setter method) as requiring an OSGi service reference.
ServiceReferenceCardinality - Enum in org.springframework.osgi.extensions.annotation
Spring-DM managed service cardinality.
ServiceReferenceClassLoader - Enum in org.springframework.osgi.extensions.annotation
Spring-DM managed OSGi service ClassLoader property.
ServiceReferenceEditor - Class in org.springframework.osgi.service.importer.support
PropertyEditor that converts an <osgi:reference> element into a ServiceReference.
ServiceReferenceEditor() - Constructor for class org.springframework.osgi.service.importer.support.ServiceReferenceEditor
 
ServiceReferenceInjectionBeanPostProcessor - Class in org.springframework.osgi.extensions.annotation
BeanPostProcessor that processed annotation to inject Spring-DM managed OSGi services.
ServiceReferenceInjectionBeanPostProcessor() - Constructor for class org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor
 
ServiceUnavailableException - Exception in org.springframework.osgi.service
Exception indicating that an OSGi service became unavailable/unregistered.
ServiceUnavailableException(Filter) - Constructor for exception org.springframework.osgi.service.ServiceUnavailableException
Constructs a new ServiceUnavailableException instance.
ServiceUnavailableException(String) - Constructor for exception org.springframework.osgi.service.ServiceUnavailableException
Constructs a new ServiceUnavailableException instance.
ServiceUnavailableException(ServiceReference) - Constructor for exception org.springframework.osgi.service.ServiceUnavailableException
Constructs a new ServiceUnavailableException instance.
SET - Static variable in class org.springframework.osgi.service.importer.support.CollectionType
Spring-managed set.
setAction(BundleAction) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Action to execute at startup.
setAsText(String) - Method in class org.springframework.osgi.service.importer.support.ServiceReferenceEditor

Converts the given text value to a ServiceReference.

setAutoExport(AutoExport) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Sets the strategy used for automatically publishing classes.
setBeanClassLoader(ClassLoader) - Method in class org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor
 
setBeanClassLoader(ClassLoader) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
setBeanClassLoader(ClassLoader) - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
 
setBeanFactory(BeanFactory) - Method in class org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor
 
setBeanFactory(BeanFactory) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
setBeanName(String) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
setBundle(Bundle) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Set the backing bundle used by this class.
setBundle(Bundle) - Method in class org.springframework.osgi.mock.MockBundleContext
 
setBundleContext(BundleContext) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
setBundleContext(BundleContext) - Method in interface org.springframework.osgi.context.BundleContextAware
Set the BundleContext that this bean runs in.
setBundleContext(BundleContext) - Method in interface org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext
Sets the BundleContext used by this OSGi bundle application context.
setBundleContext(BundleContext) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
Sets the BundleContext used by this OSGi bundle application context.
setBundleContext(BundleContext) - Method in class org.springframework.osgi.extensions.annotation.ServiceReferenceInjectionBeanPostProcessor
 
setBundleContext(BundleContext) - Method in class org.springframework.osgi.service.exporter.support.BeanNameServicePropertiesResolver
 
setBundleContext(BundleContext) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
setBundleContext(BundleContext) - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
 
setBundleId(long) - Method in class org.springframework.osgi.mock.MockBundle
 
setCardinality(Cardinality) - Method in class org.springframework.osgi.service.importer.support.AbstractDependableServiceImporter
Sets the importer cardinality (0..1, 1..1, 0..N, or 1..N).
setCardinality(Cardinality) - Method in class org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean
Sets the importer cardinality (0..1, 1..1, 0..N, or 1..N).
setCardinality(Cardinality) - Method in class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
Sets the importer cardinality (0..1, 1..1, 0..N, or 1..N).
setClassLoader(ClassLoader) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
setClassLoader(ClassLoader) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
setCollectionType(CollectionType) - Method in class org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean
Sets the collection type this FactoryBean will produce.
setComparator(Comparator) - Method in class org.springframework.osgi.service.importer.support.OsgiServiceCollectionProxyFactoryBean
Sets the (optional) comparator for ordering the resulting collection.
setConfigLocations(String[]) - Method in interface org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext
Sets the config locations for this OSGi bundle application context.
setConfigLocations(String[]) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
setContextClassLoader(ExportContextClassLoader) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Sets the context class loader management strategy to use when invoking operations on the exposed target bean.
setContextClassLoader(ImportContextClassLoader) - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Sets the thread context class loader management strategy to use for services imported by this service.
setDestroyAction(BundleAction) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Action to execute at shutdown.
setEntryReturnOnNextCallToGetEntry(URL) - Method in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
setExecutor(OsgiBundleApplicationContextExecutor) - Method in interface org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext
Assigns the OsgiBundleApplicationContextExecutor for this delegated context.
setExecutor(OsgiBundleApplicationContextExecutor) - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
setFilter(String) - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Sets the OSGi service filter.
setInterfaces(Class[]) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Sets the interfaces advertised by the service.These will be advertised in the OSGi space and are considered when looking for a service.
setInterfaces(Class[]) - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Sets the classes that the imported service advertises.
setListeners(OsgiServiceRegistrationListener[]) - Method in class org.springframework.osgi.service.exporter.support.AbstractOsgiServiceExporter
Sets the listeners interested in registration and unregistration events.
setListeners(OsgiServiceLifecycleListener[]) - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Sets the lifecycle listeners interested in receiving events for this importer.
setLocation(String) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Set the bundle location (optional operation).
setLocation(String) - Method in class org.springframework.osgi.mock.MockBundle
 
setOrder(int) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Set the ordering which will apply to this class's implementation of Ordered, used when applying multiple BeanPostProcessors.
setProperties(Dictionary) - Method in class org.springframework.osgi.mock.MockServiceReference
 
setProperties(Dictionary) - Method in class org.springframework.osgi.mock.MockServiceRegistration
 
setPublishAtStartup(boolean) - Method in interface org.springframework.osgi.service.dependency.DependentServiceExporter
Instructs the exporter whether to publish the service at startup or not.
setPublishAtStartup(boolean) - Method in class org.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
 
setPublishContextAsService(boolean) - Method in interface org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext
Indicates whether this application context should be publish as an OSGi service if successfully started.
setPublishContextAsService(boolean) - Method in class org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext
 
setPushBundleAsContextClassLoader(boolean) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Determines whether invocations on the remote service should be performed in the context (thread context class loader) of the target bundle's ClassLoader.
setRanking(int) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Shortcut for setting the ranking property of the published service.
setReference(ServiceReference) - Method in class org.springframework.osgi.mock.MockServiceRegistration
 
setResolver(OsgiServicePropertiesResolver) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Sets the property resolver used when publishing the bean as an OSGi service.
setResourceLoader(ResourceLoader) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
 
setResultsToReturnOnNextCallToFindEntries(String[]) - Method in class org.springframework.osgi.mock.EntryLookupControllingMockBundle
 
setRetryTimes(int) - Method in class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
Sets how many times should this importer attempt to rebind to a target service if the backing service currently used is unregistered.
setServiceBeanName(String) - Method in class org.springframework.osgi.service.importer.support.AbstractOsgiServiceImportFactoryBean
Sets the OSGi service bean name.
setServiceProperties(Map) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Sets the properties used when exposing the target as an OSGi service.
setStartLevel(int) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Sets the bundle start level.
setSymbolicName(String) - Method in class org.springframework.osgi.bundle.BundleFactoryBean
Set the bundle symbolic name (optional operation).
setTarget(Object) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Sets the given object to be export as an OSGi service.
setTargetBeanName(String) - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
Sets the name of the bean managed by the Spring container, which will be exported as an OSGi service.
setTimeout(long) - Method in class org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean
Sets how long (in milliseconds) should this importer wait between failed attempts at rebinding to a service that has been unregistered.
setValue(Object) - Method in class org.springframework.osgi.service.importer.support.ServiceReferenceEditor

Converts the given value to a ServiceReference.

shouldPublishAtStartup() - Method in class org.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
Indicates whether the service publication should happen at startup or not.
shouldWaitForSpringBundlesContextCreation() - Method in class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
Indicates whether the test class should wait or not for the context creation of Spring/OSGi bundles before executing the tests.
SORTED_LIST - Static variable in class org.springframework.osgi.service.importer.support.CollectionType
Spring-managed sorted list.
SORTED_SET - Static variable in class org.springframework.osgi.service.importer.support.CollectionType
Spring-managed sorted Set.
START - Static variable in class org.springframework.osgi.bundle.BundleAction
Start bundle.
start() - Method in class org.springframework.osgi.mock.MockBundle
 
start(BundleContext) - Method in class org.springframework.osgi.mock.MockBundleActivator
 
start() - Method in interface org.springframework.osgi.service.dependency.DependentServiceExporter
Starts the OSGi lifecycle.
start() - Method in class org.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
 
start(BundleContext) - Method in class org.springframework.osgi.test.JUnitTestActivator
 
start() - Method in class org.springframework.osgi.test.platform.EquinoxPlatform
 
start() - Method in class org.springframework.osgi.test.platform.FelixPlatform
 
start() - Method in class org.springframework.osgi.test.platform.KnopflerfishPlatform
 
start() - Method in interface org.springframework.osgi.test.platform.OsgiPlatform
Starts the OSGi platform.
startRefresh() - Method in interface org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext
First phase of the refresh.
startRefresh() - Method in class org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext
 
STOP - Static variable in class org.springframework.osgi.bundle.BundleAction
Stop bundle.
stop() - Method in class org.springframework.osgi.mock.MockBundle
 
stop(BundleContext) - Method in class org.springframework.osgi.mock.MockBundleActivator
 
stop() - Method in interface org.springframework.osgi.service.dependency.DependentServiceExporter
Stops the OSGi lifecycle.
stop() - Method in class org.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
 
stop(BundleContext) - Method in class org.springframework.osgi.test.JUnitTestActivator
 
stop() - Method in class org.springframework.osgi.test.platform.EquinoxPlatform
 
stop() - Method in class org.springframework.osgi.test.platform.FelixPlatform
 
stop() - Method in class org.springframework.osgi.test.platform.KnopflerfishPlatform
 
stop() - Method in interface org.springframework.osgi.test.platform.OsgiPlatform
Stops the OSGi platform.

T

toCardinality() - Method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceCardinality
 
toImportContextClassLoader() - Method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceClassLoader
 
toString() - Method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceCardinality
 
toString() - Method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceClassLoader
 
toString() - Method in class org.springframework.osgi.mock.MockBundle
 
toString() - Method in class org.springframework.osgi.mock.MockFilter
 
toString() - Method in class org.springframework.osgi.mock.MockServiceReference
 
toString() - Method in class org.springframework.osgi.util.BundleDelegatingClassLoader
 

U

unbind(Object, Map) - Method in interface org.springframework.osgi.service.importer.OsgiServiceLifecycleListener
Called when a service is being unbinded inside the proxy (be it single or multi value).
ungetService(ServiceReference) - Method in class org.springframework.osgi.mock.MockBundleContext
 
unifyFilter(String, String) - Static method in class org.springframework.osgi.util.OsgiFilterUtils
Adds the given class as an 'and'(&) Constants.OBJECTCLASS constraint to the given filter.
unifyFilter(Class, String) - Static method in class org.springframework.osgi.util.OsgiFilterUtils
Adds the given class to the given filter.
unifyFilter(Class[], String) - Static method in class org.springframework.osgi.util.OsgiFilterUtils
Adds the given classes to the given filter.
unifyFilter(String[], String) - Static method in class org.springframework.osgi.util.OsgiFilterUtils
Adds the given classes as an 'and'(&) Constants.OBJECTCLASS constraint to the given filter.
unifyFilter(String, String[], String) - Static method in class org.springframework.osgi.util.OsgiFilterUtils
Concatenates the given strings with an 'and'(&) constraint under the given key to the given filter.
UNINSTALL - Static variable in class org.springframework.osgi.bundle.BundleAction
Uninstall bundle.
uninstall() - Method in class org.springframework.osgi.mock.MockBundle
 
UNMANAGED - Static variable in class org.springframework.osgi.service.exporter.support.ExportContextClassLoader
The TCCL will not be managed upon service invocation.
UNMANAGED - Static variable in class org.springframework.osgi.service.importer.support.ImportContextClassLoader
The TCCL will not be managed upon service invocation.
unregister() - Method in class org.springframework.osgi.mock.MockServiceRegistration
 
unregistered(Object, Map) - Method in interface org.springframework.osgi.service.exporter.OsgiServiceRegistrationListener
Called when the OSGi service has been unregistered (removed from OSGi space).
unregisterService() - Method in class org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean
 
unregisterService(ServiceRegistration) - Static method in class org.springframework.osgi.util.OsgiServiceUtils
Unregisters the given service registration from the given bundle.
UPDATE - Static variable in class org.springframework.osgi.bundle.BundleAction
Update bundle.
update() - Method in class org.springframework.osgi.mock.MockBundle
 
update(InputStream) - Method in class org.springframework.osgi.mock.MockBundle
 

V

valueOf(String) - Static method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceCardinality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceClassLoader
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceCardinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.osgi.extensions.annotation.ServiceReferenceClassLoader
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitOnContextCreation(String, long) - Method in class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
Waits for a Spring powered bundle, given by its symbolic name to be fully started.
waitOnContextCreation(BundleContext, String, long) - Method in class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
Waits for a Spring powered bundle, given by its symbolic name, to be fully started.
waitOnContextCreation(String) - Method in class org.springframework.osgi.test.AbstractSynchronizedOsgiTests
Waits for a Spring powered bundle, given by its symbolic name, to be fully started.

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

Copyright � 2006-2008 Spring Framework. All Rights Reserved.