Overview
Package
Class
Use
Tree
Deprecated
Index
Help
ch.jm.osgi.util.bundle 1.0.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
L
M
P
S
T
W
A
AbstractBundleTask
- Class in
ch.jm.osgi.util.bundle.ant
Base class for bundle-related Ant tasks.
AbstractBundleTask()
- Constructor for class ch.jm.osgi.util.bundle.ant.
AbstractBundleTask
addConfiguredAttribute(Manifest.Attribute)
- Method in class ch.jm.osgi.util.bundle.ant.
AbstractBundleTask
Add an attribute to the manifest.
addConfiguredAttribute(Manifest.Attribute)
- Method in class ch.jm.osgi.util.bundle.ant.
BundleManifestTask
addConfiguredAttribute(Manifest.Attribute)
- Method in class ch.jm.osgi.util.bundle.ant.
ConvertJarToBundleTask
addExportedPackage(String, String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Adds an exported package.
addExportedPackages(Pattern, String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Adds exported packages.
addExportUses(BundleManifestBuilder, DependencyAnalyzer)
- Method in class ch.jm.osgi.util.bundle.ant.
AbstractBundleTask
Adds "uses" elements to the export clauses.
addNeededImports(Collection<String>)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Adds needed import packages.
addPrivatePackages(Set<String>)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Adds private packages.
addVersionsToExports()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Adds the bundle version to all export packages.
analyze(DependencyAnalyzer)
- Method in class ch.jm.osgi.util.bundle.
WarProcessor
Analyues the WAR file with the given
DependencyAnalyzer
.
attributes
- Variable in class ch.jm.osgi.util.bundle.ant.
AbstractBundleTask
the manifest attributes
B
BUNDLE_ACTIVATOR
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-Activator" constant
BUNDLE_CATEGORY
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-Category" constant
BUNDLE_CLASSPATH
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-Classpath" constant
BUNDLE_DESCRIPTION
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-Description" constant
BUNDLE_MANIFEST_VERSION
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-ManifestVersion" constant
BUNDLE_NAME
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-Name" constant
BUNDLE_SYMBOLIC_NAME
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-SymbolicName" constant
BUNDLE_VERSION
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Bundle-Version" constant
BundleConstants
- Interface in
ch.jm.osgi.util.bundle
Constants for manifest entries in OSGi bundles.
BundleManifestBuilder
- Class in
ch.jm.osgi.util.bundle
This class builds manifests for OSGi bundles.
BundleManifestBuilder()
- Constructor for class ch.jm.osgi.util.bundle.
BundleManifestBuilder
BundleManifestTask
- Class in
ch.jm.osgi.util.bundle.ant
Ant task that can generate a bundle manifest file.
BundleManifestTask()
- Constructor for class ch.jm.osgi.util.bundle.ant.
BundleManifestTask
C
ch.jm.osgi.util.bundle
- package ch.jm.osgi.util.bundle
Contains classes used to parse bundle descriptors, generate bundle manifests and determining package dependencies.
ch.jm.osgi.util.bundle.ant
- package ch.jm.osgi.util.bundle.ant
Provides
Apache Ant
tasks for working with OSGi bundles.
checkAttributeName(String)
- Static method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Checks an attribute for validity.
Clause
- Class in
ch.jm.osgi.util.bundle
Represents a single import/export clause including attributes and directives.
Clause(String)
- Constructor for class ch.jm.osgi.util.bundle.
Clause
Creates a new clause
close()
- Method in class ch.jm.osgi.util.bundle.
WarProcessor
Closes the WAR file, disposes of temporary files.
compareTo(Clause)
- Method in class ch.jm.osgi.util.bundle.
Clause
ConvertJarToBundleTask
- Class in
ch.jm.osgi.util.bundle.ant
Ant task to convert JAR files to OSGi bundles.
ConvertJarToBundleTask()
- Constructor for class ch.jm.osgi.util.bundle.ant.
ConvertJarToBundleTask
createPath()
- Method in class ch.jm.osgi.util.bundle.ant.
BundleManifestTask
Create a nested PATH element.
D
DependencyAnalyzer
- Class in
ch.jm.osgi.util.bundle
This class analyzes dependencies of a set of classes.
DependencyAnalyzer()
- Constructor for class ch.jm.osgi.util.bundle.
DependencyAnalyzer
descriptor
- Variable in class ch.jm.osgi.util.bundle.ant.
AbstractBundleTask
the bundle descriptor
DescriptorParser
- Class in
ch.jm.osgi.util.bundle
This class is responsible for parsing bundle descriptors.
E
equals(Object)
- Method in class ch.jm.osgi.util.bundle.
Clause
execute()
- Method in class ch.jm.osgi.util.bundle.ant.
BundleManifestTask
execute()
- Method in class ch.jm.osgi.util.bundle.ant.
ConvertJarToBundleTask
execute()
- Method in class ch.jm.osgi.util.bundle.ant.
LoadBundleDescriptorTask
EXPORT_PACKAGE
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Export-Package" constant
G
getAttribute(String)
- Method in class ch.jm.osgi.util.bundle.
Clause
Returns an attribute.
getBundleActivator()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Returns the bundle's activator class.
getBundleClassPath()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Returns the bundle classpath.
getDirective(String)
- Method in class ch.jm.osgi.util.bundle.
Clause
Returns a directive
getEntries()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Retrieves all manifest entries.
getEntry(String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Gets a single manifest entry.
getExportPackage(String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Retrieves the clause representing the exported package.
getExportPackage()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Retrieves all exported packages.
getImportPackage()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Retrieves all imported packages.
getLocalPackages()
- Method in class ch.jm.osgi.util.bundle.
DependencyAnalyzer
Returns the set of own package names, i.e.
getName()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Returns the bundle name.
getPackageName()
- Method in class ch.jm.osgi.util.bundle.
Clause
Returns the package name.
getSymbolicName()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Gets the bundle's symbolic name
getUsedPackages(String)
- Method in class ch.jm.osgi.util.bundle.
DependencyAnalyzer
Retrieves the accumulated used/external packages for a given package.
getUsedPackages()
- Method in class ch.jm.osgi.util.bundle.
DependencyAnalyzer
Retrieves the combined set of accumulated used/external packages.
getVersion()
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Returns the bundle version.
getWarClasspath()
- Method in class ch.jm.osgi.util.bundle.
WarProcessor
Returns the WAR classpath.
getWARFile()
- Method in class ch.jm.osgi.util.bundle.
WarProcessor
Returns the WAR file this instance operates on.
H
hashCode()
- Method in class ch.jm.osgi.util.bundle.
Clause
I
IMPORT_PACKAGE
- Static variable in interface ch.jm.osgi.util.bundle.
BundleConstants
the "Import-Package" constant
isWARFile(File)
- Static method in class ch.jm.osgi.util.bundle.
WarProcessor
Checks whether the given file is a WAR file.
L
LoadBundleDescriptorTask
- Class in
ch.jm.osgi.util.bundle.ant
Ant task that loads a bundle descriptor.
LoadBundleDescriptorTask()
- Constructor for class ch.jm.osgi.util.bundle.ant.
LoadBundleDescriptorTask
logAnalyzerResults(DependencyAnalyzer)
- Method in class ch.jm.osgi.util.bundle.ant.
AbstractBundleTask
Logs the gathered packages when in verbose mode.
M
mergeFrom(Clause)
- Method in class ch.jm.osgi.util.bundle.
Clause
Merges the given clause into this one.
mergeNeededImport(Clause)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Merges a needed import into the existing ones.
P
parse(File, BundleManifestBuilder)
- Static method in class ch.jm.osgi.util.bundle.
DescriptorParser
Parses a bundle descriptor.
putAttribute(String, String)
- Method in class ch.jm.osgi.util.bundle.
Clause
Puts an attribute.
putDirective(String, String)
- Method in class ch.jm.osgi.util.bundle.
Clause
Puts a directive.
putEntry(String, String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Puts an arbitrary manifest entry.
S
scanClasses(File)
- Method in class ch.jm.osgi.util.bundle.
DependencyAnalyzer
Scans a directory containing compiled class files.
scanClassPath(Collection<File>)
- Method in class ch.jm.osgi.util.bundle.
DependencyAnalyzer
Scans the given classpath.
scanJAR(File)
- Method in class ch.jm.osgi.util.bundle.
DependencyAnalyzer
Scans a JAR file.
scanJarEntry(JarFile, JarEntry)
- Method in class ch.jm.osgi.util.bundle.
DependencyAnalyzer
Scans a particular entry in a JAR file.
setBackupFile(boolean)
- Method in class ch.jm.osgi.util.bundle.ant.
ConvertJarToBundleTask
Controls whether a ".bak" file is created if the source and the target JAR are the same, i.e.
setBundleActivator(String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Sets the bundle's activator class.
setBundleClassPath(Collection<File>)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Sets the bundle classpath.
setClasses(File)
- Method in class ch.jm.osgi.util.bundle.ant.
BundleManifestTask
Sets the directory for compiled classes.
setDescriptor(File)
- Method in class ch.jm.osgi.util.bundle.ant.
AbstractBundleTask
Sets the bundle descriptor (example: "bundle.xml") to work with.
setFile(File)
- Method in class ch.jm.osgi.util.bundle.ant.
BundleManifestTask
The name of the manifest file to create.
setFile(File)
- Method in class ch.jm.osgi.util.bundle.ant.
ConvertJarToBundleTask
Sets the JAR file to convert.
setName(String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Sets the bundle name.
setSymbolicName(String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Sets the bundle's symbolic name
setTargetFile(File)
- Method in class ch.jm.osgi.util.bundle.ant.
ConvertJarToBundleTask
Sets the target JAR file representing the generated bundle.
setVersion(String)
- Method in class ch.jm.osgi.util.bundle.
BundleManifestBuilder
Sets the bundle version.
T
toString()
- Method in class ch.jm.osgi.util.bundle.
Clause
W
WarProcessor
- Class in
ch.jm.osgi.util.bundle
The class facilitates the processing of a whole WAR file for dependency analysis.
WarProcessor(File)
- Constructor for class ch.jm.osgi.util.bundle.
WarProcessor
Creates a new WAR processor.
A
B
C
D
E
G
H
I
L
M
P
S
T
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
ch.jm.osgi.util.bundle 1.0.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright 2009-2010 Jeremias M?rki. All Rights Reserved.