A B C D F G H I L N O P R S T V W X

A

addModuleDescriptor(ModuleDescriptor) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
autowire(Class<T>) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
autowire(Class<T>, AutowireCapablePlugin.AutowireStrategy) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 

B

BEAN_NAME - Static variable in interface com.atlassian.plugin.osgi.hostcomponents.PropertyBuilder
The name of the host component bean, usually the Spring bean identifier

C

canCreate(PluginArtifact) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundleFactory
 
canCreate(PluginArtifact) - Method in class com.atlassian.plugin.osgi.factory.OsgiPluginFactory
 
channel(PluginFrameworkStartingEvent) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
channel(PluginFrameworkShutdownEvent) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
Clazz - Class in com.atlassian.plugin.osgi.util
Copied from the bndlib version 0.255, adding the capture of referred classes
Clazz(String) - Constructor for class com.atlassian.plugin.osgi.util.Clazz
 
Clazz(String, InputStream) - Constructor for class com.atlassian.plugin.osgi.util.Clazz
 
Clazz.Assoc - Class in com.atlassian.plugin.osgi.util
 
close() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
com.atlassian.plugin.osgi.container - package com.atlassian.plugin.osgi.container
Classes to manage interactions with an OSGi container
com.atlassian.plugin.osgi.container.felix - package com.atlassian.plugin.osgi.container.felix
Classes to manage interactions with the Apache Felix container
com.atlassian.plugin.osgi.container.impl - package com.atlassian.plugin.osgi.container.impl
 
com.atlassian.plugin.osgi.factory - package com.atlassian.plugin.osgi.factory
Deployers for OSGi-related plugins
com.atlassian.plugin.osgi.factory.transform - package com.atlassian.plugin.osgi.factory.transform
Classes for transforming legacy plugin jars into proper OSGi bundles.
com.atlassian.plugin.osgi.hostcomponents - package com.atlassian.plugin.osgi.hostcomponents
This package provides a way for host applications to register their host components.
com.atlassian.plugin.osgi.hostcomponents.impl - package com.atlassian.plugin.osgi.hostcomponents.impl
Default implementation of the host component registration system that collects host components and registers them into an OSGi service registry.
com.atlassian.plugin.osgi.util - package com.atlassian.plugin.osgi.util
Utility methods for OSGi operations
ComponentFilteringXmlDescriptorParserFactory - Class in com.atlassian.plugin.osgi.factory
Descriptor parser factory that creates parsers that ignore all component-related modules
ComponentFilteringXmlDescriptorParserFactory() - Constructor for class com.atlassian.plugin.osgi.factory.ComponentFilteringXmlDescriptorParserFactory
 
ComponentRegistrar - Interface in com.atlassian.plugin.osgi.hostcomponents
A registrar for capturing host components and their configuration
constantClass(DataInputStream, int) - Method in class com.atlassian.plugin.osgi.util.Clazz
 
constantDouble(DataInputStream, int) - Method in class com.atlassian.plugin.osgi.util.Clazz
 
constantLong(DataInputStream, int) - Method in class com.atlassian.plugin.osgi.util.Clazz
 
constantUtf8(DataInputStream, int) - Method in class com.atlassian.plugin.osgi.util.Clazz
 
containsSystemModule() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
CONTEXT_CLASS_LOADER_STRATEGY - Static variable in interface com.atlassian.plugin.osgi.hostcomponents.PropertyBuilder
The context class loader strategy to use for managing the CCL when invoking host component methods
ContextClassLoaderStrategy - Enum in com.atlassian.plugin.osgi.hostcomponents
The strategy for handling the context class loader for host component method invocations
crawl(byte[]) - Method in class com.atlassian.plugin.osgi.util.Clazz
We must find Class.forName references ...
create(DeploymentUnit, ModuleDescriptorFactory) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundleFactory
 
create(DeploymentUnit, ModuleDescriptorFactory) - Method in class com.atlassian.plugin.osgi.factory.OsgiPluginFactory
 
createModuleDescriptor(Plugin, Element, ModuleDescriptorFactory) - Method in class com.atlassian.plugin.osgi.factory.FilteringXmlDescriptorParser
Ignores matched modules, otherwise, the normal behavior occurs

