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

A

addAttachment(Class<T>, T) - Method in interface org.jboss.osgi.spi.Attachments
Add arbitrary attachment
addAttachment(String, T, Class<T>) - Method in interface org.jboss.osgi.spi.Attachments
Add arbitrary attachment with name
addAttachment(String, Object) - Method in interface org.jboss.osgi.spi.Attachments
Add arbitrary attachment with name
addAttachment(Class<T>, T) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
addAttachment(String, T, Class<T>) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
addAttachment(String, Object) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
addBundle(String) - Method in class org.jboss.osgi.spi.capability.Capability
 
addBundleActivator(String) - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
addBundleListener(BundleListener) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
addBundleManifestVersion(int) - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
addBundleSymbolicName(String) - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
addCapability(Capability) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Add a Capability to the runtime.
addDependency(Capability) - Method in class org.jboss.osgi.spi.capability.Capability
 
addDynamicImportPackages(String...) - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
addExportPackages(String...) - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
addFrameworkListener(FrameworkListener) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
addImportPackages(String...) - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
addManifestHeader(String, String) - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
addServiceListener(ServiceListener, String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
addServiceListener(ServiceListener) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
addSystemProperty(String, String) - Method in class org.jboss.osgi.spi.capability.Capability
Add a system property provided by this capability.
afterFrameworkTestClass() - Static method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assembleArchive(String, String, Class<?>...) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.assembleArchive(String, String, Class...)
assembleArchive(String, String[], Class<?>...) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.assembleArchive(String, String[], Class...)
assembleArchive(String, String, Class<?>...) - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
assembleArchive(String, String[], Class<?>...) - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
assertAllReferences(BundleContext, String, ServiceReference...) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertAllReferences(BundleContext, String, String, ServiceReference...) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertBundleEvent(int, Bundle) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertBundleState(int, int) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.assertBundleState(int, int)
assertBundleState(int, int) - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
assertFrameworkEvent(int, Bundle, Class<? extends Throwable>) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertGetReference(BundleContext, String, ServiceReference) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertInstanceOf(Object, Class<T>) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertInstanceOf(Object, Class<T>, boolean) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertLoadClass(Bundle, String, Bundle) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertLoadClass(Bundle, String) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.assertLoadClass(Bundle, String)
assertLoadClass(Bundle, String) - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
assertLoadClassFail(Bundle, String) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.assertLoadClassFail(Bundle, String)
assertLoadClassFail(Bundle, String) - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
assertNoAllReferences(BundleContext, String) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertNoAllReferences(BundleContext, String, String) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertNoBundleEvent() - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertNoFrameworkEvent() - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertNoGetReference(BundleContext, String) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertNoReferences(BundleContext, String) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertNoReferences(BundleContext, String, String) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertNoServiceEvent() - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertReferences(BundleContext, String, ServiceReference...) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertReferences(BundleContext, String, String, ServiceReference...) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertServiceEvent(int, ServiceReference) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
assertUsingBundles(ServiceReference, Bundle...) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
Attachments - Interface in org.jboss.osgi.spi
An interface for general Attachments
Attachments.Key - Class in org.jboss.osgi.spi
A key for attachements
Attachments.Key(String, Class<?>) - Constructor for class org.jboss.osgi.spi.Attachments.Key
Construct the key with optional class and name
AttachmentSupport - Class in org.jboss.osgi.spi.util
Basic attachment support.
AttachmentSupport() - Constructor for class org.jboss.osgi.spi.util.AttachmentSupport
Construct with no attachments
AttachmentSupport(AttachmentSupport) - Constructor for class org.jboss.osgi.spi.util.AttachmentSupport
Construct with given attachments

B

BEAN_BUNDLE_CONTEXT - Static variable in interface org.jboss.osgi.spi.service.MicrocontainerService
The name under which the system bundle context is registered: 'jboss.osgi:service=BundleContext'
BEAN_KERNEL - Static variable in interface org.jboss.osgi.spi.service.MicrocontainerService
The name under which the Kernel is registered: 'jboss.kernel:service=Kernel'
BEAN_KERNEL_CONTROLLER - Static variable in interface org.jboss.osgi.spi.service.MicrocontainerService
The name under which the KernelController is registered: 'jboss.kernel:service=KernelController'
BEAN_MBEAN_SERVER - Static variable in interface org.jboss.osgi.spi.service.MicrocontainerService
The name under which the MBeanServer is registered: 'jboss.osgi:service=MBeanServer'
beforeFrameworkTestClass() - Static method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
bundle - Variable in class org.jboss.osgi.spi.framework.BundleWrapper
 
bundleChanged(BundleEvent) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
BundleClassLoader - Class in org.jboss.osgi.spi.util
A BundleClassLoader delegates all classloading concerns to the underlying Bundle.
BundleContextWrapper - Class in org.jboss.osgi.spi.framework
A generic BundleContext wrapper that delegates all method calls to the underlying BundleContext implementation.
BundleContextWrapper(BundleContext) - Constructor for class org.jboss.osgi.spi.framework.BundleContextWrapper
 
bundleEvent(int) - Static method in class org.jboss.osgi.spi.util.ConstantsHelper
Return the string representation of a BundleEvent type
BundleInfo - Class in org.jboss.osgi.spi.util
Primitive access to bundle meta data and root virtual file.
bundleState(int) - Static method in class org.jboss.osgi.spi.util.ConstantsHelper
Return the string representation of a Bundle state
BundleWrapper - Class in org.jboss.osgi.spi.framework
A generic Bundle wrapper that delegates all method calls to the underlying Bundle implementation.
BundleWrapper(Bundle) - Constructor for class org.jboss.osgi.spi.framework.BundleWrapper
 

C

Capability - Class in org.jboss.osgi.spi.capability
An abstract OSGi capability that can be installed in an OSGiRuntime.
Capability(String) - Constructor for class org.jboss.osgi.spi.capability.Capability
Construct a capability that is identified by the given service name.
Capability(String, String) - Constructor for class org.jboss.osgi.spi.capability.Capability
Construct a capability that is identified by the given service name and filter string.
close() - Method in class org.jboss.osgi.spi.util.BundleInfo
Closes the accociated resources.
CompendiumCapability - Class in org.jboss.osgi.spi.capability
Adds the OSGi compedium capability to the OSGiRuntime under test.
CompendiumCapability() - Constructor for class org.jboss.osgi.spi.capability.CompendiumCapability
 
ConfigAdminCapability - Class in org.jboss.osgi.spi.capability
Adds the OSGi compedium ConfigAdmin capability to the OSGiRuntime under test.
ConfigAdminCapability() - Constructor for class org.jboss.osgi.spi.capability.ConfigAdminCapability
 
configure() - Method in interface org.jboss.osgi.spi.framework.OSGiBootstrapProvider
Configure this provider with the default configuration
configure(URL) - Method in interface org.jboss.osgi.spi.framework.OSGiBootstrapProvider
Configure this provider from the given URL
configure(String) - Method in interface org.jboss.osgi.spi.framework.OSGiBootstrapProvider
Configure this provider from a given resource
configure(InputStream) - Method in interface org.jboss.osgi.spi.framework.OSGiBootstrapProvider
Configure this provider from a given input stream
configure() - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
 
configure(String) - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
 
configure(URL) - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
 
configure(InputStream) - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
 
ConstantsHelper - Class in org.jboss.osgi.spi.util
String representation for common OSGi Constants
ConstantsHelper() - Constructor for class org.jboss.osgi.spi.util.ConstantsHelper
 
context - Variable in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
create() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
createBundleInfo(String) - Static method in class org.jboss.osgi.spi.util.BundleInfo
 
createBundleInfo(URL) - Static method in class org.jboss.osgi.spi.util.BundleInfo
 
createBundleInfo(VirtualFile) - Static method in class org.jboss.osgi.spi.util.BundleInfo
 
createBundleInfo(VirtualFile, String) - Static method in class org.jboss.osgi.spi.util.BundleInfo
 
createClassLoader(Bundle) - Static method in class org.jboss.osgi.spi.util.BundleClassLoader
 
createFilter(String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
createFramework(Map<String, Object>) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
Overwrite to create the framework
createFramework(Map<String, Object>) - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
Overwrite to create the framework

D

DEFAULT_OSGI_FRAMEWORK_PROPERTIES - Static variable in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
The default framework config: jboss-osgi-framework.properties
DOMAIN_NAME - Static variable in interface org.jboss.osgi.spi.OSGiConstants
The JBossOSGi domain 'jboss.osgi'

E

elements() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
equals(Object) - Method in class org.jboss.osgi.spi.Attachments.Key
Two keys are equal if their Attachments.Key.toString() is equal
equals(Object) - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
equals(Object) - Method in class org.jboss.osgi.spi.util.BundleInfo
 
EventAdminCapability - Class in org.jboss.osgi.spi.capability
Adds the OSGi compedium EventAdmin capability.
EventAdminCapability() - Constructor for class org.jboss.osgi.spi.capability.EventAdminCapability
 
ExportedPackageHelper - Class in org.jboss.osgi.spi.util
A helper the logs the exported packages for a bundle.
ExportedPackageHelper(BundleContext) - Constructor for class org.jboss.osgi.spi.util.ExportedPackageHelper
 

F

failsafeStop(OSGiBundle) - Static method in class org.jboss.osgi.testing.OSGiRuntimeHelper
 
failsafeUninstall(OSGiBundle) - Static method in class org.jboss.osgi.testing.OSGiRuntimeHelper
 
findClass(String) - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
findEntries(String, String, boolean) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
findEntries(String, String, boolean) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
findResource(String) - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
findResources(String) - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
framework - Variable in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
framework - Static variable in class org.jboss.osgi.testing.OSGiFrameworkTest
 
frameworkEvent(int) - Static method in class org.jboss.osgi.spi.util.ConstantsHelper
 
frameworkEvent(FrameworkEvent) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
FrameworkException - Exception in org.jboss.osgi.spi.framework
An OSGi Framework Exception that should be thrown on unrecoverable errors.
FrameworkException(String) - Constructor for exception org.jboss.osgi.spi.framework.FrameworkException
 
FrameworkException(String, Throwable) - Constructor for exception org.jboss.osgi.spi.framework.FrameworkException
 
FrameworkException(Throwable) - Constructor for exception org.jboss.osgi.spi.framework.FrameworkException
 
FrameworkIntegrationBean - Class in org.jboss.osgi.spi.framework
An abstraction of an OSGi Framework.
FrameworkIntegrationBean() - Constructor for class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
FrameworkWrapper - Class in org.jboss.osgi.spi.framework
A generic Framework wrapper that delegates all method calls to the underlying Framework implementation.
FrameworkWrapper(Framework) - Constructor for class org.jboss.osgi.spi.framework.FrameworkWrapper
 

G

get(Object) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
getAllServiceReferences(String, String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getAttachment(Class<T>) - Method in interface org.jboss.osgi.spi.Attachments
Get an arbitrary attachment
getAttachment(String, Class<T>) - Method in interface org.jboss.osgi.spi.Attachments
Get an arbitrary attachment
getAttachment(String) - Method in interface org.jboss.osgi.spi.Attachments
Get an arbitrary attachment
getAttachment(Class<T>) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
getAttachment(String, Class<T>) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
getAttachment(String) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
getAttachmentKeys() - Method in interface org.jboss.osgi.spi.Attachments
Get attachment keys
getAttachmentKeys() - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
getAutoInstall() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getAutoStart() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getBootstrapProvider() - Static method in class org.jboss.osgi.spi.framework.OSGiBootstrap
Get an instance of an OSGiBootstrapProvider.
getBootstrapProvider() - Method in class org.jboss.osgi.testing.OSGiRuntimeHelper
 
getBundle() - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getBundle(long) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getBundle() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getBundle(String, Version) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the OSGiBundle for a given symbolic name and version In case the version is left unspecified, it returns the first bundle that matches the symbolic name.
getBundle(long) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the OSGiBundle for a given bundle id.
getBundleContext() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getBundleContext() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getBundleContext() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getBundleId() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getBundleId() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getBundleId() - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns this bundle's unique identifier.
getBundleManifestVersion(Manifest) - Static method in class org.jboss.osgi.spi.util.BundleInfo
Get the bundle manifest version.
getBundles() - Method in class org.jboss.osgi.spi.capability.Capability
 
getBundles() - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getBundles() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the array of installed OSGiBundles
getBundleStateMBean() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the BundleStateMBean
getClassPart() - Method in class org.jboss.osgi.spi.Attachments.Key
Get the class part for this key
getDataFile(String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getDataFile(String) - Method in interface org.jboss.osgi.testing.OSGiBundle
Creates a File object for a file in the persistent storage area provided for the bundle by the Framework.
getDefaultRuntime() - Method in class org.jboss.osgi.testing.OSGiRuntimeHelper
 
getDefaultRuntime() - Method in class org.jboss.osgi.testing.OSGiRuntimeTest
Delegates to OSGiRuntimeHelper.getDefaultRuntime()
getDependencies() - Method in class org.jboss.osgi.spi.capability.Capability
 
getEmbeddedRuntime() - Method in class org.jboss.osgi.testing.OSGiRuntimeHelper
 
getEmbeddedRuntime() - Method in class org.jboss.osgi.testing.OSGiRuntimeTest
Delegates to OSGiRuntimeHelper.getEmbeddedRuntime()
getEntry(String) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getEntry(String) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getEntry(String) - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns a URL to the entry at the specified path in this bundle.
getEntryPaths(String) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getEntryPaths(String) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getFilter() - Method in class org.jboss.osgi.spi.capability.Capability
Get the filter that is used for service lookup.
getFramework() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getFramework() - Method in interface org.jboss.osgi.spi.framework.OSGiBootstrapProvider
Get the configured OSGi Framework
getFramework() - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
 
getFrameworkMBean() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the FrameworkMBean
getFrameworkName() - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getFrameworkName()
getFrameworkName() - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
getHeaders() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getHeaders(String) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getHeaders() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getHeaders(String) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getHeaders() - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns this bundle's Manifest headers and values.
getHeaders(String) - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns this bundle's Manifest headers and values localized to the specified locale.
getInitialContext() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the initial naming context for this OSGiRuntime
getInitialContext() - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getInitialContext()
getInitialContext() - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
getInstalledBundles() - Method in class org.jboss.osgi.spi.capability.Capability
 
getLastModified() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getLastModified() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getLocation() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getLocation() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getLocation() - Method in class org.jboss.osgi.spi.util.BundleInfo
Get the bundle location
getLocation() - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns this bundle's location.
getLongName() - Method in class org.jboss.osgi.testing.OSGiTest
Get the the FQN of this test class.
getManifest() - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
getManifestHeader(String) - Method in class org.jboss.osgi.spi.util.BundleInfo
Get the manifest header for the given key.
getMBeanServer() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the MBeanServerConnection for this OSGiRuntime
getNamePart() - Method in class org.jboss.osgi.spi.Attachments.Key
Get the name part for this key
getPackageAdmin() - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
getPackageStateMBean() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the PackageStateMBean
getProperties() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getProperty(String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getProperty(String) - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns the value of the specified property.
getProperty(String) - Method in interface org.jboss.osgi.testing.OSGiServiceReference
Returns the property value to which the specified property key is mapped in the properties Dictionary object of the service referenced by this ServiceReference object.
getPropertyKeys() - Method in interface org.jboss.osgi.testing.OSGiServiceReference
Returns an array of the keys in the properties Dictionary object of the service referenced by this ServiceReference object.
getRegisteredBean(String) - Method in interface org.jboss.osgi.spi.service.MicrocontainerService
Get a registered bean from the Kernel.
getRegisteredBean(Class<T>, String) - Method in interface org.jboss.osgi.spi.service.MicrocontainerService
Get a registered bean from the Kernel.
getRegisteredServices() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getRegisteredServices() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getRemoteRuntime() - Method in class org.jboss.osgi.testing.OSGiRuntimeHelper
 
getRemoteRuntime() - Method in class org.jboss.osgi.testing.OSGiRuntimeTest
Delegates to OSGiRuntimeHelper.getRemoteRuntime()
getResource(String) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getResource(String) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getResource(String) - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
getResource(String) - Method in interface org.jboss.osgi.testing.OSGiBundle
Find the specified resource from this bundle's class loader.
getResourceFile(String) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getResourceFile(String)
getResourceFile(String) - Method in class org.jboss.osgi.testing.OSGiTestHelper
Try to discover the File for the test resource
getResources(String) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getResources(String) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getResourceURL(String) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getResourceURL(String)
getResourceURL(String) - Method in class org.jboss.osgi.testing.OSGiTestHelper
Try to discover the URL for the test resource
getRoot() - Method in class org.jboss.osgi.spi.util.BundleInfo
Get the bundle root file
getRootURL() - Method in class org.jboss.osgi.spi.util.BundleInfo
Get the bundle root url
getRuntime() - Method in interface org.jboss.osgi.testing.OSGiBundle
Get the runtime associated with this bundle.
getRuntimeHelper() - Method in class org.jboss.osgi.testing.OSGiRuntimeTest
Get the test helper used by this test Overwrite if you need to supply another helper i.e.
getServerHost() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the host name that this OSGiRuntime is running on.
getServerHost() - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getServerHost()
getServerHost() - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
getService(ServiceReference) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getServiceName() - Method in class org.jboss.osgi.spi.capability.Capability
Get the service name associated with this capability.
getServiceReference(String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getServiceReference(String) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Returns a ServiceReference object for a service that implements and was registered under the specified class.
getServiceReference(String, long) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Returns a ServiceReference object for a service that implements and was registered under the specified class.
getServiceReferences(String, String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
getServiceReferences(String, String) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Returns an array of ServiceReference objects.
getServicesInUse() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getServicesInUse() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getServiceStateMBean() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Get the ServiceStateMBean
getShortName() - Method in class org.jboss.osgi.testing.OSGiTest
Get the last token in the FQN of this test class.
getSignerCertificates(int) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getSignerCertificates(int) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getState() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getState() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getState() - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns this bundle's current state.
getSymbolicName() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getSymbolicName() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getSymbolicName() - Method in class org.jboss.osgi.spi.util.BundleInfo
Get the bundle symbolic name
getSymbolicName() - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns the symbolic name of this bundle as specified by its Bundle-SymbolicName manifest header.
getSystemProperties() - Method in class org.jboss.osgi.spi.capability.Capability
Get the system properties for this capability.
getTargetContainer() - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getTargetContainer()
getTargetContainer() - Method in class org.jboss.osgi.testing.OSGiTestHelper
 
getTestArchiveFile(String) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getTestArchiveFile(String)
getTestArchiveFile(String) - Method in class org.jboss.osgi.testing.OSGiTestHelper
Try to discover the File for the deployment archive
getTestArchivePath(String) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getTestArchivePath(String)
getTestArchivePath(String) - Method in class org.jboss.osgi.testing.OSGiTestHelper
Try to discover the absolute path for the deployment archive
getTestArchiveURL(String) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.getTestArchiveURL(String)
getTestArchiveURL(String) - Method in class org.jboss.osgi.testing.OSGiTestHelper
Try to discover the URL for the deployment archive
getTestHelper() - Method in class org.jboss.osgi.testing.OSGiTest
Get the test helper used by this test Overwrite if you need to supply another helper i.e.
getVersion() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
getVersion() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
getVersion() - Method in class org.jboss.osgi.spi.util.BundleInfo
Get the bundle version
getVersion() - Method in interface org.jboss.osgi.testing.OSGiBundle
Returns the version of this bundle.

H

hashCode() - Method in class org.jboss.osgi.spi.Attachments.Key
Two keys have the same hashCode if their Attachments.Key.toString() is equal
hashCode() - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
hashCode() - Method in class org.jboss.osgi.spi.util.BundleInfo
 
hasPermission(Object) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
hasPermission(Object) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
HttpServiceCapability - Class in org.jboss.osgi.spi.capability
Adds the HttpService capability to the OSGiRuntime under test.
HttpServiceCapability() - Constructor for class org.jboss.osgi.spi.capability.HttpServiceCapability
 

I

init() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
install(OSGiRuntime) - Method in class org.jboss.osgi.spi.capability.Capability
 
installBundle(String, InputStream) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
installBundle(String) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
installBundle(Archive<?>) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
installBundle(VirtualFile) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
installBundle(String) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
installBundle(String, InputStream) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
installBundle(Archive<?>) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Install an OSGiBundle from the given archive.
installBundle(VirtualFile) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Install an OSGiBundle from the given virtual file.
installBundle(String) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Install an OSGiBundle from the given location.
isEmpty() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
isRemoteRuntime() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Return true if this OSGiRuntime connects to a remote Framework.

K

KEY_BUNDLE_SYMBOLIC_NAME - Static variable in interface org.jboss.osgi.spi.OSGiConstants
A JBossOSGi deployment unit attachment key that containe the bundle's symbolic name.
keys() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

L

listRegisteredBeans() - Method in interface org.jboss.osgi.spi.service.MicrocontainerService
Get the list of registered beans.
loadClass(String) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
loadClass(String) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
loadClass(String) - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
loadClass(String) - Method in interface org.jboss.osgi.testing.OSGiBundle
Loads the specified class using this bundle's class loader.
loadService(Class<T>) - Static method in class org.jboss.osgi.spi.util.ServiceLoader
Loads the first of a list of service implementations defined in META-INF/services/${serviceClass}
loadServices(Class<T>) - Static method in class org.jboss.osgi.spi.util.ServiceLoader
Loads a list of service implementations defined in META-INF/services/${serviceClass}
logExportedPackages(Bundle) - Method in class org.jboss.osgi.spi.util.ExportedPackageHelper
 
logLevel(int) - Static method in class org.jboss.osgi.spi.util.ConstantsHelper
Return the string representation of a LogService level
LogServiceCapability - Class in org.jboss.osgi.spi.capability
Adds the OSGi compedium LogService capability to the OSGiRuntime under test.
LogServiceCapability() - Constructor for class org.jboss.osgi.spi.capability.LogServiceCapability
 

M

main(String[]) - Static method in class org.jboss.osgi.spi.framework.OSGiBootstrap
The main entry point
MicrocontainerService - Interface in org.jboss.osgi.spi.service
An OSGi Service that gives access to Kernel bean registrations.

N

newInstance() - Static method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
NotImplementedException - Exception in org.jboss.osgi.spi
A RuntimeException that should be thrown for unimplemented features
NotImplementedException() - Constructor for exception org.jboss.osgi.spi.NotImplementedException
 
NotImplementedException(String) - Constructor for exception org.jboss.osgi.spi.NotImplementedException
 
NotImplementedException(String, String) - Constructor for exception org.jboss.osgi.spi.NotImplementedException
 

O

openStream() - Method in class org.jboss.osgi.testing.OSGiManifestBuilder
 
org.jboss.osgi.spi - package org.jboss.osgi.spi
Common classes and interfaces.
org.jboss.osgi.spi.capability - package org.jboss.osgi.spi.capability
Capabilities that can be installed in the OSGi framework.
org.jboss.osgi.spi.framework - package org.jboss.osgi.spi.framework
Framework integration and bootstrap.
org.jboss.osgi.spi.service - package org.jboss.osgi.spi.service
A collection of SPI provided services.
org.jboss.osgi.spi.util - package org.jboss.osgi.spi.util
A collection of SPI provided utilities.
org.jboss.osgi.testing - package org.jboss.osgi.testing
OSGi test support classes and interfaces.
OSGI_FRAMEWORK_CONFIG - Static variable in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
The default framework property: jboss.osgi.framework.properties
OSGI_HOME - Static variable in interface org.jboss.osgi.spi.OSGiConstants
The JBossOSGi runtime system property that denotes the path to the runtime
OSGI_SERVER_HOME - Static variable in interface org.jboss.osgi.spi.OSGiConstants
The JBossOSGi runtime system property that denotes the path to the active runtime profile
OSGiBootstrap - Class in org.jboss.osgi.spi.framework
The OSGiBootstrap is the entry point to obtain an OSGiBootstrapProvider.
OSGiBootstrap() - Constructor for class org.jboss.osgi.spi.framework.OSGiBootstrap
 
OSGiBootstrapProvider - Interface in org.jboss.osgi.spi.framework
An OSGiBootstrapProvider provides an OSGi Framework

Implementations would configure the OSGi Framework through some form of descriptor.

OSGiBundle - Interface in org.jboss.osgi.testing
An abstraction of an OSGi Bundle.
OSGiConstants - Interface in org.jboss.osgi.spi
JBossOSGi Constants
OSGiFrameworkTest - Class in org.jboss.osgi.testing
Parent for native framework tests.
OSGiFrameworkTest() - Constructor for class org.jboss.osgi.testing.OSGiFrameworkTest
 
OSGiManifestBuilder - Class in org.jboss.osgi.testing
A simple OSGi manifest builder.
OSGiRuntime - Interface in org.jboss.osgi.testing
An abstraction of an OSGi Runtime.
OSGiRuntimeHelper - Class in org.jboss.osgi.testing
A helper for the OSGi runtime abstraction.
OSGiRuntimeHelper() - Constructor for class org.jboss.osgi.testing.OSGiRuntimeHelper
 
OSGiRuntimeTest - Class in org.jboss.osgi.testing
An abstract OSGi runtime test.
OSGiRuntimeTest() - Constructor for class org.jboss.osgi.testing.OSGiRuntimeTest
 
OSGiServiceReference - Interface in org.jboss.osgi.testing
An abstraction of the OSGi ServiceReference
OSGiTest - Class in org.jboss.osgi.testing
An abstract OSGi Test.
OSGiTest() - Constructor for class org.jboss.osgi.testing.OSGiTest
 
OSGiTestHelper - Class in org.jboss.osgi.testing
An OSGi Test Helper
OSGiTestHelper() - Constructor for class org.jboss.osgi.testing.OSGiTestHelper
 

P

PROP_OSGI_FRAMEWORK_AUTO_INSTALL - Static variable in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
Optional list of bundles that get installed automatically: org.jboss.osgi.spi.framework.autoInstall
PROP_OSGI_FRAMEWORK_AUTO_START - Static variable in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
Optional list of bundles that get started automatically: org.jboss.osgi.spi.framework.autoStart
PROP_OSGI_FRAMEWORK_EXTRA - Static variable in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
Optional path to extra properties: org.jboss.osgi.spi.framework.extra
PropertiesBootstrapProvider - Class in org.jboss.osgi.spi.framework
A simple properties based bootstrap provider The PropertiesBootstrapProvider supports the following properties org.jboss.osgi.spi.framework.autoInstall - Bundles that need to be installed with the Framework automatically org.jboss.osgi.spi.framework.autoStart - Bundles that need to be started automatically org.jboss.osgi.spi.framework.extra - An URL to extra properties, which recursivly may conatin this property. All other properties are passed on to configure the framework.
PropertiesBootstrapProvider() - Constructor for class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
 
PROPERTY_DEFERRED_START - Static variable in interface org.jboss.osgi.spi.OSGiConstants
If set to 'true' bundles can be deployed in any order.
put(Object, Object) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

R

registerService(String, Object, Dictionary) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
registerService(String[], Object, Dictionary) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
registerSystemServices(BundleContext) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
Overwrite to register system services before bundles get installed.
registerSystemServices(BundleContext) - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
Overwrite to register system services before bundles get installed.
remove(Object) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
removeAttachment(Class<T>) - Method in interface org.jboss.osgi.spi.Attachments
Remove arbitrary attachments
removeAttachment(Class<T>, String) - Method in interface org.jboss.osgi.spi.Attachments
Remove arbitrary attachments
removeAttachment(String) - Method in interface org.jboss.osgi.spi.Attachments
Remove arbitrary attachments
removeAttachment(Class<T>) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
removeAttachment(Class<T>, String) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
removeAttachment(String) - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
removeBundleListener(BundleListener) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
removeCapability(Capability) - Method in interface org.jboss.osgi.testing.OSGiRuntime
Remove a Capability from the runtime.
removeFrameworkListener(FrameworkListener) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
removeServiceListener(ServiceListener) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
resolveBundle(Bundle) - Method in class org.jboss.osgi.spi.util.ExportedPackageHelper
 
resolveBundles(Bundle[]) - Method in class org.jboss.osgi.spi.util.ExportedPackageHelper
 

S

serviceChanged(ServiceEvent) - Method in class org.jboss.osgi.testing.OSGiFrameworkTest
 
serviceEvent(int) - Static method in class org.jboss.osgi.spi.util.ConstantsHelper
Return the string representation of a ServiceEvent type
ServiceLoader - Class in org.jboss.osgi.spi.util
Loads service implementations from the requesters classpath.
ServiceLoader() - Constructor for class org.jboss.osgi.spi.util.ServiceLoader
 
setAutoInstall(List<URL>) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
setAutoStart(List<URL>) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
setFilter(String) - Method in class org.jboss.osgi.spi.capability.Capability
Set the filter that is used for service lookup.
setProperties(Map<String, Object>) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
setUp() - Method in class org.jboss.osgi.testing.OSGiTest
Writes a a debug start messge
shutdown() - Method in interface org.jboss.osgi.testing.OSGiRuntime
Shutdown the OSGiRuntime.
size() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
start(OSGiRuntime) - Method in class org.jboss.osgi.spi.capability.Capability
 
start() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
start(int) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
start() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
start() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
start(int) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
start() - Method in interface org.jboss.osgi.testing.OSGiBundle
Starts this bundle.
stop(OSGiRuntime) - Method in class org.jboss.osgi.spi.capability.Capability
 
stop() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
stop(int) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
stop() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
stop() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
stop(int) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
stop() - Method in interface org.jboss.osgi.testing.OSGiBundle
Stops this bundle.
systemContext - Static variable in class org.jboss.osgi.testing.OSGiFrameworkTest
 

T

tearDown() - Method in class org.jboss.osgi.testing.OSGiTest
Writes a a debug stop messge
toString() - Method in class org.jboss.osgi.spi.Attachments.Key
Returns the String repesentation of this Key.
toString() - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
toString() - Method in class org.jboss.osgi.spi.util.BundleClassLoader
 
toString() - Method in class org.jboss.osgi.spi.util.BundleInfo
 
toVirtualFile(Archive<?>) - Method in class org.jboss.osgi.testing.OSGiTest
Delegates to OSGiTestHelper.toVirtualFile(Archive)
toVirtualFile(Archive) - Static method in class org.jboss.osgi.testing.OSGiTestHelper
 

U

ungetBootstrapProvider() - Method in class org.jboss.osgi.testing.OSGiRuntimeHelper
 
ungetService(ServiceReference) - Method in class org.jboss.osgi.spi.framework.BundleContextWrapper
 
uninstall(OSGiRuntime) - Method in class org.jboss.osgi.spi.capability.Capability
 
uninstall() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
uninstall() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
uninstall() - Method in interface org.jboss.osgi.testing.OSGiBundle
Uninstalls this bundle.
UnmodifiableDictionary - Class in org.jboss.osgi.spi.util
An unmodifieable dictionary.
UnmodifiableDictionary(Dictionary) - Constructor for class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
unregisterSystemServices(BundleContext) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
Overwrite to unregister system services before bundles get installed.
unregisterSystemServices(BundleContext) - Method in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
Overwrite to unregister system services before bundles get installed.
update() - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
update(InputStream) - Method in class org.jboss.osgi.spi.framework.BundleWrapper
 
update() - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 
update(InputStream) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 

V

valueOf(String) - Static method in class org.jboss.osgi.spi.Attachments.Key
 

W

waitForStop(long) - Method in class org.jboss.osgi.spi.framework.FrameworkWrapper
 

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

Copyright © 2010. All Rights Reserved.