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

A

Attachable - Interface in org.jboss.osgi.spi
Adds attachment support
AttachableSupport - Class in org.jboss.osgi.spi
An implementation of Attachable.
AttachableSupport() - Constructor for class org.jboss.osgi.spi.AttachableSupport
 
AttachmentKey<T> - Class in org.jboss.osgi.spi
An attachment key

B

bundleCannotGetManifest(Throwable, URL) - Method in interface org.jboss.osgi.spi.SPIMessages
 
bundleCannotOptainSystemContext() - Method in interface org.jboss.osgi.spi.SPIMessages
 
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(Class<T>) - Static method in class org.jboss.osgi.spi.AttachmentKey
 
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
 
createBundleInfo(VirtualFile, String, OSGiMetaData) - Static method in class org.jboss.osgi.spi.BundleInfo
 
createFramework(Map<String, String>) - 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.BundleInfo
 
equals(Object) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

F

frameworkEvent(int) - Static method in class org.jboss.osgi.spi.ConstantsHelper
 

G

get(Object) - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
getAttachment(AttachmentKey<T>) - Method in interface org.jboss.osgi.spi.Attachable
Get the attached object for a given key
getAttachment(AttachmentKey<T>) - Method in class org.jboss.osgi.spi.AttachableSupport
 
getBootstrapProvider() - Static method in class org.jboss.osgi.spi.framework.OSGiBootstrap
Get an instance of an OSGiBootstrapProvider.
getBundleManifestVersion(Manifest) - Static method in class org.jboss.osgi.spi.BundleInfo
Get the bundle manifest version.
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
 
getLocation() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle location
getManifest() - Method in class org.jboss.osgi.spi.BundleInfo
 
getManifestHeader(String) - Method in class org.jboss.osgi.spi.BundleInfo
Get the manifest header for the given key.
getOSGiMetadata() - Method in class org.jboss.osgi.spi.BundleInfo
Get the OSGi metadata
getProperty(String) - Method in interface org.jboss.osgi.spi.util.StringPropertyReplacer.PropertyProvider
 
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
getSymbolicName() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle symbolic name
getType() - Method in class org.jboss.osgi.spi.AttachmentKey
 
getVersion() - Method in class org.jboss.osgi.spi.BundleInfo
Get the bundle version

H

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

I

illegalArgumentCannotFindClassInKey(String, String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalArgumentCannotObtainRealLocation(String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalArgumentInvalidRootFile(Throwable, VirtualFile) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalArgumentInvalidRootURL(Throwable, URL) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalArgumentNull(String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateCannotConfigureFrom(Throwable, URL) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateCannotFindResource(String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateCannotGetManifest(Throwable, URL) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateCannotLoadProperties(Throwable) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateCannotLoadService(String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateCannotLoadServiceClass(Throwable, String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateInvalidPath(Throwable, String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
illegalStateInvalidPropertiesURL(String) - Method in interface org.jboss.osgi.spi.SPIMessages
 
infoBundleInstalled(long, Bundle) - Method in interface org.jboss.osgi.spi.SPILogger
 
infoBundleStarted(long, Bundle) - Method in interface org.jboss.osgi.spi.SPILogger
 
isEmpty() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
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
Deprecated.
use OSGiManifestBuilder.isValidBundleManifest(Manifest)

K

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

L

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}
LOGGER - Static variable in interface org.jboss.osgi.spi.SPILogger
 
logLevel(int) - Static method in class org.jboss.osgi.spi.ConstantsHelper
Return the string representation of a LogService level

M

MESSAGES - Static variable in interface org.jboss.osgi.spi.SPIMessages
 

N

NEWLINE - Static variable in class org.jboss.osgi.spi.util.StringPropertyReplacer
New line string constant

O

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.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
 
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.

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
 
putAttachment(AttachmentKey<T>, T) - Method in interface org.jboss.osgi.spi.Attachable
Attach an arbirtary object with this element.
putAttachment(AttachmentKey<T>, T) - Method in class org.jboss.osgi.spi.AttachableSupport
 

R

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(AttachmentKey<T>) - Method in interface org.jboss.osgi.spi.Attachable
Remove an attached object for a given key
removeAttachment(AttachmentKey<T>) - Method in class org.jboss.osgi.spi.AttachableSupport
 
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.

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 classpath that defines the service class.
size() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 
SPILogger - Interface in org.jboss.osgi.spi
Logging Id ranges: 10200-10299 https://docs.jboss.org/author/display/JBOSGI/JBossOSGi+Logging
SPIMessages - Interface in org.jboss.osgi.spi
Logging Id ranges: 10300-10399 https://docs.jboss.org/author/display/JBOSGI/JBossOSGi+Logging
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.BundleInfo
 
toString() - Method in class org.jboss.osgi.spi.util.UnmodifiableDictionary
 

U

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.PropertiesBootstrapProvider
Overwrite to unregister system services before bundles get installed.

V

validateBundleManifest(Manifest) - Static method in class org.jboss.osgi.spi.BundleInfo
Deprecated.
use OSGiManifestBuilder.validateBundleManifest(Manifest)

W

warnServiceNotAssignable(String) - Method in interface org.jboss.osgi.spi.SPILogger
 
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.