D

DefaultComponentRegistrar - Class in com.atlassian.plugin.osgi.hostcomponents.impl
Default component registrar that also can write registered host components into the OSGi service registry
DefaultComponentRegistrar() - Constructor for class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 
DefaultPackageScannerConfiguration - Class in com.atlassian.plugin.osgi.container.impl
Default package scanner configuration.
DefaultPackageScannerConfiguration() - Constructor for class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
DefaultPluginTransformer - Class in com.atlassian.plugin.osgi.factory.transform
Default implementation of plugin transformation that uses BND to generate the manifest and manually creates the spring configuration file.
DefaultPluginTransformer() - Constructor for class com.atlassian.plugin.osgi.factory.transform.DefaultPluginTransformer
 
determineExports(List<HostComponentRegistration>, PackageScannerConfiguration) - Static method in class com.atlassian.plugin.osgi.util.OsgiHeaderUtil
Determines framework exports taking into account host components and package scanner configuration.
doLog(ServiceReference, int, String, Throwable) - Method in class com.atlassian.plugin.osgi.container.felix.FelixLoggerBridge
 

F

FelixLoggerBridge - Class in com.atlassian.plugin.osgi.container.felix
Bridges Felix logging messages with the Commons Logging
FelixLoggerBridge(Log) - Constructor for class com.atlassian.plugin.osgi.container.felix.FelixLoggerBridge
 
FelixOsgiContainerManager - Class in com.atlassian.plugin.osgi.container.felix
Felix implementation of the OSGi container manager
FelixOsgiContainerManager(File, PackageScannerConfiguration, HostComponentProvider, PluginEventManager) - Constructor for class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
Constructs the container manager using the framework bundles zip file located in this library
FelixOsgiContainerManager(URL, File, PackageScannerConfiguration, HostComponentProvider, PluginEventManager) - Constructor for class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
Constructs the container manager
FilteringXmlDescriptorParser - Class in com.atlassian.plugin.osgi.factory
Descriptor parser that ignores certain modules
FilteringXmlDescriptorParser(InputStream, String...) - Constructor for class com.atlassian.plugin.osgi.factory.FilteringXmlDescriptorParser
 
findReferredPackages(List<HostComponentRegistration>) - Static method in class com.atlassian.plugin.osgi.util.OsgiHeaderUtil
Finds all referred packages for host component registrations by scanning their declared interfaces' bytecode.
forInstance(Object) - Method in interface com.atlassian.plugin.osgi.hostcomponents.InstanceBuilder
Declares the host component instance for the registration.

G

getBundle() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
getBundles() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
getBundles() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Gets a list of installed bundles
getClassLoader() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
getDateLoaded() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getHostComponentRegistrations() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
getHostComponentRegistrations() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Gets a list of host component registrations
getI18nNameKey() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getInstance(InputStream) - Method in class com.atlassian.plugin.osgi.factory.ComponentFilteringXmlDescriptorParserFactory
Gets an instance that filters the modules "component", "bean", and "spring"
getInstance() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getJarExcludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getJarExcludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getJarIncludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getJarIncludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getKey() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getMainInterfaceClasses() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getMainInterfaces() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getModuleDescriptor(String) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getModuleDescriptors() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getModuleDescriptorsByModuleClass(Class) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getName() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getPackage(String) - Static method in class com.atlassian.plugin.osgi.util.Clazz
 
getPackageExcludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getPackageExcludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getPackageIncludes() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getPackageIncludes() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getPackageVersions() - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
getPackageVersions() - Method in interface com.atlassian.plugin.osgi.container.PackageScannerConfiguration
 
getPath() - Method in class com.atlassian.plugin.osgi.util.Clazz
 
getPluginInformation() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getPluginsVersion() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getProperties() - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentRegistration
 
getReferred() - Method in class com.atlassian.plugin.osgi.util.Clazz
 
getReferredClasses() - Method in class com.atlassian.plugin.osgi.util.Clazz
 
