- bactivator - Variable in class org.knopflerfish.framework.BundleImpl
-
BundleActivator for bundle.
- base64Encode(String) - Static method in class org.knopflerfish.framework.Util
-
- bDumpClasses - Variable in class org.knopflerfish.framework.ClassPatcher
-
- binarySearch(List, Util.Comparator, Object) - Static method in class org.knopflerfish.framework.Util
-
Do binary search for a package entry in the list with the same
version number add the specifies package entry.
- bootText - Static variable in class org.knopflerfish.framework.Main
-
- Bundle - Interface in org.osgi.framework
-
An installed bundle in the Framework.
- BUNDLE_ACTIVATOR - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "Bundle-Activator")
identifying the bundle's activator class.
- BUNDLE_CATEGORY - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-Category") identifying the
bundle's category.
- BUNDLE_CLASSPATH - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-ClassPath") identifying a list
of directories and embedded JAR files, which are bundle resources used to
extend the bundle's classpath.
- BUNDLE_CONTACTADDRESS - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-ContactAddress") identifying the
contact address where problems with the bundle may be reported; for
example, an email address.
- BUNDLE_COPYRIGHT - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-Copyright") identifying the
bundle's copyright information.
- BUNDLE_DESCRIPTION - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-Description") containing a brief
description of the bundle's functionality.
- BUNDLE_DOCURL - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-DocURL") identifying the
bundle's documentation URL, from which further information about the
bundle may be obtained.
- BUNDLE_LOCALIZATION - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-Localization") identifying the
base name of the bundle's localization entries.
- BUNDLE_LOCALIZATION_DEFAULT_BASENAME - Static variable in interface org.osgi.framework.Constants
-
Default value for the Bundle-Localization
manifest header.
- BUNDLE_MANIFESTVERSION - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-ManifestVersion") identifying
the bundle manifest version.
- BUNDLE_NAME - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-Name") identifying the bundle's
name.
- BUNDLE_NATIVECODE - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-NativeCode") identifying a
number of hardware environments and the native language code libraries
that the bundle is carrying for each of these environments.
- BUNDLE_NATIVECODE_LANGUAGE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "language") identifying the
language in which the native bundle code is written specified in the
Bundle-NativeCode manifest header.
- BUNDLE_NATIVECODE_OSNAME - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "osname") identifying the
operating system required to run native bundle code specified in the
Bundle-NativeCode manifest header).
- BUNDLE_NATIVECODE_OSVERSION - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "osversion") identifying the
operating system version required to run native bundle code specified in
the Bundle-NativeCode manifest header).
- BUNDLE_NATIVECODE_PROCESSOR - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "processor") identifying the
processor required to run native bundle code specified in the
Bundle-NativeCode manifest header).
- BUNDLE_REQUIREDEXECUTIONENVIRONMENT - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-RequiredExecutionEnvironment")
identifying the required execution environment for the bundle.
- BUNDLE_SYMBOLICNAME - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-SymbolicName") identifying the
bundle's symbolic name.
- BUNDLE_SYMBOLICNAME_ATTRIBUTE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "bundle-symbolic-name")
identifying the symbolic name of a bundle that exports a package
specified in the Import-Package manifest header.
- BUNDLE_TYPE_FRAGMENT - Static variable in interface org.osgi.service.packageadmin.PackageAdmin
-
Bundle type indicating the bundle is a fragment bundle.
- BUNDLE_UPDATELOCATION - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-UpdateLocation") identifying the
location from which a new bundle version is obtained during a bundle
update operation.
- BUNDLE_VENDOR - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-Vendor") identifying the
bundle's vendor.
- BUNDLE_VERSION - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Bundle-Version") identifying the
bundle's version.
- BUNDLE_VERSION_ATTRIBUTE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "bundle-version") identifying
a range of versions for a bundle specified in the Require-Bundle or
Fragment-Host manifest headers.
- BundleActivator - Interface in org.osgi.framework
-
Customizes the starting and stopping of a bundle.
- BundleArchive - Interface in org.knopflerfish.framework
-
Interface for managing bundle data.
- bundleChanged(BundleEvent) - Method in class org.knopflerfish.framework.Listeners
-
Receive notification that a bundle has had a change occur in its lifecycle.
- bundleChanged(BundleEvent) - Method in interface org.osgi.framework.BundleListener
-
Receives notification that a bundle has had a lifecycle change.
- BundleClassLoader - Class in org.knopflerfish.framework
-
Classloader for bundle JAR files.
- bundleContext - Variable in class org.knopflerfish.framework.BundleImpl
-
BundleContext for bundle.
- BundleContext - Interface in org.osgi.framework
-
A bundle's execution context within the Framework.
- BundleContextImpl - Class in org.knopflerfish.framework
-
Implementation of the BundleContext object.
- BundleContextImpl(BundleImpl) - Constructor for class org.knopflerfish.framework.BundleContextImpl
-
Create a BundleContext for specified bundle.
- bundleDir - Variable in class org.knopflerfish.framework.BundleImpl
-
Directory for bundle data.
- BundleEvent - Class in org.osgi.framework
-
An event from the Framework describing a bundle lifecycle change.
- BundleEvent(int, Bundle) - Constructor for class org.osgi.framework.BundleEvent
-
Creates a bundle event of the specified type.
- BundleException - Exception in org.osgi.framework
-
A Framework exception used to indicate that a bundle lifecycle problem
occurred.
- BundleException(String, Throwable) - Constructor for exception org.osgi.framework.BundleException
-
Creates a BundleException
that wraps another exception.
- BundleException(String) - Constructor for exception org.osgi.framework.BundleException
-
Creates a BundleException
object with the specified
message.
- BundleImpl - Class in org.knopflerfish.framework
-
Implementation of the Bundle object.
- BundleListener - Interface in org.osgi.framework
-
A BundleEvent
listener.
- BundleLocationCondition - Class in org.osgi.service.condpermadmin
-
Condition to test if the location of a bundle matches a pattern.
- BundlePermission - Class in org.osgi.framework
-
A bundle's authority to require or provide a bundle or to receive or attach
fragments.
- BundlePermission(String, String) - Constructor for class org.osgi.framework.BundlePermission
-
Defines the authority to provide and/or require and or specify a host
fragment symbolic name within the OSGi environment.
- Bundles - Class in org.knopflerfish.framework
-
Here we handle all the bundles that are installed in the framework.
- bundles - Variable in class org.knopflerfish.framework.Framework
-
All bundle in this framework.
- BundleSignerCondition - Class in org.osgi.service.condpermadmin
-
- BundleStorage - Interface in org.knopflerfish.framework
-
Interface for managing all bundles jar content.
- BundleStorageImpl - Class in org.knopflerfish.framework.bundlestorage.file
-
Storage of all bundles jar content.
- BundleStorageImpl() - Constructor for class org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl
-
Create a container for all bundle data in this framework.
- BundleStorageImpl - Class in org.knopflerfish.framework.bundlestorage.memory
-
Storage of all bundles jar content.
- BundleStorageImpl() - Constructor for class org.knopflerfish.framework.bundlestorage.memory.BundleStorageImpl
-
Create a container for all bundle data in this framework.
- BundleURLStreamHandler - Class in org.knopflerfish.framework
-
Bundle URL handling.
- bWriteSysProps - Static variable in class org.knopflerfish.framework.Main
-
- FALSE - Static variable in interface org.osgi.service.condpermadmin.Condition
-
A Condition object that will always evaluate to false and that is never
postponed.
- FileArchive - Interface in org.knopflerfish.framework
-
- FileTree - Class in org.knopflerfish.framework
-
FileTree is extension to java.io.File that handles copying
and deletion of complete file structures.
- FileTree(String) - Constructor for class org.knopflerfish.framework.FileTree
-
Creates a new FileTree instance based on given pathname string.
- FileTree(File, String) - Constructor for class org.knopflerfish.framework.FileTree
-
Creates a new Filetree instance by a pathname string to an existing
File or FileTree.
- FileTree(String, String) - Constructor for class org.knopflerfish.framework.FileTree
-
Creates a new FileTree instance from a parent pathname string and
a child pathname string.
- Filter - Interface in org.osgi.framework
-
An RFC 1960-based Filter.
- filter - Variable in class org.osgi.util.tracker.ServiceTracker
-
Filter specifying search criteria for the services to track.
- FilterImpl - Class in org.knopflerfish.framework
-
- FilterImpl(String) - Constructor for class org.knopflerfish.framework.FilterImpl
-
- filterMatch(String, String) - Static method in class org.knopflerfish.framework.Util
-
Check wildcard filter matches the string
- finalize() - Method in class org.osgi.util.tracker.ServiceTracker
-
Finalize.
- findClass(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Find bundle class to load.
- findEntries(String, String, boolean) - Method in class org.knopflerfish.framework.BundleImpl
-
Get bundle data.
- findEntries(String, String, boolean) - Method in class org.knopflerfish.framework.SystemBundle
-
Get bundle data.
- findEntries(String, String, boolean) - Method in interface org.osgi.framework.Bundle
-
Returns entries in this bundle and its attached fragments.
- findLibrary(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Find native library code to load.
- findResource(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Finds the resource with the given name.
- findResources(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Returns an Enumeration of all the resources with the given name.
- findResourcesPath(String) - Method in interface org.knopflerfish.framework.BundleArchive
-
Returns an Enumeration of all the paths (String
objects)
to entries within the bundle whose longest sub-path matches the supplied
path argument.
- findResourcesPath(String) - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
- findResourcesPath(String) - Method in interface org.knopflerfish.framework.FileArchive
-
- forName1Wrapper(String, long, Object) - Static method in class org.knopflerfish.framework.ClassPatcherWrappers
-
Use bundle class loader at Class.forName(String) calls
- forName3Wrapper(String, boolean, ClassLoader, long, Object) - Static method in class org.knopflerfish.framework.ClassPatcherWrappers
-
Use bundle class loader at Class.forName(String, boolean, ClassLoader) calls.
- FRAGMENT - Static variable in class org.osgi.framework.BundlePermission
-
The action string fragment
.
- FRAGMENT_ATTACHMENT_ALWAYS - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value (named "always") identifying a
fragment attachment type of always.
- FRAGMENT_ATTACHMENT_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive (named "fragment-attachment")
identifying if and when a fragment may attach to a host bundle.
- FRAGMENT_ATTACHMENT_NEVER - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value (named "never") identifying a
fragment attachment type of never.
- FRAGMENT_ATTACHMENT_RESOLVETIME - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value (named "resolve-time")
identifying a fragment attachment type of resolve-time.
- FRAGMENT_HOST - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Fragment-Host") identifying the
symbolic name of another bundle for which that the bundle is a fragment.
- Framework - Class in org.knopflerfish.framework
-
This class contains references to all common data structures
inside the framework.
- Framework(Object) - Constructor for class org.knopflerfish.framework.Framework
-
Contruct a framework.
- FRAMEWORK_BOOTDELEGATION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.bootdelegation") identifying packages for
which the Framework must delegate class loading to the boot class path.
- FRAMEWORK_EXECUTIONENVIRONMENT - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.executionenvironment") identifying
execution environments provided by the Framework.
- FRAMEWORK_LANGUAGE - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.language") identifying the Framework
implementation language (see ISO 639 for possible values).
- FRAMEWORK_OS_NAME - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.os.name") identifying the Framework
host-computer's operating system.
- FRAMEWORK_OS_VERSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.os.version") identifying the Framework
host-computer's operating system version number.
- FRAMEWORK_PROCESSOR - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.processor") identifying the Framework
host-computer's processor name.
- FRAMEWORK_SYSTEMPACKAGES - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.system.packages") identifying package which
the system bundle must export.
- FRAMEWORK_VENDOR - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.vendor") identifying the Framework
implementation vendor.
- FRAMEWORK_VERSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.framework.version") identifying the Framework
version.
- frameworkEvent(FrameworkEvent) - Method in class org.knopflerfish.framework.Listeners
-
Receive notification of a general framework event.
- FrameworkEvent - Class in org.osgi.framework
-
A general event from the Framework.
- FrameworkEvent(int, Object) - Constructor for class org.osgi.framework.FrameworkEvent
-
Deprecated.
As of 1.2. This constructor is deprecated in favor of using
the other constructor with the System Bundle as the event
source.
- FrameworkEvent(int, Bundle, Throwable) - Constructor for class org.osgi.framework.FrameworkEvent
-
Creates a Framework event regarding the specified bundle.
- frameworkEvent(FrameworkEvent) - Method in interface org.osgi.framework.FrameworkListener
-
Receives notification of a general FrameworkEvent
object.
- FrameworkListener - Interface in org.osgi.framework
-
A FrameworkEvent
listener.
- FrameworkUtil - Class in org.osgi.framework
-
Framework Utility class.
- FWDIR_DEFAULT - Static variable in class org.knopflerfish.framework.Main
-
- FWDIR_PROP - Static variable in class org.knopflerfish.framework.Main
-
- FWPROPS - Static variable in class org.knopflerfish.framework.Main
-
- GE - Static variable in class org.knopflerfish.framework.LDAPExpr
-
- get(Object) - Method in class org.knopflerfish.framework.HeaderDictionary
-
Returns the value to which the key is mapped in this dictionary.
- GET - Static variable in class org.osgi.framework.ServicePermission
-
The action string get
(Value is "get").
- getAccessControlContext(String[]) - Method in class org.knopflerfish.framework.permissions.ConditionalPermissionAdminImpl
-
Returns the Access Control Context that corresponds to the specified
signers.
- getAccessControlContext(String[]) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Returns the Access Control Context that corresponds to the specified
signers.
- getActions() - Method in class org.osgi.framework.AdminPermission
-
Returns the canonical string representation of the
AdminPermission
actions.
- getActions() - Method in class org.osgi.framework.BundlePermission
-
Returns the canonical string representation of the
BundlePermission
actions.
- getActions() - Method in class org.osgi.framework.PackagePermission
-
Returns the canonical string representation of the
PackagePermission
actions.
- getActions() - Method in class org.osgi.framework.ServicePermission
-
Returns the canonical string representation of the actions.
- getActions() - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Returns the actions of the permission represented by this
PermissionInfo
.
- getActual(URL) - Static method in class org.knopflerfish.framework.ReferenceURLStreamHandler
-
Get the actual URL string represented by the specified
reference: URL.
- getAllBundleArchives() - Method in class org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl
-
Get all bundle archive objects.
- getAllBundleArchives() - Method in interface org.knopflerfish.framework.BundleStorage
-
Get all bundle archive objects.
- getAllBundleArchives() - Method in class org.knopflerfish.framework.bundlestorage.memory.BundleStorageImpl
-
Get all bundle archive objects.
- getAllServiceReferences(String, String) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Get a list of service references.
- getAllServiceReferences(String, String) - Method in interface org.osgi.framework.BundleContext
-
Returns an array of ServiceReference
objects.
- getArgs() - Method in class org.osgi.service.condpermadmin.ConditionInfo
-
Returns arguments of this ConditionInfo
.
- getAttribute(String) - Method in interface org.knopflerfish.framework.BundleArchive
-
Get an attribute from the manifest of a bundle.
- getAttribute(String) - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
Get an attribute from the manifest of the archive.
- getAttribute(String) - Method in interface org.knopflerfish.framework.FileArchive
-
Get an attribute from the manifest of the archive.
- getAttributes(String) - Method in class org.knopflerfish.framework.AutoManifest
-
Delegate to original manifest.
- getBundle() - Method in class org.knopflerfish.framework.BundleContextImpl
-
Retrieve the Bundle object for the calling bundle.
- getBundle(long) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Retrieve the bundle that has the given unique identifier.
- getBundle(long) - Method in class org.knopflerfish.framework.Bundles
-
Get bundle that has specified bundle identifier.
- getBundle(String) - Method in class org.knopflerfish.framework.Bundles
-
Get bundle that has specified bundle location.
- getBundle(Class) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
- getBundle() - Method in class org.knopflerfish.framework.RequiredBundleImpl
-
Returns the bundle associated with this required bundle.
- getBundle() - Method in class org.knopflerfish.framework.ServiceReferenceImpl
-
Return the bundle which registered the service.
- getBundle() - Method in interface org.osgi.framework.BundleContext
-
Returns the Bundle
object associated with this
BundleContext
.
- getBundle(long) - Method in interface org.osgi.framework.BundleContext
-
Returns the bundle with the specified identifier.
- getBundle() - Method in class org.osgi.framework.BundleEvent
-
Returns the bundle which had a lifecycle change.
- getBundle() - Method in class org.osgi.framework.FrameworkEvent
-
Returns the bundle associated with the event.
- getBundle() - Method in interface org.osgi.framework.ServiceReference
-
Returns the bundle that registered the service referenced by this
ServiceReference
object.
- getBundle(Class) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns the bundle from which the specified class is loaded.
- getBundle() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns the bundle associated with this required bundle.
- getBundleClassLoader(long) - Static method in class org.knopflerfish.framework.ClassPatcherWrappers
-
- getBundleContext() - Method in class org.knopflerfish.framework.BundleImpl
-
Returns this bundle's BundleContext.
- getBundleContext() - Method in interface org.osgi.framework.Bundle
-
- getBundleId() - Method in interface org.knopflerfish.framework.BundleArchive
-
Get bundle identifier for this bundle archive.
- getBundleId() - Method in class org.knopflerfish.framework.BundleImpl
-
Get bundle identifier.
- getBundleId(String) - Method in class org.knopflerfish.framework.Framework
-
Retrieve bundle id of the bundle that has the given
unique location.
- getBundleId() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's identifier.
- getBundleLocation() - Method in interface org.knopflerfish.framework.BundleArchive
-
Get bundle location for this bundle archive.
- getBundleLocation(long) - Method in class org.knopflerfish.framework.Framework
-
Retrieve location of the bundle that has the given
unique identifier.
- getBundles() - Method in class org.knopflerfish.framework.BundleContextImpl
-
Retrieve a list of all installed bundles.
- getBundles(String, String) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
- getBundles() - Method in interface org.osgi.framework.BundleContext
-
Returns a list of all installed bundles.
- getBundles(String, String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns the bundles with the specified symbolic name whose bundle version
is within the specified version range.
- getBundleStartLevel(Bundle) - Method in class org.knopflerfish.framework.StartLevelImpl
-
- getBundleStartLevel(Bundle) - Method in interface org.osgi.service.startlevel.StartLevel
-
Return the assigned start level value for the specified Bundle.
- getBundleType(Bundle) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
- getBundleType(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns the special type of the specified bundle.
- getCause() - Method in exception org.osgi.framework.BundleException
-
Returns the cause of this exception or null
if no cause
was specified when this exception was created.
- getCause() - Method in exception org.osgi.framework.InvalidSyntaxException
-
Returns the cause of this exception or null
if no cause
was specified when this exception was created.
- getCertificates() - Method in interface org.knopflerfish.framework.BundleArchive
-
Get certificates associated with with bundle archive.
- getCertificates() - Method in class org.knopflerfish.framework.BundleImpl
-
Get protection domain for bundle.
- getClassBytes(Integer, String) - Method in interface org.knopflerfish.framework.BundleArchive
-
Get a byte array containg the contents of named file from a bundle
archive.
- getClassBytes(String) - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
Get a byte array containg the contents of named class file from
the archive.
- getClassBytes(String) - Method in interface org.knopflerfish.framework.FileArchive
-
Get a byte array containg the contents of named file from
the archive.
- getCondition(Bundle, ConditionInfo) - Static method in class org.osgi.service.condpermadmin.BundleLocationCondition
-
Constructs a condition that tries to match the passed Bundle's location
to the location pattern.
- getCondition(Bundle, ConditionInfo) - Static method in class org.osgi.service.condpermadmin.BundleSignerCondition
-
Constructs a Condition that tries to match the passed Bundle's certificates
to the certficate pattern.
- getConditionalPermissionAdminService() - Method in class org.knopflerfish.framework.permissions.PermissionsHandle
-
Get ConditionalPermissionAdmin service.
- getConditionalPermissionInfo(String) - Method in class org.knopflerfish.framework.permissions.ConditionalPermissionAdminImpl
-
Return the Conditional Permission Info with the specified name.
- getConditionalPermissionInfo(String) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Return the Conditional Permission Info with the specified name.
- getConditionalPermissionInfos() - Method in class org.knopflerfish.framework.permissions.ConditionalPermissionAdminImpl
-
Returns the Conditional Permission Infos that are currently managed by
Conditional Permission Admin.
- getConditionalPermissionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Returns the Conditional Permission Infos that are currently managed by
Conditional Permission Admin.
- getConditionInfos() - Method in class org.knopflerfish.framework.permissions.ConditionalPermissionInfoImpl
-
Returns the Condition Infos for the Conditions that must be satisfied to
enable the Permissions.
- getConditionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the Condition Infos for the Conditions that must be satisfied to
enable the Permissions.
- getConfigurationObject() - Method in interface org.osgi.framework.Configurable
-
Deprecated.
As of 1.2. Please use Configuration Admin service.
- getContent(URLConnection) - Method in class org.knopflerfish.framework.ContentHandlerWrapper
-
- getContent(URLConnection, Class[]) - Method in class org.knopflerfish.framework.ContentHandlerWrapper
-
- getContent(File) - Static method in class org.knopflerfish.framework.Util
-
- getDataFile(String) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Creates a File object for a file in the persistent storage
area provided for the bundle.
- getDataFile(String) - Method in interface org.osgi.framework.BundleContext
-
Creates a File
object for a file in the persistent storage
area provided for the bundle by the Framework.
- getDataStorage(long) - Method in class org.knopflerfish.framework.Framework
-
Get private bundle data storage file handle.
- getDefaultPermissions() - Method in class org.knopflerfish.framework.permissions.PermissionAdminImpl
-
Gets the default permissions.
- getDefaultPermissions() - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Gets the default permissions.
- getDefaultPort() - Method in class org.knopflerfish.framework.URLStreamHandlerWrapper
-
- getDefaultPort() - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls super.getDefaultPort
.
- getDefaultPort() - Method in interface org.osgi.service.url.URLStreamHandlerService
-
- getEncoded() - Method in class org.osgi.service.condpermadmin.ConditionInfo
-
Returns the string encoding of this ConditionInfo
in a
form suitable for restoring this ConditionInfo
.
- getEncoded() - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Returns the string encoding of this PermissionInfo
in a form
suitable for restoring this PermissionInfo
.
- getEntries() - Method in class org.knopflerfish.framework.AutoManifest
-
Delegate to original manifest.
- getEntry(String) - Method in class org.knopflerfish.framework.BundleImpl
-
- getEntry(String) - Method in class org.knopflerfish.framework.SystemBundle
-
- getEntry(String) - Method in interface org.osgi.framework.Bundle
-
Returns a URL to the specified entry in this bundle.
- getEntryPaths(String) - Method in class org.knopflerfish.framework.BundleImpl
-
- getEntryPaths(String) - Method in class org.knopflerfish.framework.SystemBundle
-
- getEntryPaths(String) - Method in interface org.osgi.framework.Bundle
-
Returns an Enumeration of all the paths (String
objects)
to entries within the bundle whose longest sub-path matches the supplied
path argument.
- getExportedPackage(String) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
Gets the ExportedPackage with the specified package name.
- getExportedPackage(String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Gets the exported package for the specified package name.
- getExportedPackages(Bundle) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
Gets the packages exported by the specified bundle.
- getExportedPackages(String) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
Gets the exported packages for the specified package name.
- getExportedPackages(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Gets the exported packages for the specified bundle.
- getExportedPackages(String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Gets the exported packages for the specified package name.
- getExportingBundle() - Method in class org.knopflerfish.framework.ExportedPackageImpl
-
Returns the bundle that is exporting this ExportedPackage.
- getExportingBundle() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns the bundle exporting the package associated with this exported
package.
- getFailedClassPathEntries() - Method in interface org.knopflerfish.framework.BundleArchive
-
Get a list with all classpath entries we failed to locate.
- getFileStorage(String) - Static method in class org.knopflerfish.framework.Util
-
Check for local file storage directory.
- getFilter() - Method in exception org.osgi.framework.InvalidSyntaxException
-
Returns the filter string that generated the
InvalidSyntaxException
object.
- getFragments(Bundle) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
- getFragments(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns an array of attached fragment bundles for the specified bundle.
- getHeaders() - Method in class org.knopflerfish.framework.BundleImpl
-
Get header data.
- getHeaders(String) - Method in class org.knopflerfish.framework.BundleImpl
-
- getHeaders() - Method in class org.knopflerfish.framework.SystemBundle
-
Get header data.
- getHeaders(String) - Method in class org.knopflerfish.framework.SystemBundle
-
- getHeaders() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's Manifest headers and values.
- getHeaders(String) - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's Manifest headers and values localized to the
specified locale.
- getHostAddress(URL) - Method in class org.knopflerfish.framework.BundleURLStreamHandler
-
- getHostAddress(URL) - Method in class org.knopflerfish.framework.URLStreamHandlerWrapper
-
- getHostAddress(URL) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls super.getHostAddress
.
- getHostAddress(URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
-
- getHosts(Bundle) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
- getHosts(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns an array containing the host bundle to which the specified
fragment bundle is attached or null
if the specified
bundle is not attached to a host or is not a fragment bundle.
- getImportingBundles() - Method in class org.knopflerfish.framework.ExportedPackageImpl
-
Returns the resolved bundles that are currently importing this
ExportedPackage.
- getImportingBundles() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns the resolved bundles that are currently wired to this exported
package.
- getInitialBundleStartLevel() - Method in class org.knopflerfish.framework.StartLevelImpl
-
- getInitialBundleStartLevel() - Method in interface org.osgi.service.startlevel.StartLevel
-
Return the initial start level value that is assigned to a Bundle when it
is first installed.
- getInputStream(String, int) - Method in interface org.knopflerfish.framework.BundleArchive
-
Get an specific InputStream to named entry inside a bundle.
- getInputStream(String) - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
- getInputStream(String) - Method in interface org.knopflerfish.framework.FileArchive
-
Get an InputStream to named entry inside an Archive.
- getInstance(BundleClassLoader) - Static method in class org.knopflerfish.framework.ClassPatcher
-
- getJarLocation() - Method in interface org.knopflerfish.framework.BundleArchive
-
- getLastModified() - Method in interface org.knopflerfish.framework.BundleArchive
-
- getLastModified() - Method in class org.knopflerfish.framework.BundleImpl
-
- getLastModified() - Method in interface org.osgi.framework.Bundle
-
Returns the time when this bundle was last modified.
- getLocalizationEntries(String) - Method in interface org.knopflerfish.framework.BundleArchive
-
Gets all localization entries from this bundle.
- getLocation() - Method in class org.knopflerfish.framework.AutoManifest
-
Get the bundle location
- getLocation() - Method in class org.knopflerfish.framework.BundleImpl
-
Get bundle location.
- getLocation() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's location identifier.
- getLocations() - Method in class org.knopflerfish.framework.permissions.PermissionAdminImpl
-
Returns the bundle locations that have permissions assigned to them, that
is, bundle locations for which an entry exists in the permission table.
- getLocations() - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Returns the bundle locations that have permissions assigned to them, that
is, bundle locations for which an entry exists in the permission table.
- getMainAttributes() - Method in class org.knopflerfish.framework.AutoManifest
-
Get the main manifest attributes, possibly modified.
- getMajor() - Method in class org.osgi.framework.Version
-
Returns the major component of this version identifier.
- getManifest() - Method in class org.knopflerfish.framework.AutoManifest
-
Get the original manifest
- getManifest() - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
- getManifest() - Method in interface org.knopflerfish.framework.FileArchive
-
Get manifest for this archive.
- getMicro() - Method in class org.osgi.framework.Version
-
Returns the micro component of this version identifier.
- getMinor() - Method in class org.osgi.framework.Version
-
Returns the minor component of this version identifier.
- getName() - Method in class org.knopflerfish.framework.ExportedPackageImpl
-
Returns the name of this ExportedPackage.
- getName() - Method in class org.knopflerfish.framework.permissions.ConditionalPermissionInfoImpl
-
Returns the name of this Conditional Permission Info.
- getName() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the name of this Conditional Permission Info.
- getName() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns the name of the package associated with this exported package.
- getName() - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Returns the name of the permission represented by this
PermissionInfo
.
- getNativeLibrary(String) - Method in interface org.knopflerfish.framework.BundleArchive
-
Extract native library from JAR.
- getNestedException() - Method in exception org.osgi.framework.BundleException
-
Returns any nested exceptions included in this exception.
- getPermissionAdminService() - Method in class org.knopflerfish.framework.permissions.PermissionsHandle
-
Get PermissionAdmin service.
- getPermissionCollection(Long) - Method in class org.knopflerfish.framework.permissions.PermissionsHandle
-
Gets the permissionCollection assigned to the bundle with the specified id.
- getPermissionInfos() - Method in class org.knopflerfish.framework.permissions.ConditionalPermissionInfoImpl
-
Returns the Permission Infos for the Permission in this Conditional
Permission Info.
- getPermissionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the Permission Infos for the Permission in this Conditional
Permission Info.
- getPermissions(String) - Method in class org.knopflerfish.framework.permissions.PermissionAdminImpl
-
Gets the permissions assigned to the bundle with the specified
location.
- getPermissions(String) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Gets the permissions assigned to the bundle with the specified location.
- getProperties() - Static method in class org.knopflerfish.framework.Framework
-
- getProperty(String) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Retrieve the value of the named environment property.
- getProperty(String) - Static method in class org.knopflerfish.framework.Framework
-
Retrieve the value of the named framework property.
- getProperty(String, String) - Static method in class org.knopflerfish.framework.Framework
-
Retrieve the value of the named framework property, with a default value.
- getProperty(String, boolean) - Static method in class org.knopflerfish.framework.Framework
-
Retrieve the boolean value of the named framework property, with a default value.
- getProperty(String) - Method in class org.knopflerfish.framework.ServiceReferenceImpl
-
Get the value of a service's property.
- getProperty(String) - Method in interface org.osgi.framework.BundleContext
-
Returns the value of the specified property.
- getProperty(String) - Method in interface org.osgi.framework.ServiceReference
-
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 class org.knopflerfish.framework.ServiceReferenceImpl
-
Get the list of key names for the service's properties.
- getPropertyKeys() - Method in interface org.osgi.framework.ServiceReference
-
Returns an array of the keys in the properties Dictionary
object of the service referenced by this ServiceReference
object.
- getQualifier() - Method in class org.osgi.framework.Version
-
Returns the qualifier component of this version identifier.
- getReference() - Method in class org.knopflerfish.framework.ServiceRegistrationImpl
-
Returns a ServiceReference object for this registration.
- getReference() - Method in interface org.osgi.framework.ServiceRegistration
-
Returns a ServiceReference
object for a service being
registered.
- getRegisteredServices() - Method in class org.knopflerfish.framework.BundleImpl
-
Get services that this bundle has registrated.
- getRegisteredServices() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's ServiceReference
list for all
services it has registered or null
if this bundle has no
registered services.
- getRequiredBundles(String) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
- getRequiredBundles(String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns an array of required bundles having the specified symbolic name.
- getRequiringBundles() - Method in class org.knopflerfish.framework.RequiredBundleImpl
-
Returns the bundles that currently require this required bundle.
- getRequiringBundles() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns the bundles that currently require this required bundle.
- getResource(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Finds the resource with the given name.
- getResource(String) - Method in class org.knopflerfish.framework.BundleImpl
-
- getResource(String) - Method in interface org.osgi.framework.Bundle
-
Find the specified resource from this bundle.
- getResourceAsStream(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Finds the resource with the given name and returns the InputStream.
- getResources(String) - Method in class org.knopflerfish.framework.BundleImpl
-
- getResources(String) - Method in interface org.osgi.framework.Bundle
-
Find the specified resources from this bundle.
- getResourcesOSGi(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Finds all the resources with the given name.
- getService(ServiceReference) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Get the service object.
- getService(ServiceReference) - Method in interface org.osgi.framework.BundleContext
-
Returns the specified service object for a service.
- getService(Bundle, ServiceRegistration) - Method in interface org.osgi.framework.ServiceFactory
-
Creates a new service object.
- getService(ServiceReference) - Method in class org.osgi.util.tracker.ServiceTracker
-
Returns the service object for the specified
ServiceReference
object if the referenced service is being
tracked by this ServiceTracker
object.
- getService() - Method in class org.osgi.util.tracker.ServiceTracker
-
Returns a service object for one of the services being tracked by this
ServiceTracker
object.
- getServiceReference(String) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Get a service reference.
- getServiceReference(String) - Method in interface org.osgi.framework.BundleContext
-
Returns a ServiceReference
object for a service that
implements and was registered under the specified class.
- getServiceReference() - Method in class org.osgi.framework.ServiceEvent
-
Returns a reference to the service that had a change occur in its
lifecycle.
- getServiceReference() - Method in class org.osgi.util.tracker.ServiceTracker
-
Returns a ServiceReference
object for one of the services
being tracked by this ServiceTracker
object.
- getServiceReferences(String, String) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Get a list of service references.
- getServiceReferences(String, String) - Method in interface org.osgi.framework.BundleContext
-
Returns an array of ServiceReference
objects.
- getServiceReferences() - Method in class org.osgi.util.tracker.ServiceTracker
-
Return an array of ServiceReference
objects for all
services being tracked by this ServiceTracker
object.
- getServices() - Method in class org.osgi.util.tracker.ServiceTracker
-
Return an array of service objects for all services being tracked by this
ServiceTracker
object.
- getServicesInUse() - Method in class org.knopflerfish.framework.BundleImpl
-
Get services that this bundle uses.
- getServicesInUse() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's ServiceReference
list for all
services it is using or returns null
if this bundle is not
using any services.
- getSpecificationVersion() - Method in class org.knopflerfish.framework.ExportedPackageImpl
-
Returns the specification version of this ExportedPackage, as
specified in the exporting bundle's manifest file.
- getSpecificationVersion() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
- getStartLevel() - Method in interface org.knopflerfish.framework.BundleArchive
-
Get stored bundle start level.
- getStartLevel() - Method in class org.knopflerfish.framework.StartLevelImpl
-
- getStartLevel() - Method in interface org.osgi.service.startlevel.StartLevel
-
Return the active start level value of the Framework.
- getStartOnLaunchBundles() - Method in class org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl
-
Get all bundles tagged to start at next launch of framework.
- getStartOnLaunchBundles() - Method in interface org.knopflerfish.framework.BundleStorage
-
Get all bundles tagged to start at next launch of framework.
- getStartOnLaunchBundles() - Method in class org.knopflerfish.framework.bundlestorage.memory.BundleStorageImpl
-
Get all bundles tagged to start at next launch of framework.
- getStartOnLaunchFlag() - Method in interface org.knopflerfish.framework.BundleArchive
-
Get state of start-on-launch flag.
- getState() - Method in class org.knopflerfish.framework.BundleImpl
-
Get bundle state.
- getState() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's current state.
- getSubArchive(String) - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
Get an Archive handle to a named Jar file within this archive.
- getSubArchive(String) - Method in interface org.knopflerfish.framework.FileArchive
-
Get an Archive handle to a named Jar file within this archive.
- getSymbolicName() - Method in class org.knopflerfish.framework.BundleImpl
-
- getSymbolicName() - Method in class org.knopflerfish.framework.RequiredBundleImpl
-
Returns the symbolic name of this required bundle.
- getSymbolicName() - Method in interface org.osgi.framework.Bundle
-
Returns the symbolic name of this bundle as specified by its
Bundle-SymbolicName
manifest header.
- getSymbolicName() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns the symbolic name of this required bundle.
- getSystemBundleContext() - Method in class org.knopflerfish.framework.Framework
-
Get the bundle context used by the system bundle.
- getSystemClassLoaderWrapper(long, Object) - Static method in class org.knopflerfish.framework.ClassPatcherWrappers
-
Get bundle class loader at Class.getSystemClassLoader() calls.
- getSystemProperties() - Static method in class org.knopflerfish.framework.Framework
-
Get a copy of the current system properties.
- getThrowable() - Method in class org.osgi.framework.FrameworkEvent
-
Returns the exception related to this event.
- getTrackingCount() - Method in class org.osgi.util.tracker.ServiceTracker
-
Returns the tracking count for this ServiceTracker
object.
- getType() - Method in class org.osgi.framework.BundleEvent
-
Returns the type of lifecyle event.
- getType() - Method in class org.osgi.framework.FrameworkEvent
-
Returns the type of framework event.
- getType() - Method in class org.osgi.framework.ServiceEvent
-
Returns the type of event.
- getType() - Method in class org.osgi.service.condpermadmin.ConditionInfo
-
Returns the fully qualified class name of the condition represented by
this ConditionInfo
.
- getType() - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Returns the fully qualified class name of the permission represented by
this PermissionInfo
.
- getUnlocalizedAttributes() - Method in interface org.knopflerfish.framework.BundleArchive
-
- getUsingBundles() - Method in class org.knopflerfish.framework.ServiceReferenceImpl
-
Return the bundles that are using the service wrapped by this
ServiceReference, i.e., whose usage count for this service
is greater than zero.
- getUsingBundles() - Method in interface org.osgi.framework.ServiceReference
-
Returns the bundles that are using the service referenced by this
ServiceReference
object.
- getVersion() - Method in class org.knopflerfish.framework.ExportedPackageImpl
-
- getVersion() - Method in class org.knopflerfish.framework.RequiredBundleImpl
-
Returns the version of this required bundle.
- getVersion() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns the version of this exported package.
- getVersion() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns the version of this required bundle.
- implies(Permission) - Method in class org.knopflerfish.framework.permissions.PermissionsWrapper
-
- implies(Permission) - Method in class org.osgi.framework.AdminPermission
-
Determines if the specified permission is implied by this object.
- implies(Permission) - Method in class org.osgi.framework.BundlePermission
-
Determines if the specified permission is implied by this object.
- implies(Permission) - Method in class org.osgi.framework.PackagePermission
-
Determines if the specified permission is implied by this object.
- implies(Permission) - Method in class org.osgi.framework.ServicePermission
-
Determines if a ServicePermission
object "implies" the
specified permission.
- IMPORT - Static variable in class org.osgi.framework.PackagePermission
-
The action string import
.
- IMPORT_PACKAGE - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Import-Package") identifying the
packages on which the bundle depends.
- IMPORT_SERVICE - Static variable in interface org.osgi.framework.Constants
-
- INCLUDE_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive (named "include") identifying a list
of classes and/or resources of the specified package which must be
allowed to be exported in the Export-Package manifest header.
- INFO - Static variable in class org.osgi.framework.FrameworkEvent
-
An informational event has occurred.
- init() - Method in class org.knopflerfish.framework.ClassPatcher
-
- initCause(Throwable) - Method in exception org.osgi.framework.BundleException
-
The cause of this exception can only be set when constructed.
- initCause(Throwable) - Method in exception org.osgi.framework.InvalidSyntaxException
-
The cause of this exception can only be set when constructed.
- initProperties() - Static method in class org.knopflerfish.framework.Framework
-
- insert(Object) - Method in class org.knopflerfish.framework.Queue
-
Inserts an item into the queue.
- insertBundleJar(String, InputStream) - Method in class org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl
-
Insert bundle into persistent storage
- insertBundleJar(String, InputStream) - Method in interface org.knopflerfish.framework.BundleStorage
-
Insert bundle into persistent storagedata.
- insertBundleJar(String, InputStream) - Method in class org.knopflerfish.framework.bundlestorage.memory.BundleStorageImpl
-
Insert bundle into persistent storage
- insertFirst(Object) - Method in class org.knopflerfish.framework.Queue
-
Inserts an item first into the queue.
- installBundle(String) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Install a bundle from location.
- installBundle(String, InputStream) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Install a bundle from an InputStream.
- installBundle(String, InputStream) - Method in class org.knopflerfish.framework.Framework
-
Install a bundle from the given location.
- installBundle(String) - Method in interface org.osgi.framework.BundleContext
-
Installs a bundle from the specified location string.
- installBundle(String, InputStream) - Method in interface org.osgi.framework.BundleContext
-
Installs a bundle from the specified InputStream
object.
- INSTALLED - Static variable in interface org.osgi.framework.Bundle
-
This bundle is installed but not yet resolved.
- INSTALLED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been installed.
- invalidateCertificates() - Method in interface org.knopflerfish.framework.BundleArchive
-
Invalidate certificates associated with with bundle archive.
- InvalidSyntaxException - Exception in org.osgi.framework
-
A Framework exception.
- InvalidSyntaxException(String, String) - Constructor for exception org.osgi.framework.InvalidSyntaxException
-
Creates an exception of type InvalidSyntaxException
.
- InvalidSyntaxException(String, String, Throwable) - Constructor for exception org.osgi.framework.InvalidSyntaxException
-
Creates an exception of type InvalidSyntaxException
.
- isAssignableTo(Bundle, String) - Method in class org.knopflerfish.framework.ServiceReferenceImpl
-
- isAssignableTo(Bundle, String) - Method in interface org.osgi.framework.ServiceReference
-
Tests if the bundle that registered the service referenced by this
ServiceReference
and the specified bundle use the same
source for the package of the specified class name.
- isAuto() - Method in class org.knopflerfish.framework.AutoManifest
-
Check if manifest generation is enabled for this instance.
- isBootClassContext(String) - Method in class org.knopflerfish.framework.BundleClassLoader
-
Check if the current call is made from a class loaded on the
boot class path (or rather, on a class loaded from something else
than a bundle class loader)
- isBundlePersistentlyStarted(Bundle) - Method in class org.knopflerfish.framework.StartLevelImpl
-
- isBundlePersistentlyStarted(Bundle) - Method in interface org.osgi.service.startlevel.StartLevel
-
Return the persistent state of the specified bundle.
- isDoubleCheckedLockingSafe - Static variable in class org.knopflerfish.framework.Framework
-
Is it safe to use double-checked locking or not.
- isEmpty() - Method in class org.knopflerfish.framework.HeaderDictionary
-
Tests if this dictionary maps no keys to value.
- isMutable() - Method in interface org.osgi.service.condpermadmin.Condition
-
Returns whether the Condition is mutable.
- isPersistent() - Method in interface org.knopflerfish.framework.BundleArchive
-
- isPostponed() - Method in interface org.osgi.service.condpermadmin.Condition
-
Returns whether the evaluation must be postponed until the end of the
permission check.
- isReadOnly() - Method in class org.knopflerfish.framework.permissions.PermissionsWrapper
-
- isRemovalPending() - Method in class org.knopflerfish.framework.ExportedPackageImpl
-
Returns true if this ExportedPackage has been
exported by a bundle that has been updated or uninstalled.
- isRemovalPending() - Method in class org.knopflerfish.framework.RequiredBundleImpl
-
Returns true
if the bundle associated with this
RequiredBundle
object has been updated or uninstalled.
- isRemovalPending() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns true
if the package associated with this
ExportedPackage
object has been exported by a bundle that
has been updated or uninstalled.
- isRemovalPending() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns true
if the bundle associated with this
RequiredBundle
object has been updated or uninstalled.
- isSatisfied() - Method in interface org.osgi.service.condpermadmin.Condition
-
Returns whether the Condition is satisfied.
- isSatisfied(Condition[], Dictionary) - Method in interface org.osgi.service.condpermadmin.Condition
-
Returns whether a the set of Conditions are satisfied.
- isSimple(List, List[]) - Method in class org.knopflerfish.framework.LDAPExpr
-
Checks if this LDAP expression is "simple".
- isSpecified() - Method in class org.knopflerfish.framework.VersionRange
-
- read(InputStream) - Method in class org.knopflerfish.framework.AutoManifest
-
Delegate to original manifest.
- readLocalization(String, Hashtable, String) - Method in class org.knopflerfish.framework.BundleImpl
-
Reads all localization entries that affects this bundle
(including its host/fragments)
- readLocalization(String, Hashtable, String) - Method in class org.knopflerfish.framework.SystemBundle
-
Reads all localization entries that affects this bundle
(including its host/fragments)
- realHandler - Variable in class org.osgi.service.url.AbstractURLStreamHandlerService
-
The URLStreamHandlerSetter
object passed to the parseURL
method.
- ReferenceURLStreamHandler - Class in org.knopflerfish.framework
-
Reference URL handling, used for accepting file: references.
- refreshPackages(Bundle[]) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
Forces the update (replacement) or removal of packages exported by
the specified bundles.
- refreshPackages(Bundle[]) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Forces the update (replacement) or removal of packages exported by the
specified bundles.
- REGISTER - Static variable in class org.osgi.framework.ServicePermission
-
The action string register
(Value is "register").
- REGISTERED - Static variable in class org.osgi.framework.ServiceEvent
-
This service has been registered.
- registerService(String[], Object, Dictionary) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Register a service with multiple names.
- registerService(String, Object, Dictionary) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Register a service with a single name.
- registerService(String[], Object, Dictionary) - Method in interface org.osgi.framework.BundleContext
-
Registers the specified service object with the specified properties
under the specified class names into the Framework.
- registerService(String, Object, Dictionary) - Method in interface org.osgi.framework.BundleContext
-
Registers the specified service object with the specified properties
under the specified class name with the Framework.
- remove(Object) - Method in class org.knopflerfish.framework.HeaderDictionary
-
Removes the key (and its corresponding value) from this dictionary.
- remove() - Method in class org.knopflerfish.framework.Queue
-
Removes and returns the first object in the queue.
- remove(ServiceReference) - Method in class org.osgi.util.tracker.ServiceTracker
-
Remove a service from this ServiceTracker
object.
- removeBundleListener(BundleListener) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Remove a bundle listener.
- removeBundleListener(BundleListener) - Method in interface org.osgi.framework.BundleContext
-
Removes the specified BundleListener
object from the
context bundle's list of listeners.
- removeCertificates() - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
- removedService(ServiceReference, Object) - Method in class org.osgi.util.tracker.ServiceTracker
-
Default implementation of the
ServiceTrackerCustomizer.removedService
method.
- removedService(ServiceReference, Object) - Method in interface org.osgi.util.tracker.ServiceTrackerCustomizer
-
A service tracked by the ServiceTracker
object has been
removed.
- removeFrameworkListener(FrameworkListener) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Remove a framework listener.
- removeFrameworkListener(FrameworkListener) - Method in interface org.osgi.framework.BundleContext
-
Removes the specified FrameworkListener
object from the
context bundle's list of listeners.
- removeServiceListener(ServiceListener) - Method in class org.knopflerfish.framework.BundleContextImpl
-
Remove a service listener.
- removeServiceListener(ServiceListener) - Method in interface org.osgi.framework.BundleContext
-
Removes the specified ServiceListener
object from the
context bundle's list of listeners.
- removeWait(float) - Method in class org.knopflerfish.framework.Queue
-
Removes and returns the first item in the queue.
- replace(String, String, String) - Static method in class org.knopflerfish.framework.Util
-
Replace all occurances of a substring with another string.
- replaceBundleArchive(BundleArchive, BundleArchive) - Method in class org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl
-
Replace old bundle archive with a new updated bundle archive, that
was created with updateBundleArchive.
- replaceBundleArchive(BundleArchive, BundleArchive) - Method in class org.knopflerfish.framework.bundlestorage.memory.BundleStorageImpl
-
Replace old bundle archive with a new updated bundle archive, that
was created with updateBundleArchive.
- replaceBundleArchive(BundleArchive, BundleArchive) - Method in interface org.knopflerfish.framework.BundleStorage
-
Replace old bundle archive with a new updated bundle archive, that
was created with updateBundleArchive.
- REQUIRE - Static variable in class org.osgi.framework.BundlePermission
-
The action string require
.
- REQUIRE_BUNDLE - Static variable in interface org.osgi.framework.Constants
-
Manifest header (named "Require-Bundle") identifying the
symbolic names of other bundles required by the bundle.
- RequiredBundle - Interface in org.osgi.service.packageadmin
-
A required bundle.
- RequiredBundleImpl - Class in org.knopflerfish.framework
-
Implementation for required bundle interface.
- RESOLUTION_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive (named "resolution") identifying the
resolution type in the Import-Package or Require-Bundle manifest header.
- RESOLUTION_MANDATORY - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value (named "mandatory") identifying
a mandatory resolution type.
- RESOLUTION_OPTIONAL - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value (named "optional") identifying
an optional resolution type.
- RESOLVE - Static variable in class org.osgi.framework.AdminPermission
-
The action string resolve
(Value is "resolve").
- resolveBundles(Bundle[]) - Method in class org.knopflerfish.framework.PackageAdminImpl
-
- resolveBundles(Bundle[]) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Resolve the specified bundles.
- RESOLVED - Static variable in interface org.osgi.framework.Bundle
-
This bundle is resolved and is able to be started.
- RESOLVED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been resolved.
- RESOURCE - Static variable in class org.osgi.framework.AdminPermission
-
The action string resource
(Value is "resource").
- restart() - Static method in class org.knopflerfish.framework.Main
-
Restart framework.
- run() - Method in class org.knopflerfish.framework.MainClassBundleActivator
-
- run() - Method in class org.knopflerfish.framework.StartLevelImpl
-
- sameFile(URL, URL) - Method in class org.knopflerfish.framework.BundleURLStreamHandler
-
Compare two urls to see whether they refer to the same file,
i.e., having the same protocol, host, port, and path.
- sameFile(URL, URL) - Method in class org.knopflerfish.framework.URLStreamHandlerWrapper
-
- sameFile(URL, URL) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls super.sameFile
.
- sameFile(URL, URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
-
- saveCertificates() - Method in class org.knopflerfish.framework.bundlestorage.file.Archive
-
- savePostponement(List) - Method in class org.knopflerfish.framework.permissions.KFSecurityManager
-
NYI! Think about security here!
- SELECTION_FILTER_ATTRIBUTE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute (named "selection-filter") is used
for selection by filtering based upon system properties.
- SelfSignedValidator - Class in org.knopflerfish.framework.validator
-
Self signed certificate validator
- SelfSignedValidator() - Constructor for class org.knopflerfish.framework.validator.SelfSignedValidator
-
- SERVICE_DESCRIPTION - Static variable in interface org.osgi.framework.Constants
-
Service property (named "service.description") identifying a
service's description.
- SERVICE_ID - Static variable in interface org.osgi.framework.Constants
-
Service property (named "service.id") identifying a service's
registration number (of type java.lang.Long
).
- SERVICE_PID - Static variable in interface org.osgi.framework.Constants
-
Service property (named "service.pid") identifying a service's
persistent identifier.
- SERVICE_RANKING - Static variable in interface org.osgi.framework.Constants
-
Service property (named "service.ranking") identifying a
service's ranking number (of type java.lang.Integer
).
- SERVICE_VENDOR - Static variable in interface org.osgi.framework.Constants
-
Service property (named "service.vendor") identifying a
service's vendor.
- serviceChanged(ServiceEvent) - Method in class org.knopflerfish.framework.Listeners
-
Receive notification that a service has had a change occur in its lifecycle.
- serviceChanged(ServiceEvent) - Method in interface org.osgi.framework.ServiceListener
-
Receives notification that a service has had a lifecycle change.
- ServiceContentHandlerFactory - Class in org.knopflerfish.framework
-
Factory creating ContentHandlers from both built-in
handlers and OSGi-registered ContentHandlers
- ServiceEvent - Class in org.osgi.framework
-
An event from the Framework describing a service lifecycle change.
- ServiceEvent(int, ServiceReference) - Constructor for class org.osgi.framework.ServiceEvent
-
Creates a new service event object.
- ServiceFactory - Interface in org.osgi.framework
-
Allows services to provide customized service objects in the OSGi
environment.
- ServiceListener - Interface in org.osgi.framework
-
A ServiceEvent
listener.
- ServicePermission - Class in org.osgi.framework
-
Indicates a bundle's authority to register or get a service.
- ServicePermission(String, String) - Constructor for class org.osgi.framework.ServicePermission
-
Create a new ServicePermission.
- ServiceReference - Interface in org.osgi.framework
-
A reference to a service.
- ServiceReferenceImpl - Class in org.knopflerfish.framework
-
Implementation of the ServiceReference object.
- ServiceRegistration - Interface in org.osgi.framework
-
A registered service.
- ServiceRegistrationImpl - Class in org.knopflerfish.framework
-
Implementation of the ServiceRegistration object.
- ServiceTracker - Class in org.osgi.util.tracker
-
The ServiceTracker
class simplifies using services from the
Framework's service registry.
- ServiceTracker(BundleContext, ServiceReference, ServiceTrackerCustomizer) - Constructor for class org.osgi.util.tracker.ServiceTracker
-
Create a ServiceTracker
object on the specified
ServiceReference
object.
- ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) - Constructor for class org.osgi.util.tracker.ServiceTracker
-
Create a ServiceTracker
object on the specified class
name.
- ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) - Constructor for class org.osgi.util.tracker.ServiceTracker
-
Create a ServiceTracker
object on the specified
Filter
object.
- ServiceTrackerCustomizer - Interface in org.osgi.util.tracker
-
The ServiceTrackerCustomizer
interface allows a
ServiceTracker
object to customize the service objects that are
tracked.
- ServiceURLStreamHandlerFactory - Class in org.knopflerfish.framework
-
Factory creating URLStreamHandlers from both built-in
handlers and OSGi-registered URLStreamHandlerServices.
- setBundleStartLevel(Bundle, int) - Method in class org.knopflerfish.framework.StartLevelImpl
-
- setBundleStartLevel(Bundle, int) - Method in interface org.osgi.service.startlevel.StartLevel
-
Assign a start level value to the specified Bundle.
- setCheckSigned(boolean) - Method in class org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl
-
- setCheckSigned(boolean) - Method in class org.knopflerfish.framework.bundlestorage.memory.BundleStorageImpl
-
- setCheckSigned(boolean) - Method in interface org.knopflerfish.framework.BundleStorage
-
Set if bundles in this storage should check if they are signed.
- setConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[]) - Method in class org.knopflerfish.framework.permissions.ConditionalPermissionAdminImpl
-
Set or create a Conditional Permission Info with a specified name.
- setConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[]) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Set or create a Conditional Permission Info with a specified name.
- setDefaultPermissions(PermissionInfo[]) - Method in class org.knopflerfish.framework.permissions.PermissionAdminImpl
-
Sets the default permissions.
- setDefaultPermissions(PermissionInfo[]) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Sets the default permissions.
- setInitialBundleStartLevel(int) - Method in class org.knopflerfish.framework.StartLevelImpl
-
- setInitialBundleStartLevel(int) - Method in interface org.osgi.service.startlevel.StartLevel
-
Set the initial start level value that is assigned to a Bundle when it is
first installed.
- setLastModified(long) - Method in interface org.knopflerfish.framework.BundleArchive
-
- setPermissions(String, PermissionInfo[]) - Method in class org.knopflerfish.framework.permissions.PermissionAdminImpl
-
Assigns the specified permissions to the bundle with the specified
location.
- setPermissions(String, PermissionInfo[]) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Assigns the specified permissions to the bundle with the specified
location.
- setPersistent(boolean) - Method in interface org.knopflerfish.framework.BundleArchive
-
- setProperties(Dictionary) - Static method in class org.knopflerfish.framework.Framework
-
- setProperties(Dictionary) - Method in class org.knopflerfish.framework.ServiceRegistrationImpl
-
Update the properties associated with this service.
- setProperties(Dictionary) - Method in interface org.osgi.framework.ServiceRegistration
-
Updates the properties associated with a service.
- setProperty(String, String) - Static method in class org.knopflerfish.framework.Framework
-
- setReadOnly() - Method in class org.knopflerfish.framework.permissions.PermissionsWrapper
-
- setStartLevel(int) - Method in interface org.knopflerfish.framework.BundleArchive
-
Set stored bundle start level.
- setStartLevel(int) - Method in class org.knopflerfish.framework.StartLevelImpl
-
- setStartLevel(int) - Method in interface org.osgi.service.startlevel.StartLevel
-
Modify the active start level of the Framework.
- setStartOnLaunchFlag(boolean) - Method in interface org.knopflerfish.framework.BundleArchive
-
Set state of start-on-launch flag.
- setURL(URL, String, String, int, String, String) - Method in class org.knopflerfish.framework.URLStreamHandlerWrapper
-
This method is deprecated, but wrap it in the same
way as JSDK1.4 wraps it.
- setURL(URL, String, String, int, String, String, String, String, String) - Method in class org.knopflerfish.framework.URLStreamHandlerWrapper
-
- setURL(URL, String, String, int, String, String) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
Deprecated.
This method is only for compatibility with handlers written
for JDK 1.1.
- setURL(URL, String, String, int, String, String, String, String, String) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls
realHandler.setURL(URL,String,String,int,String,String,String,String)
.
- setURL(URL, String, String, int, String, String) - Method in interface org.osgi.service.url.URLStreamHandlerSetter
-
Deprecated.
This method is only for compatibility with handlers written
for JDK 1.1.
- setURL(URL, String, String, int, String, String, String, String, String) - Method in interface org.osgi.service.url.URLStreamHandlerSetter
-
- shutdown() - Method in class org.knopflerfish.framework.Framework
-
Stop this Framework, suspending all started contexts.
- shutdown(int) - Static method in class org.knopflerfish.framework.Main
-
Shutdown framework.
- SIMPLE - Static variable in class org.knopflerfish.framework.LDAPExpr
-
- SINGLETON_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive (named "singleton") identifying
whether a bundle is a singleton.
- size() - Method in class org.knopflerfish.framework.HeaderDictionary
-
Returns the number of entries (distinct keys) in this dictionary.
- size() - Method in class org.osgi.util.tracker.ServiceTracker
-
Return the number of services being tracked by this
ServiceTracker
object.
- smex - Static variable in class org.knopflerfish.framework.BundleClassLoader
-
- sort(List, Util.Comparator, boolean) - Static method in class org.knopflerfish.framework.Util
-
Sort a vector with objects compareble using a comparison function.
- SPEC_VERSION - Static variable in class org.knopflerfish.framework.permissions.ConditionalPermissionAdminImpl
-
- SPEC_VERSION - Static variable in class org.knopflerfish.framework.permissions.PermissionAdminImpl
-
- SPEC_VERSION - Static variable in class org.knopflerfish.framework.StartLevelImpl
-
- splitwords(String) - Static method in class org.knopflerfish.framework.Util
-
Utility method to split a string into words separated by whitespace.
- splitwords(String, String) - Static method in class org.knopflerfish.framework.Util
-
Utility method to split a string into words separated by whitespace.
- splitwords(String, String, char) - Static method in class org.knopflerfish.framework.Util
-
Split a string into words separated by whitespace.
- start() - Method in class org.knopflerfish.framework.BundleImpl
-
Start this bundle.
- start(BundleContext) - Method in class org.knopflerfish.framework.MainClassBundleActivator
-
- start() - Method in class org.knopflerfish.framework.SystemBundle
-
Start this bundle.
- start() - Method in interface org.osgi.framework.Bundle
-
Starts this bundle.
- start(BundleContext) - Method in interface org.osgi.framework.BundleActivator
-
Called when this bundle is started so the Framework can perform the
bundle-specific activities necessary to start this bundle.
- startBundle(long) - Method in class org.knopflerfish.framework.Framework
-
Start a bundle.
- STARTED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been started.
- STARTED - Static variable in class org.osgi.framework.FrameworkEvent
-
The Framework has started.
- STARTING - Static variable in interface org.osgi.framework.Bundle
-
This bundle is in the process of starting.
- STARTING - Static variable in class org.osgi.framework.BundleEvent
-
The bundle is about to start.
- STARTLEVEL - Static variable in class org.osgi.framework.AdminPermission
-
The action string startlevel
(Value is "startlevel").
- StartLevel - Interface in org.osgi.service.startlevel
-
The StartLevel service allows management agents to manage a start level
assigned to each bundle and the active start level of the Framework.
- STARTLEVEL_CHANGED - Static variable in class org.osgi.framework.FrameworkEvent
-
A StartLevel.setStartLevel operation has completed.
- StartLevelImpl - Class in org.knopflerfish.framework
-
StartLevel service implementation.
- StartLevelImpl(Framework) - Constructor for class org.knopflerfish.framework.StartLevelImpl
-
- stop() - Method in class org.knopflerfish.framework.BundleImpl
-
Stop this bundle.
- stop(BundleContext) - Method in class org.knopflerfish.framework.MainClassBundleActivator
-
- stop() - Method in class org.knopflerfish.framework.SystemBundle
-
Stop this bundle.
- stop(int) - Method in class org.knopflerfish.framework.SystemBundle
-
- stop() - Method in interface org.osgi.framework.Bundle
-
Stops this bundle.
- stop(BundleContext) - Method in interface org.osgi.framework.BundleActivator
-
Called when this bundle is stopped so the Framework can perform the
bundle-specific activities necessary to stop the bundle.
- stopBundle(long) - Method in class org.knopflerfish.framework.Framework
-
Stop a bundle.
- STOPPED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been stopped.
- STOPPING - Static variable in interface org.osgi.framework.Bundle
-
This bundle is in the process of stopping.
- STOPPING - Static variable in class org.osgi.framework.BundleEvent
-
The bundle is about to stop.
- SUPPORTS_BOOTCLASSPATH_EXTENSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.supports.bootclasspath.extension") identifying
whether the Framework supports bootclasspath extension bundles.
- SUPPORTS_FRAMEWORK_EXTENSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.supports.framework.extension") identifying whether
the Framework supports framework extension bundles.
- SUPPORTS_FRAMEWORK_FRAGMENT - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.supports.framework.fragment") identifying whether the
Framework supports fragment bundles.
- SUPPORTS_FRAMEWORK_REQUIREBUNDLE - Static variable in interface org.osgi.framework.Constants
-
Framework environment property (named
"org.osgi.supports.framework.requirebundle") identifying
whether the Framework supports the Require-Bundle
manifest
header.
- SynchronousBundleListener - Interface in org.osgi.framework
-
A synchronous BundleEvent
listener.
- SYSTEM_BUNDLE_LOCATION - Static variable in interface org.osgi.framework.Constants
-
Location identifier of the OSGi system bundle , which is defined
to be "System Bundle".
- SYSTEM_BUNDLE_SYMBOLICNAME - Static variable in interface org.osgi.framework.Constants
-
Alias for the symbolic name of the OSGi system bundle .
- SystemBundle - Class in org.knopflerfish.framework
-
Implementation of the System Bundle object.
- systemExitWrapper(int, long, Object) - Static method in class org.knopflerfish.framework.ClassPatcherWrappers
-