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
 
addBundleActivationPolicy(String) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addBundleActivator(Class<?>) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addBundleActivator(String) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addBundleManifestVersion(int) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addBundleName(String) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addBundleSymbolicName(String) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addBundleVersion(Version) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addBundleVersion(String) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addDynamicImportPackages(String...) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addExportPackages(Class<?>...) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addExportPackages(String...) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addFragmentHost(String) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addImportPackages(Class<?>...) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addImportPackages(String...) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addManifestHeader(String, String) - Method in class org.jboss.osgi.spi.ManifestBuilder
 
addRequireBundle(String) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
addRequireExecutionEnvironment(String...) - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
append(String) - Method in class org.jboss.osgi.spi.ManifestBuilder
 
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

bundleEvent(int) - Static method in class org.jboss.osgi.spi.ConstantsHelper
Return the string representation of a BundleEvent type
BundleInfo - Class in org.jboss.osgi.spi
Primitive access to bundle meta data and root virtual file.
bundleState(int) - Static method in class org.jboss.osgi.spi.ConstantsHelper
Return the string representation of a Bundle state

C

close() - Method in class org.jboss.osgi.spi.BundleInfo
Closes the accociated resources.
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
String representation for common OSGi Constants
ConstantsHelper() - Constructor for class org.jboss.osgi.spi.ConstantsHelper
 
create() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
createBundleInfo(String) - Static method in class org.jboss.osgi.spi.BundleInfo
 
createBundleInfo(URL) - Static method in class org.jboss.osgi.spi.BundleInfo
 
createBundleInfo(VirtualFile) - Static method in class org.jboss.osgi.spi.BundleInfo
 
createBundleInfo(VirtualFile, String) - Static method in class org.jboss.osgi.spi.BundleInfo
 
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

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.BundleInfo
 
equals(Object) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
equals(Object) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

F

findEntries(String, String, boolean) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
frameworkEvent(int) - Static method in class org.jboss.osgi.spi.ConstantsHelper
 
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
 

G

GenericBundleWrapper<T extends org.osgi.framework.Bundle> - Class in org.jboss.osgi.spi.framework
A generic Bundle wrapper that delegates all method calls to the underlying Bundle implementation.
GenericBundleWrapper(T) - Constructor for class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
GenericFrameworkWrapper<T extends org.osgi.framework.launch.Framework> - Class in org.jboss.osgi.spi.framework
A generic Framework wrapper that delegates all method calls to the underlying Framework implementation.
GenericFrameworkWrapper(T) - Constructor for class org.jboss.osgi.spi.framework.GenericFrameworkWrapper
 
get(Object) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
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() - Static method in class org.jboss.osgi.spi.internal.OSGiBootstrapBean
 
getBundle() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getBundleContext() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getBundleContext() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getBundleId() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getBundleManifestVersion(Manifest) - Static method in class org.jboss.osgi.spi.BundleInfo
Get the bundle manifest version.
getClassPart() - Method in class org.jboss.osgi.spi.Attachments.Key
Get the class part for this key
getEntry(String) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getEntryPaths(String) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
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
 
getHeaders() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getHeaders(String) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getLastModified() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getLocation() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle location
getLocation() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getManifest() - Method in class org.jboss.osgi.spi.BundleInfo
 
getManifest() - Method in class org.jboss.osgi.spi.ManifestBuilder
 
getManifest() - Method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
getManifestHeader(String) - Method in class org.jboss.osgi.spi.BundleInfo
Get the manifest header for the given key.
getNamePart() - Method in class org.jboss.osgi.spi.Attachments.Key
Get the name part for this key
getProperties() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
getProperty(String) - Method in interface org.jboss.osgi.spi.util.StringPropertyReplacer.PropertyProvider
 
getRegisteredServices() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getResource(String) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getResources(String) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getRoot() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle root file
getRootURL() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle root url
getServicesInUse() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getSignerCertificates(int) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getState() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getSymbolicName() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle symbolic name
getSymbolicName() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getVersion() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle version
getVersion() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
getWrappedBundle() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 

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.BundleInfo
 
hashCode() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
hashCode() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
hasPermission(Object) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 

I

init() - Method in class org.jboss.osgi.spi.framework.GenericFrameworkWrapper
 
isEmpty() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
isValidateBundleManifest(Manifest) - Static method in class org.jboss.osgi.spi.BundleInfo
isValidBundle(VirtualFile) - Static method in class org.jboss.osgi.spi.BundleInfo
Validate manifest from the given virtual file.
isValidBundleManifest(Manifest) - Static method in class org.jboss.osgi.spi.BundleInfo
Validate a given bundle manifest.

K

keys() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

L