getRegisteredServices() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
getRegisteredServices() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Gets a list of service references
getRegistry() - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 
getResource(String) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
getResourceAsStream(String) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
getResourceDescriptor(String, String) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getResourceDescriptors() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getResourceDescriptors(String) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getResourceLocation(String, String) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
getSourceFile() - Method in class com.atlassian.plugin.osgi.util.Clazz
 

H

HOST_COMPONENT_FLAG - Static variable in interface com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar
The flag to mark host components from other OSGi services
HostComponentProvider - Interface in com.atlassian.plugin.osgi.hostcomponents
Defines an object that provides host components.
HostComponentRegistration - Interface in com.atlassian.plugin.osgi.hostcomponents
Represents a registration of a host component

I

installBundle(File) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
installBundle(File) - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Installs a bundle into a running OSGI container
InstanceBuilder - Interface in com.atlassian.plugin.osgi.hostcomponents
Ties a host component registration with a host component instance
isBundledPlugin() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
isBundledPlugin() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
isDeleteable() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
isDeleteable() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
isDynamicallyLoaded() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
isDynamicallyLoaded() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
This plugin is dynamically loaded, so returns true.
isEnabled() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
isEnabledByDefault() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
isRunning() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
isRunning() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
 
isSystemPlugin() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
isUninstallable() - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
isUninstallable() - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 

L

loadClass(String, Class) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 

N

nameAndType(DataInputStream, int, byte) - Method in class com.atlassian.plugin.osgi.util.Clazz
 

O

OpCodes - Class in com.atlassian.plugin.osgi.util
Copied from the bndlib version 0.255, no changes, but necessary due to package-private fields
OpCodes() - Constructor for class com.atlassian.plugin.osgi.util.OpCodes
 
OSGI_FRAMEWORK_BUNDLES_ZIP - Static variable in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
OsgiBundleFactory - Class in com.atlassian.plugin.osgi.factory
Plugin deployer that deploys OSGi bundles that don't contain XML descriptor files
OsgiBundleFactory(OsgiContainerManager) - Constructor for class com.atlassian.plugin.osgi.factory.OsgiBundleFactory
 
OsgiBundlePlugin - Class in com.atlassian.plugin.osgi.factory
Plugin that wraps an OSGi bundle that has no plugin descriptor.
OsgiBundlePlugin(Bundle) - Constructor for class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
OsgiContainerException - Exception in com.atlassian.plugin.osgi.container
Generic wrapper exception for any OSGi-related exceptions
OsgiContainerException() - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerException(String) - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerException(String, Throwable) - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerException(Throwable) - Constructor for exception com.atlassian.plugin.osgi.container.OsgiContainerException
 
OsgiContainerManager - Interface in com.atlassian.plugin.osgi.container
Manages the OSGi container and handles any interactions with it
OsgiHeaderUtil - Class in com.atlassian.plugin.osgi.util
Utilities to help create OSGi headers
OsgiHeaderUtil() - Constructor for class com.atlassian.plugin.osgi.util.OsgiHeaderUtil
 
OsgiPlugin - Class in com.atlassian.plugin.osgi.factory
Plugin that wraps an OSGi bundle that does contain a plugin descriptor.
OsgiPlugin(Bundle) - Constructor for class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
OsgiPluginFactory - Class in com.atlassian.plugin.osgi.factory
Plugin loader that starts an OSGi container and loads plugins into it, wrapped as OSGi bundles.
OsgiPluginFactory(String, OsgiContainerManager) - Constructor for class com.atlassian.plugin.osgi.factory.OsgiPluginFactory
 

P

PackageScannerConfiguration - Interface in com.atlassian.plugin.osgi.container
Contains configuration for the package scanning algorithm that scans your classpath to determine which packages and versions to export to OSGi.
PluginTransformationException - Exception in com.atlassian.plugin.osgi.factory.transform
Generic wrapper exception for all exceptions thrown during plugin transformation
PluginTransformationException() - Constructor for exception com.atlassian.plugin.osgi.factory.transform.PluginTransformationException
 
PluginTransformationException(String) - Constructor for exception com.atlassian.plugin.osgi.factory.transform.PluginTransformationException
 