loadClass(String) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
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}
logLevel(int) - Static method in class org.jboss.osgi.spi.ConstantsHelper
Return the string representation of a LogService level

M

main(String[]) - Static method in class org.jboss.osgi.spi.framework.OSGiBootstrap
The main entry point
ManifestBuilder - Class in org.jboss.osgi.spi
A simple manifest builder.
ManifestBuilder() - Constructor for class org.jboss.osgi.spi.ManifestBuilder
 

N

newInstance() - Static method in class org.jboss.osgi.spi.ManifestBuilder
 
newInstance() - Static method in class org.jboss.osgi.spi.OSGiManifestBuilder
 
NEWLINE - Static variable in class org.jboss.osgi.spi.util.StringPropertyReplacer
New line string constant
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.spi.ManifestBuilder
 
org.jboss.osgi.spi - package org.jboss.osgi.spi
Common classes and interfaces.
org.jboss.osgi.spi.framework - package org.jboss.osgi.spi.framework
Framework integration and bootstrap.
org.jboss.osgi.spi.internal - package org.jboss.osgi.spi.internal
 
org.jboss.osgi.spi.util - package org.jboss.osgi.spi.util
A collection of SPI provided utilities.
OSGI_FRAMEWORK_CONFIG - Static variable in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
The default framework property: jboss.osgi.framework.properties
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
 
OSGiBootstrapBean - Class in org.jboss.osgi.spi.internal
An internal bean that collabrates with OSGiBootstrap.
OSGiBootstrapBean() - Constructor for class org.jboss.osgi.spi.internal.OSGiBootstrapBean
 
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.

OSGiManifestBuilder - Class in org.jboss.osgi.spi
A simple OSGi manifest builder.

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.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.framework.autoStart
PROP_OSGI_FRAMEWORK_EXTRA - Static variable in class org.jboss.osgi.spi.framework.PropertiesBootstrapProvider
Optional path to extra properties: org.jboss.osgi.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.framework.autoInstall - Bundles that need to be installed with the Framework automatically org.jboss.osgi.framework.autoStart - Bundles that need to be started automatically org.jboss.osgi.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
 
put(K, V) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

R

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
 
replaceProperties(String) - Static method in class org.jboss.osgi.spi.util.StringPropertyReplacer
Go through the input string and replace any occurance of ${p} with the System.getProperty(p) value.
replaceProperties(String, BundleContext) - Static method in class org.jboss.osgi.spi.util.StringPropertyReplacer
Go through the input string and replace any occurance of ${p} with the BundleContext.getProperty(p) value.
replaceProperties(String, StringPropertyReplacer.PropertyProvider) - Static method in class org.jboss.osgi.spi.util.StringPropertyReplacer
Go through the input string and replace any occurance of ${p} with the PropertyProvider.getProperty(p) value.
run() - Method in class org.jboss.osgi.spi.internal.OSGiBootstrapBean
 

S

serviceEvent(int) - Static method in class org.jboss.osgi.spi.ConstantsHelper
Return the string representation of a ServiceEvent type
ServiceLoader - Class in org.jboss.osgi.spi.util
Loads service implementations from the requesters classpath.
setAutoInstall(List<URL>) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
setAutoStart(List<URL>) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
setProperties(Map<String, Object>) - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
size() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
start() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
start() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
start(int) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
stop() - Method in class org.jboss.osgi.spi.framework.FrameworkIntegrationBean
 
stop() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
stop(int) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
StringPropertyReplacer - Class in org.jboss.osgi.spi.util
A utility class for replacing properties in strings.
StringPropertyReplacer() - Constructor for class org.jboss.osgi.spi.util.StringPropertyReplacer
 
StringPropertyReplacer.PropertyProvider - Interface in org.jboss.osgi.spi.util
 

T

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.BundleInfo
 
toString() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
toString() - Method in class org.jboss.osgi.spi.util.AttachmentSupport
 
toString() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

U

uninstall() - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 
UnmodifiableDictionary<K,V> - Class in org.jboss.osgi.spi.util
An unmodifiable dictionary.
UnmodifiableDictionary(Dictionary<K, V>) - 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.GenericBundleWrapper
 
update(InputStream) - Method in class org.jboss.osgi.spi.framework.GenericBundleWrapper
 

V

validateBundleManifest(Manifest) - Static method in class org.jboss.osgi.spi.BundleInfo
Validate a given bundle manifest.
valueOf(String) - Static method in class org.jboss.osgi.spi.Attachments.Key
 

W

waitForStop(long) - Method in class org.jboss.osgi.spi.framework.GenericFrameworkWrapper
 
A B C D E F G H I K L M N O P R S T U V W 

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.