PluginTransformationException(String, Throwable) - Constructor for exception com.atlassian.plugin.osgi.factory.transform.PluginTransformationException
 
PluginTransformationException(Throwable) - Constructor for exception com.atlassian.plugin.osgi.factory.transform.PluginTransformationException
 
PluginTransformer - Interface in com.atlassian.plugin.osgi.factory.transform
Transforms a plugin jar into a proper OSGi bundle
pool(Object[], int[]) - Method in class com.atlassian.plugin.osgi.util.Clazz
 
PropertyBuilder - Interface in com.atlassian.plugin.osgi.hostcomponents
Ties properties to the host component registration.
provide(ComponentRegistrar) - Method in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider
Gives the object a chance to register its host components with the registrar

R

register(Class<?>...) - Method in interface com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar
Starts the single host component registration by declaring it as implementing one or more interfaces
register(Class<?>...) - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 
reset() - Method in class com.atlassian.plugin.osgi.util.Clazz
.class construct for different compilers sun 1.1 Detect static variable class$com$acme$MyClass 1.2 " 1.3 " 1.4 " 1.5 ldc_w (class) 1.6 " eclipse 1.1 class$0, ldc (string), invokestatic Class.forName 1.2 " 1.3 " 1.5 ldc (class) 1.6 " 1.5 and later is not an issue, sun pre 1.5 is easy to detect the static variable that decodes the class name.

S

setBundled(boolean) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
setDeletable(boolean) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
setDisableMultipleBundleVersions(boolean) - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
setEnabled(boolean) - Method in class com.atlassian.plugin.osgi.factory.OsgiPlugin
 
setEnabledByDefault(boolean) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
setI18nNameKey(String) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
setJarExcludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setJarIncludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setJarPatterns(List<String>, List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
Sets the jars to include and exclude from scanning
setKey(String) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
setName(String) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
setPackageExcludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setPackageIncludes(List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
 
setPackagePatterns(List<String>, List<String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
Sets the packages to include and exclude
setPackageVersions(Map<String, String>) - Method in class com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration
Maps discovered packages to specific versions by overriding autodiscovered versions
setPluginInformation(PluginInformation) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
setPluginsVersion(int) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
setResources(Resourced) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
setSystemPlugin(boolean) - Method in class com.atlassian.plugin.osgi.factory.OsgiBundlePlugin
 
start() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
start() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Starts the OSGi container
stop() - Method in class com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager
 
stop() - Method in interface com.atlassian.plugin.osgi.container.OsgiContainerManager
Stops the OSGi container

T

transform(File, List<HostComponentRegistration>) - Method in class com.atlassian.plugin.osgi.factory.transform.DefaultPluginTransformer
Transforms the file into an OSGi bundle
transform(File, List<HostComponentRegistration>) - Method in interface com.atlassian.plugin.osgi.factory.transform.PluginTransformer
Transforms a plugin jar into a proper OSGi bundle

V

valueOf(String) - Static method in enum com.atlassian.plugin.osgi.hostcomponents.ContextClassLoaderStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.atlassian.plugin.osgi.hostcomponents.ContextClassLoaderStrategy
Returns an array containing the constants of this enum type, in the order they're declared.

W

withContextClassLoaderStrategy(ContextClassLoaderStrategy) - Method in interface com.atlassian.plugin.osgi.hostcomponents.PropertyBuilder
Sets the strategy to use for context classloader management
withName(String) - Method in interface com.atlassian.plugin.osgi.hostcomponents.PropertyBuilder
Sets the bean name of the host component
withProperty(String, String) - Method in interface com.atlassian.plugin.osgi.hostcomponents.PropertyBuilder
Sets an arbitrary property to register with the host component
wrapService(Class[], Object) - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
Wraps the service in a dynamic proxy that ensures all methods are executed with the object class's class loader as the context class loader
writeRegistry(BundleContext) - Method in class com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar
 

X

xref(InputStream) - Method in class com.atlassian.plugin.osgi.util.Clazz
 

A B C D F G H I L N O P R S T V W X

Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.