Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractURLStreamHandlerService - Class in org.osgi.service.url
-
Abstract implementation of the
URLStreamHandlerService
interface. - AbstractURLStreamHandlerService() - Constructor for class org.osgi.service.url.AbstractURLStreamHandlerService
- ACTIVATION_LAZY - Static variable in interface org.osgi.framework.Constants
-
Bundle activation policy declaring the bundle must be activated when the first class load is made from the bundle.
- ACTIVATOR_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The bundle activator was in error.
- ACTIVE - Static variable in interface org.osgi.framework.Bundle
-
The bundle is now running.
- addBundleListener(BundleListener) - Method in interface org.osgi.framework.BundleContext
-
Adds the specified
BundleListener
object to the context bundle's list of listeners if not already present. - addConditionalPermissionInfo(ConditionInfo[], PermissionInfo[]) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Deprecated.
- added(Collection) - Method in interface org.osgi.framework.hooks.service.ListenerHook
-
Added listeners hook method.
- addFrameworkListener(FrameworkListener) - Method in interface org.osgi.framework.BundleContext
-
Adds the specified
FrameworkListener
object to the context bundle's list of listeners if not already present. - addServiceListener(ServiceListener) - Method in interface org.osgi.framework.BundleContext
-
Adds the specified
ServiceListener
object to the context bundle's list of listeners. - addServiceListener(ServiceListener, String) - Method in interface org.osgi.framework.BundleContext
-
Adds the specified
ServiceListener
object with the specifiedfilter
to the context bundle's list of listeners. - AdminPermission - Class in org.osgi.framework
-
A bundle's authority to perform specific privileged administrative operations on or to get sensitive information about a bundle.
- AdminPermission() - Constructor for class org.osgi.framework.AdminPermission
-
Creates a new
AdminPermission
object that matches all bundles and has all actions. - AdminPermission(String, String) - Constructor for class org.osgi.framework.AdminPermission
-
Create a new AdminPermission.
- AdminPermission(Bundle, String) - Constructor for class org.osgi.framework.AdminPermission
-
Creates a new requested
AdminPermission
object to be used by the code that must performcheckPermission
. - ALLOW - Static variable in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
This string is used to indicate that a row in the Conditional Permission Table should return an access decision of "allow" if the conditions are all satisfied and at least one of the permissions is implied.
- AllServiceListener - Interface in org.osgi.framework
-
A
ServiceEvent
listener that does not filter based upon package wiring.
B
- Bundle - Interface in org.osgi.framework
-
An installed bundle in the Framework.
- BUNDLE_ACTIVATIONPOLICY - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the bundle's activation policy.
- BUNDLE_ACTIVATOR - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute identifying the bundle's activator class.
- BUNDLE_CATEGORY - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the bundle's category.
- BUNDLE_CLASSPATH - Static variable in interface org.osgi.framework.Constants
-
Manifest header 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 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 identifying the bundle's copyright information.
- BUNDLE_DESCRIPTION - Static variable in interface org.osgi.framework.Constants
-
Manifest header containing a brief description of the bundle's functionality.
- BUNDLE_DOCURL - Static variable in interface org.osgi.framework.Constants
-
Manifest header 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 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 identifying the bundle manifest version.
- BUNDLE_NAME - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the bundle's name.
- BUNDLE_NATIVECODE - Static variable in interface org.osgi.framework.Constants
-
Manifest header 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 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 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 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 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 identifying the required execution environment for the bundle.
- BUNDLE_SYMBOLICNAME - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the bundle's symbolic name.
- BUNDLE_SYMBOLICNAME_ATTRIBUTE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute 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 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 identifying the bundle's vendor.
- BUNDLE_VERSION - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the bundle's version.
- BUNDLE_VERSION_ATTRIBUTE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute identifying a range of versions for a bundle specified in the
Require-Bundle
orFragment-Host
manifest headers. - BundleActivator - Interface in org.osgi.framework
-
Customizes the starting and stopping of a bundle.
- bundleChanged(BundleEvent) - Method in interface org.osgi.framework.BundleListener
-
Receives notification that a bundle has had a lifecycle change.
- BundleContext - Interface in org.osgi.framework
-
A bundle's execution context within the Framework.
- 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 Class in org.osgi.framework
-
A Framework exception used to indicate that a bundle lifecycle problem occurred.
- BundleException(String) - Constructor for exception class org.osgi.framework.BundleException
-
Creates a
BundleException
with the specified message. - BundleException(String, int) - Constructor for exception class org.osgi.framework.BundleException
-
Creates a
BundleException
with the specified message and type. - BundleException(String, int, Throwable) - Constructor for exception class org.osgi.framework.BundleException
-
Creates a
BundleException
with the specified message, type and exception cause. - BundleException(String, Throwable) - Constructor for exception class org.osgi.framework.BundleException
-
Creates a
BundleException
with the specified message and exception cause. - 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 or does not match 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.
- BundleReference - Interface in org.osgi.framework
-
A reference to a Bundle.
- BundleSignerCondition - Class in org.osgi.service.condpermadmin
-
Condition to test if the signer of a bundle matches or does not match a pattern.
C
- CLASS - Static variable in class org.osgi.framework.AdminPermission
-
The action string
class
. - commit() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionUpdate
-
Commit this update.
- compareTo(Object) - Method in interface org.osgi.framework.ServiceReference
-
Compares this
ServiceReference
with the specifiedServiceReference
for order. - compareTo(Object) - Method in class org.osgi.framework.Version
-
Compares this
Version
object to another object. - Condition - Interface in org.osgi.service.condpermadmin
-
The interface implemented by a Condition.
- ConditionalPermissionAdmin - Interface in org.osgi.service.condpermadmin
-
Framework service to administer Conditional Permissions.
- ConditionalPermissionInfo - Interface in org.osgi.service.condpermadmin
-
A list of Permissions guarded by a list of conditions with an access decision.
- ConditionalPermissionUpdate - Interface in org.osgi.service.condpermadmin
-
Update the Conditional Permission Table.
- ConditionInfo - Class in org.osgi.service.condpermadmin
-
Condition representation used by the Conditional Permission Admin service.
- ConditionInfo(String) - Constructor for class org.osgi.service.condpermadmin.ConditionInfo
-
Constructs a
ConditionInfo
object from the specified encodedConditionInfo
string. - ConditionInfo(String, String[]) - Constructor for class org.osgi.service.condpermadmin.ConditionInfo
-
Constructs a
ConditionInfo
from the specified type and args. - Configurable - Interface in org.osgi.framework
-
Deprecated.As of 1.2. Please use Configuration Admin service.
- Constants - Interface in org.osgi.framework
-
Defines standard names for the OSGi environment system properties, service properties, and Manifest header attribute keys.
- CONTEXT - Static variable in class org.osgi.framework.AdminPermission
-
The action string
context
. - createFilter(String) - Method in interface org.osgi.framework.BundleContext
-
Creates a
Filter
object. - createFilter(String) - Static method in class org.osgi.framework.FrameworkUtil
-
Creates a
Filter
object.
D
- delete() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Deprecated.Since 1.1. Use
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead to manage the Conditional Permissions. - DENY - Static variable in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
This string is used to indicate that a row in the Conditional Permission Table should return an access decision of "deny" if the conditions are all satisfied and at least one of the permissions is implied.
- DUPLICATE_BUNDLE_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The install or update operation failed because another already installed bundle has the same symbolic name and version.
- DYNAMICIMPORT_PACKAGE - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the packages that the bundle may dynamically import during execution.
E
- emptyVersion - Static variable in class org.osgi.framework.Version
-
The empty version "0.0.0".
- equals(Object) - Method in class org.osgi.framework.AdminPermission
-
Determines the equality of two
AdminPermission
objects. - equals(Object) - Method in class org.osgi.framework.BundlePermission
-
Determines the equality of two
BundlePermission
objects. - equals(Object) - Method in interface org.osgi.framework.Filter
-
Compares this
Filter
to anotherFilter
. - equals(Object) - Method in interface org.osgi.framework.hooks.service.ListenerHook.ListenerInfo
-
Compares this
ListenerInfo
to anotherListenerInfo
. - equals(Object) - Method in class org.osgi.framework.PackagePermission
-
Determines the equality of two
PackagePermission
objects. - equals(Object) - Method in class org.osgi.framework.ServicePermission
-
Determines the equality of two ServicePermission objects.
- equals(Object) - Method in class org.osgi.framework.Version
-
Compares this
Version
object to another object. - equals(Object) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Determines the equality of two
ConditionalPermissionInfo
objects. - equals(Object) - Method in class org.osgi.service.condpermadmin.ConditionInfo
-
Determines the equality of two
ConditionInfo
objects. - equals(Object) - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Determines the equality of two
PermissionInfo
objects. - equals(URL, URL) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls
super.equals(URL,URL)
. - equals(URL, URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
- ERROR - Static variable in class org.osgi.framework.FrameworkEvent
-
An error has occurred.
- event(ServiceEvent, Collection) - Method in interface org.osgi.framework.hooks.service.EventHook
-
Event hook method.
- EventHook - Interface in org.osgi.framework.hooks.service
-
OSGi Framework Service Event Hook Service.
- EXCLUDE_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive identifying a list of classes to exclude in the exported package..
- EXECUTE - Static variable in class org.osgi.framework.AdminPermission
-
The action string
execute
. - EXPORT - Static variable in class org.osgi.framework.PackagePermission
-
Deprecated.Since 1.5. Use
exportonly
instead. - EXPORT_PACKAGE - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the packages that the bundle offers to the Framework for export.
- EXPORT_SERVICE - Static variable in interface org.osgi.framework.Constants
-
Deprecated.As of 1.2.
- ExportedPackage - Interface in org.osgi.service.packageadmin
-
An exported package.
- EXPORTONLY - Static variable in class org.osgi.framework.PackagePermission
-
The action string
exportonly
. - EXTENSION_BOOTCLASSPATH - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value identifying the type of extension fragment.
- EXTENSION_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive identifying the type of the extension fragment.
- EXTENSION_FRAMEWORK - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value identifying the type of extension fragment.
- EXTENSIONLIFECYCLE - Static variable in class org.osgi.framework.AdminPermission
-
The action string
extensionLifecycle
.
F
- FACTORY_ERROR - Static variable in exception class org.osgi.framework.ServiceException
-
The service factory produced an invalid service object.
- FACTORY_EXCEPTION - Static variable in exception class org.osgi.framework.ServiceException
-
The service factory threw an exception.
- FALSE - Static variable in interface org.osgi.service.condpermadmin.Condition
-
A Condition object that will always evaluate to false and that is never postponed.
- Filter - Interface in org.osgi.framework
-
An RFC 1960-based Filter.
- find(BundleContext, String, String, boolean, Collection) - Method in interface org.osgi.framework.hooks.service.FindHook
-
Find hook method.
- findEntries(String, String, boolean) - Method in interface org.osgi.framework.Bundle
-
Returns entries in this bundle and its attached fragments.
- FindHook - Interface in org.osgi.framework.hooks.service
-
OSGi Framework Service Find Hook Service.
- 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 identifying a fragment attachment type of always.
- FRAGMENT_ATTACHMENT_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive 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 identifying a fragment attachment type of never.
- FRAGMENT_ATTACHMENT_RESOLVETIME - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value identifying a fragment attachment type of resolve-time.
- FRAGMENT_HOST - Static variable in interface org.osgi.framework.Constants
-
Manifest header identifying the symbolic name of another bundle for which that the bundle is a fragment.
- Framework - Interface in org.osgi.framework.launch
-
A Framework instance.
- FRAMEWORK_BEGINNING_STARTLEVEL - Static variable in interface org.osgi.framework.Constants
-
Specifies the beginning start level of the framework.
- FRAMEWORK_BOOTDELEGATION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying packages for which the Framework must delegate class loading to the parent class loader of the bundle.
- FRAMEWORK_BUNDLE_PARENT - Static variable in interface org.osgi.framework.Constants
-
Specifies the parent class loader type for all bundle class loaders.
- FRAMEWORK_BUNDLE_PARENT_APP - Static variable in interface org.osgi.framework.Constants
-
Specifies to use the application class loader as the parent class loader for all bundle class loaders.
- FRAMEWORK_BUNDLE_PARENT_BOOT - Static variable in interface org.osgi.framework.Constants
-
Specifies to use of the boot class loader as the parent class loader for all bundle class loaders.
- FRAMEWORK_BUNDLE_PARENT_EXT - Static variable in interface org.osgi.framework.Constants
-
Specifies to use the extension class loader as the parent class loader for all bundle class loaders.
- FRAMEWORK_BUNDLE_PARENT_FRAMEWORK - Static variable in interface org.osgi.framework.Constants
-
Specifies to use the framework class loader as the parent class loader for all bundle class loaders.
- FRAMEWORK_EXECPERMISSION - Static variable in interface org.osgi.framework.Constants
-
Specifies an optional OS specific command to set file permissions on extracted native code.
- FRAMEWORK_EXECUTIONENVIRONMENT - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying execution environments provided by the Framework.
- FRAMEWORK_LANGUAGE - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying the Framework implementation language (see ISO 639 for possible values).
- FRAMEWORK_LIBRARY_EXTENSIONS - Static variable in interface org.osgi.framework.Constants
-
Specifies a comma separated list of additional library file extensions that must be used when a bundle's class loader is searching for native libraries.
- FRAMEWORK_OS_NAME - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying the Framework host-computer's operating system.
- FRAMEWORK_OS_VERSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying the Framework host-computer's operating system version number.
- FRAMEWORK_PROCESSOR - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying the Framework host-computer's processor name.
- FRAMEWORK_SECURITY - Static variable in interface org.osgi.framework.Constants
-
Specifies the type of security manager the framework must use.
- FRAMEWORK_SECURITY_OSGI - Static variable in interface org.osgi.framework.Constants
-
Specifies that a security manager that supports all security aspects of the OSGi core specification including postponed conditions must be installed.
- FRAMEWORK_STORAGE - Static variable in interface org.osgi.framework.Constants
-
Specified the persistent storage area used by the framework.
- FRAMEWORK_STORAGE_CLEAN - Static variable in interface org.osgi.framework.Constants
-
Specifies if and when the persistent storage area for the framework should be cleaned.
- FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT - Static variable in interface org.osgi.framework.Constants
-
Specifies that the framework storage area must be cleaned before the framework is initialized for the first time.
- FRAMEWORK_SYSTEMPACKAGES - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying packages which the system bundle must export.
- FRAMEWORK_SYSTEMPACKAGES_EXTRA - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying extra packages which the system bundle must export from the current execution environment.
- FRAMEWORK_TRUST_REPOSITORIES - Static variable in interface org.osgi.framework.Constants
-
Specifies the trust repositories used by the framework.
- FRAMEWORK_VENDOR - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying the Framework implementation vendor.
- FRAMEWORK_VERSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying the Framework version.
- FRAMEWORK_WINDOWSYSTEM - Static variable in interface org.osgi.framework.Constants
-
Specifies the current windowing system.
- frameworkEvent(FrameworkEvent) - Method in interface org.osgi.framework.FrameworkListener
-
Receives notification of a general
FrameworkEvent
object. - 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.
- FrameworkFactory - Interface in org.osgi.framework.launch
-
A factory for creating
Framework
instances. - FrameworkListener - Interface in org.osgi.framework
-
A
FrameworkEvent
listener. - FrameworkUtil - Class in org.osgi.framework
-
Framework Utility class.
G
- GET - Static variable in class org.osgi.framework.ServicePermission
-
The action string
get
. - getAccessControlContext(String[]) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Returns the Access Control Context that corresponds to the specified signers.
- getAccessDecision() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the access decision for this Conditional Permission Info.
- 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
. - 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
. - getBundle() - Method in interface org.osgi.framework.BundleContext
-
Returns the
Bundle
object associated with thisBundleContext
. - getBundle() - Method in class org.osgi.framework.BundleEvent
-
Returns the bundle which had a lifecycle change.
- getBundle() - Method in interface org.osgi.framework.BundleReference
-
Returns the
Bundle
object associated with thisBundleReference
. - 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() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns the bundle associated with this required bundle.
- getBundle(long) - Method in interface org.osgi.framework.BundleContext
-
Returns the bundle with the specified identifier.
- getBundle(Class) - Static method in class org.osgi.framework.FrameworkUtil
-
Return a
Bundle
for the specified bundle class. - getBundle(Class) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns the bundle from which the specified class is loaded.
- getBundleContext() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's
BundleContext
. - getBundleContext() - Method in interface org.osgi.framework.hooks.service.ListenerHook.ListenerInfo
-
Return the context of the bundle which added the listener.
- getBundleId() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's unique identifier.
- getBundleId() - Method in interface org.osgi.framework.launch.Framework
-
Returns the Framework unique identifier.
- 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 interface org.osgi.service.startlevel.StartLevel
-
Return the assigned start level value for the specified Bundle.
- getBundleType(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns the special type of the specified bundle.
- getCause() - Method in exception class org.osgi.framework.BundleException
-
Returns the cause of this exception or
null
if no cause was set. - getCause() - Method in exception class org.osgi.framework.InvalidSyntaxException
-
Returns the cause of this exception or
null
if no cause was set. - 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 location to the location pattern.
- getConditionalPermissionInfo(String) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Deprecated.Since 1.1. Use
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. - getConditionalPermissionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Deprecated.Since 1.1. Use
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. - getConditionalPermissionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionUpdate
-
This method returns the list of
ConditionalPermissionInfo
s for this update. - 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.
- 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. - getDefaultPermissions() - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Gets the default permissions.
- 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 interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the string encoding of this
ConditionalPermissionInfo
in a form suitable for restoring thisConditionalPermissionInfo
. - getEncoded() - Method in class org.osgi.service.condpermadmin.ConditionInfo
-
Returns the string encoding of this
ConditionInfo
in a form suitable for restoring thisConditionInfo
. - getEncoded() - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Returns the string encoding of this
PermissionInfo
in a form suitable for restoring thisPermissionInfo
. - getEntry(String) - Method in interface org.osgi.framework.Bundle
-
Returns a URL to the entry at the specified path in this bundle.
- getEntryPaths(String) - Method in interface org.osgi.framework.Bundle
-
Returns an Enumeration of all the paths (
String
objects) to entries within this bundle whose longest sub-path matches the specified path. - getExportedPackage(String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Gets the exported package for the specified package name.
- getExportedPackages(String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
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.
- getExportingBundle() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns the bundle exporting the package associated with this exported package.
- getFilter() - Method in interface org.osgi.framework.hooks.service.ListenerHook.ListenerInfo
-
Return the filter string with which the listener was added.
- getFilter() - Method in exception class org.osgi.framework.InvalidSyntaxException
-
Returns the filter string that generated the
InvalidSyntaxException
object. - getFragments(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns an array of attached fragment bundles for the specified bundle.
- 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.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls
super.getHostAddress
. - getHostAddress(URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
- getHosts(Bundle) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns the host bundles to which the specified fragment bundle is attached.
- getImportingBundles() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns the resolved bundles that are currently wired to this exported package.
- 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.
- getLastModified() - Method in interface org.osgi.framework.Bundle
-
Returns the time when this bundle was last modified.
- getLocation() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's location identifier.
- getLocation() - Method in interface org.osgi.framework.launch.Framework
-
Returns the Framework location identifier.
- 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.
- getMajor() - Method in class org.osgi.framework.Version
-
Returns the major component of this version identifier.
- 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 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
. - getNestedException() - Method in exception class org.osgi.framework.BundleException
-
Returns the cause of this exception or
null
if no cause was specified when this exception was created. - getPermissionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the Permission Infos for the Permissions in this Conditional Permission Info.
- getPermissions(String) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Gets the permissions assigned to the bundle with the specified location.
- 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 thisServiceReference
object. - getPropertyKeys() - Method in interface org.osgi.framework.ServiceReference
-
Returns an array of the keys in the properties
Dictionary
object of the service referenced by thisServiceReference
object. - getQualifier() - Method in class org.osgi.framework.Version
-
Returns the qualifier component of this version identifier.
- getReference() - Method in interface org.osgi.framework.ServiceRegistration
-
Returns a
ServiceReference
object for a service being registered. - getRegisteredServices() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's
ServiceReference
list for all services it has registered ornull
if this bundle has no registered services. - getRequiredBundles(String) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Returns an array of required bundles having the specified symbolic name.
- getRequiringBundles() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns the bundles that currently require this required bundle.
- getResource(String) - Method in interface org.osgi.framework.Bundle
-
Find the specified resource from this bundle's class loader.
- getResources(String) - Method in interface org.osgi.framework.Bundle
-
Find the specified resources from this bundle's class loader.
- getService(Bundle, ServiceRegistration) - Method in interface org.osgi.framework.ServiceFactory
-
Creates a new service object.
- getService(ServiceReference) - Method in interface org.osgi.framework.BundleContext
-
Returns the service object referenced by the specified
ServiceReference
object. - getServiceReference() - Method in class org.osgi.framework.ServiceEvent
-
Returns a reference to the service that had a change occur in its lifecycle.
- 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. - getServiceReferences(String, String) - Method in interface org.osgi.framework.BundleContext
-
Returns an array of
ServiceReference
objects. - getServicesInUse() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's
ServiceReference
list for all services it is using or returnsnull
if this bundle is not using any services. - getSignerCertificates(int) - Method in interface org.osgi.framework.Bundle
-
Return the certificates for the signers of this bundle and the certificate chains for those signers.
- getSpecificationVersion() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Deprecated.As of 1.2, replaced by
ExportedPackage.getVersion()
. - getStartLevel() - Method in interface org.osgi.service.startlevel.StartLevel
-
Return the active start level value of the Framework.
- getState() - Method in interface org.osgi.framework.Bundle
-
Returns this bundle's current state.
- 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.framework.launch.Framework
-
Returns the symbolic name of this Framework.
- getSymbolicName() - Method in interface org.osgi.service.packageadmin.RequiredBundle
-
Returns the symbolic name of this required bundle.
- getThrowable() - Method in class org.osgi.framework.FrameworkEvent
-
Returns the exception related to this event.
- getType() - Method in class org.osgi.framework.BundleEvent
-
Returns the type of lifecyle event.
- getType() - Method in exception class org.osgi.framework.BundleException
-
Returns the type for this exception or
UNSPECIFIED
if the type was unspecified or unknown. - 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 exception class org.osgi.framework.ServiceException
-
Returns the type for this exception or
UNSPECIFIED
if the type was unspecified or unknown. - 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
. - getUsingBundles() - Method in interface org.osgi.framework.ServiceReference
-
Returns the bundles that are using the service referenced by this
ServiceReference
object. - getVersion() - Method in interface org.osgi.framework.Bundle
-
Returns the version of this bundle as specified by its
Bundle-Version
manifest header. - 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.
H
- hashCode() - Method in class org.osgi.framework.AdminPermission
-
Returns the hash code value for this object.
- hashCode() - Method in class org.osgi.framework.BundlePermission
-
Returns the hash code value for this object.
- hashCode() - Method in interface org.osgi.framework.Filter
-
Returns the hashCode for this
Filter
. - hashCode() - Method in interface org.osgi.framework.hooks.service.ListenerHook.ListenerInfo
-
Returns the hash code for this
ListenerInfo
. - hashCode() - Method in class org.osgi.framework.PackagePermission
-
Returns the hash code value for this object.
- hashCode() - Method in class org.osgi.framework.ServicePermission
-
Returns the hash code value for this object.
- hashCode() - Method in class org.osgi.framework.Version
-
Returns a hash code value for the object.
- hashCode() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the hash code value for this object.
- hashCode() - Method in class org.osgi.service.condpermadmin.ConditionInfo
-
Returns the hash code value for this object.
- hashCode() - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Returns the hash code value for this object.
- hashCode(URL) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls
super.hashCode(URL)
. - hashCode(URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
- hasPermission(Object) - Method in interface org.osgi.framework.Bundle
-
Determines if this bundle has the specified permissions.
- HOST - Static variable in class org.osgi.framework.BundlePermission
-
The action string
host
. - hostsEqual(URL, URL) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls
super.hostsEqual
. - hostsEqual(URL, URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
I
- 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 identifying the packages on which the bundle depends.
- IMPORT_SERVICE - Static variable in interface org.osgi.framework.Constants
-
Deprecated.As of 1.2.
- INCLUDE_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive identifying a list of classes to include in the exported package.
- INFO - Static variable in class org.osgi.framework.FrameworkEvent
-
An informational event has occurred.
- init() - Method in interface org.osgi.framework.launch.Framework
-
Initialize this Framework.
- initCause(Throwable) - Method in exception class org.osgi.framework.BundleException
-
Initializes the cause of this exception to the specified value.
- initCause(Throwable) - Method in exception class org.osgi.framework.InvalidSyntaxException
-
Initializes the cause of this exception to the specified value.
- installBundle(String) - Method in interface org.osgi.framework.BundleContext
-
Installs a bundle from the specified
location
identifier. - 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
-
The bundle is installed but not yet resolved.
- INSTALLED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been installed.
- INVALID_OPERATION - Static variable in exception class org.osgi.framework.BundleException
-
The operation was invalid.
- InvalidSyntaxException - Exception Class in org.osgi.framework
-
A Framework exception used to indicate that a filter string has an invalid syntax.
- InvalidSyntaxException(String, String) - Constructor for exception class org.osgi.framework.InvalidSyntaxException
-
Creates an exception of type
InvalidSyntaxException
. - InvalidSyntaxException(String, String, Throwable) - Constructor for exception class org.osgi.framework.InvalidSyntaxException
-
Creates an exception of type
InvalidSyntaxException
. - 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. - isBundleActivationPolicyUsed(Bundle) - Method in interface org.osgi.service.startlevel.StartLevel
-
Returns whether the specified bundle's autostart setting indicates that the activation policy declared in the bundle's manifest must be used.
- isBundlePersistentlyStarted(Bundle) - Method in interface org.osgi.service.startlevel.StartLevel
-
Returns whether the specified bundle's autostart setting indicates the bundle must be started.
- isMutable() - Method in interface org.osgi.service.condpermadmin.Condition
-
Returns whether the Condition is mutable.
- isPostponed() - Method in interface org.osgi.service.condpermadmin.Condition
-
Returns whether the evaluation must be postponed until the end of the permission check.
- isRemovalPending() - Method in interface org.osgi.service.packageadmin.ExportedPackage
-
Returns
true
if the package associated with thisExportedPackage
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 thisRequiredBundle
object has been updated or uninstalled. - isRemoved() - Method in interface org.osgi.framework.hooks.service.ListenerHook.ListenerInfo
-
Return the state of the listener for this addition and removal life cycle.
- 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 Condition objects are satisfied.
L
- LAZY_ACTIVATION - Static variable in class org.osgi.framework.BundleEvent
-
The bundle will be lazily activated.
- LIFECYCLE - Static variable in class org.osgi.framework.AdminPermission
-
The action string
lifecycle
. - LISTENER - Static variable in class org.osgi.framework.AdminPermission
-
The action string
listener
. - ListenerHook - Interface in org.osgi.framework.hooks.service
-
OSGi Framework Service Listener Hook Service.
- ListenerHook.ListenerInfo - Interface in org.osgi.framework.hooks.service
-
Information about a Service Listener.
- loadClass(String) - Method in interface org.osgi.framework.Bundle
-
Loads the specified class using this bundle's class loader.
M
- MANDATORY_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive identifying names of matching attributes which must be specified by matching Import-Package statements in the Export-Package manifest header.
- MANIFEST_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The bundle manifest was in error.
- match(Dictionary) - Method in interface org.osgi.framework.Filter
-
Filter using a
Dictionary
. - match(ServiceReference) - Method in interface org.osgi.framework.Filter
-
Filter using a service's properties.
- matchCase(Dictionary) - Method in interface org.osgi.framework.Filter
-
Filter with case sensitivity using a
Dictionary
. - matchDistinguishedNameChain(String, List) - Static method in class org.osgi.framework.FrameworkUtil
-
Match a Distinguished Name (DN) chain against a pattern.
- METADATA - Static variable in class org.osgi.framework.AdminPermission
-
The action string
metadata
. - MODIFIED - Static variable in class org.osgi.framework.ServiceEvent
-
The properties of a registered service have been modified.
- MODIFIED_ENDMATCH - Static variable in class org.osgi.framework.ServiceEvent
-
The properties of a registered service have been modified and the new properties no longer match the listener's filter.
N
- NATIVECODE_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The bundle could not be resolved due to an error with the Bundle-NativeCode header.
- newConditionalPermissionInfo(String) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Creates a new
ConditionalPermissionInfo
from the specified encodedConditionalPermissionInfo
string suitable for insertion into aConditionalPermissionUpdate
. - newConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[], String) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Creates a new ConditionalPermissionInfo with the specified fields suitable for insertion into a
ConditionalPermissionUpdate
. - newConditionalPermissionUpdate() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Creates a new update for the Conditional Permission Table.
- newFramework(Map) - Method in interface org.osgi.framework.launch.FrameworkFactory
-
Create a new
Framework
instance. - newPermissionCollection() - Method in class org.osgi.framework.AdminPermission
-
Returns a new
PermissionCollection
object suitable for storingAdminPermission
s. - newPermissionCollection() - Method in class org.osgi.framework.BundlePermission
-
Returns a new
PermissionCollection
object suitable for storingBundlePermission
objects. - newPermissionCollection() - Method in class org.osgi.framework.PackagePermission
-
Returns a new
PermissionCollection
object suitable for storingPackagePermission
objects. - newPermissionCollection() - Method in class org.osgi.framework.ServicePermission
-
Returns a new
PermissionCollection
object for storingServicePermission
objects.
O
- OBJECTCLASS - Static variable in interface org.osgi.framework.Constants
-
Service property identifying all of the class names under which a service was registered in the Framework.
- openConnection(URL) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
- openConnection(URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
- org.osgi.framework - package org.osgi.framework
-
Framework Package Version 1.5.
- org.osgi.framework.hooks.service - package org.osgi.framework.hooks.service
-
Framework Service Hooks Package Version 1.0.
- org.osgi.framework.launch - package org.osgi.framework.launch
-
Framework Launch Package Version 1.0.
- org.osgi.service.condpermadmin - package org.osgi.service.condpermadmin
-
Conditional Permission Admin Package Version 1.1.
- org.osgi.service.packageadmin - package org.osgi.service.packageadmin
-
Package Admin Package Version 1.2.
- org.osgi.service.permissionadmin - package org.osgi.service.permissionadmin
-
Permission Admin Package Version 1.2.
- org.osgi.service.startlevel - package org.osgi.service.startlevel
-
Start Level Package Version 1.1.
- org.osgi.service.url - package org.osgi.service.url
-
URL Stream and Content Handlers Package Version 1.0.
P
- PACKAGE_SPECIFICATION_VERSION - Static variable in interface org.osgi.framework.Constants
-
Deprecated.As of 1.3. This has been replaced by
Constants.VERSION_ATTRIBUTE
. - PackageAdmin - Interface in org.osgi.service.packageadmin
-
Framework service which allows bundle programmers to inspect the package wiring state of bundles in the Framework as well as other functions related to the class loader network among bundles.
- PackagePermission - Class in org.osgi.framework
-
A bundle's authority to import or export a package.
- PackagePermission(String, String) - Constructor for class org.osgi.framework.PackagePermission
-
Creates a new
PackagePermission
object. - PackagePermission(String, Bundle, String) - Constructor for class org.osgi.framework.PackagePermission
-
Creates a new requested
PackagePermission
object to be used by code that must performcheckPermission
for theimport
action. - PACKAGES_REFRESHED - Static variable in class org.osgi.framework.FrameworkEvent
-
A PackageAdmin.refreshPackage operation has completed.
- parseURL(URLStreamHandlerSetter, URL, String, int, int) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
Parse a URL using the
URLStreamHandlerSetter
object. - parseURL(URLStreamHandlerSetter, URL, String, int, int) - Method in interface org.osgi.service.url.URLStreamHandlerService
-
Parse a URL.
- parseVersion(String) - Static method in class org.osgi.framework.Version
-
Parses a version identifier from the specified string.
- PermissionAdmin - Interface in org.osgi.service.permissionadmin
-
The Permission Admin service allows management agents to manage the permissions of bundles.
- PermissionInfo - Class in org.osgi.service.permissionadmin
-
Permission representation used by the Permission Admin service.
- PermissionInfo(String) - Constructor for class org.osgi.service.permissionadmin.PermissionInfo
-
Constructs a
PermissionInfo
object from the specified encodedPermissionInfo
string. - PermissionInfo(String, String, String) - Constructor for class org.osgi.service.permissionadmin.PermissionInfo
-
Constructs a
PermissionInfo
from the specified type, name, and actions. - PROVIDE - Static variable in class org.osgi.framework.BundlePermission
-
The action string
provide
.
R
- realHandler - Variable in class org.osgi.service.url.AbstractURLStreamHandlerService
-
The
URLStreamHandlerSetter
object passed to the parseURL method. - 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
. - REGISTERED - Static variable in class org.osgi.framework.ServiceEvent
-
This service has been registered.
- 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.
- REMOTE - Static variable in exception class org.osgi.framework.ServiceException
-
An error occurred invoking a remote service.
- removeBundleListener(BundleListener) - Method in interface org.osgi.framework.BundleContext
-
Removes the specified
BundleListener
object from the context bundle's list of listeners. - removed(Collection) - Method in interface org.osgi.framework.hooks.service.ListenerHook
-
Removed listeners hook method.
- 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 interface org.osgi.framework.BundleContext
-
Removes the specified
ServiceListener
object from the context bundle's list of listeners. - 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 identifying the symbolic names of other bundles required by the bundle.
- RequiredBundle - Interface in org.osgi.service.packageadmin
-
A required bundle.
- RESOLUTION_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive 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 identifying a mandatory resolution type.
- RESOLUTION_OPTIONAL - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value identifying an optional resolution type.
- RESOLVE - Static variable in class org.osgi.framework.AdminPermission
-
The action string
resolve
. - RESOLVE_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The bundle was not resolved.
- resolveBundles(Bundle[]) - Method in interface org.osgi.service.packageadmin.PackageAdmin
-
Resolve the specified bundles.
- RESOLVED - Static variable in interface org.osgi.framework.Bundle
-
The 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
.
S
- 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
- SECURITY_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The operation failed due to insufficient permissions.
- SELECTION_FILTER_ATTRIBUTE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute is used for selection by filtering based upon system properties.
- SERVICE_DESCRIPTION - Static variable in interface org.osgi.framework.Constants
-
Service property identifying a service's description.
- SERVICE_ID - Static variable in interface org.osgi.framework.Constants
-
Service property identifying a service's registration number.
- SERVICE_PID - Static variable in interface org.osgi.framework.Constants
-
Service property identifying a service's persistent identifier.
- SERVICE_RANKING - Static variable in interface org.osgi.framework.Constants
-
Service property identifying a service's ranking number.
- SERVICE_VENDOR - Static variable in interface org.osgi.framework.Constants
-
Service property identifying a service's vendor.
- serviceChanged(ServiceEvent) - Method in interface org.osgi.framework.ServiceListener
-
Receives notification that a service has had a lifecycle change.
- 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.
- ServiceException - Exception Class in org.osgi.framework
-
A service exception used to indicate that a service problem occurred.
- ServiceException(String) - Constructor for exception class org.osgi.framework.ServiceException
-
Creates a
ServiceException
with the specified message. - ServiceException(String, int) - Constructor for exception class org.osgi.framework.ServiceException
-
Creates a
ServiceException
with the specified message and type. - ServiceException(String, int, Throwable) - Constructor for exception class org.osgi.framework.ServiceException
-
Creates a
ServiceException
with the specified message, type and exception cause. - ServiceException(String, Throwable) - Constructor for exception class org.osgi.framework.ServiceException
-
Creates a
ServiceException
with the specified message and exception cause. - 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
-
A bundle's authority to register or get a service.
- ServicePermission(String, String) - Constructor for class org.osgi.framework.ServicePermission
-
Create a new ServicePermission.
- ServicePermission(ServiceReference, String) - Constructor for class org.osgi.framework.ServicePermission
-
Creates a new requested
ServicePermission
object to be used by code that must performcheckPermission
for theget
action. - ServiceReference - Interface in org.osgi.framework
-
A reference to a service.
- ServiceRegistration - Interface in org.osgi.framework
-
A registered service.
- setBundleStartLevel(Bundle, int) - Method in interface org.osgi.service.startlevel.StartLevel
-
Assign a start level value to the specified Bundle.
- setConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[]) - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
Deprecated.Since 1.1. Use
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. - setDefaultPermissions(PermissionInfo[]) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Sets the default permissions.
- 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.
- setPermissions(String, PermissionInfo[]) - Method in interface org.osgi.service.permissionadmin.PermissionAdmin
-
Assigns the specified permissions to the bundle with the specified location.
- setProperties(Dictionary) - Method in interface org.osgi.framework.ServiceRegistration
-
Updates the properties associated with a service.
- setStartLevel(int) - Method in interface org.osgi.service.startlevel.StartLevel
-
Modify the active start level of the Framework.
- 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) - 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 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, String, String, String) - Method in interface org.osgi.service.url.URLStreamHandlerSetter
- SIGNERS_ALL - Static variable in interface org.osgi.framework.Bundle
-
Request that all certificates used to sign the bundle be returned.
- SIGNERS_TRUSTED - Static variable in interface org.osgi.framework.Bundle
-
Request that only certificates used to sign the bundle that are trusted by the framework be returned.
- SINGLETON_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive identifying whether a bundle is a singleton.
- start() - Method in interface org.osgi.framework.Bundle
-
Starts this bundle with no options.
- start() - Method in interface org.osgi.framework.launch.Framework
-
Start this Framework.
- start(int) - Method in interface org.osgi.framework.Bundle
-
Starts this bundle.
- start(int) - Method in interface org.osgi.framework.launch.Framework
-
Start this Framework.
- 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.
- START_ACTIVATION_POLICY - Static variable in interface org.osgi.framework.Bundle
-
The bundle start operation must activate the bundle according to the bundle's declared
activation policy
. - START_TRANSIENT - Static variable in interface org.osgi.framework.Bundle
-
The bundle start operation is transient and the persistent autostart setting of the bundle is not modified.
- START_TRANSIENT_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The start transient operation failed because the start level of the bundle is greater than the current framework start level
- 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
-
The bundle is in the process of starting.
- STARTING - Static variable in class org.osgi.framework.BundleEvent
-
The bundle is about to be activated.
- 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 - Static variable in class org.osgi.framework.AdminPermission
-
The action string
startlevel
. - STARTLEVEL_CHANGED - Static variable in class org.osgi.framework.FrameworkEvent
-
A StartLevel.setStartLevel operation has completed.
- STATECHANGE_ERROR - Static variable in exception class org.osgi.framework.BundleException
-
The operation failed to complete the requested lifecycle state change.
- stop() - Method in interface org.osgi.framework.Bundle
-
Stops this bundle with no options.
- stop() - Method in interface org.osgi.framework.launch.Framework
-
Stop this Framework.
- stop(int) - Method in interface org.osgi.framework.Bundle
-
Stops this bundle.
- stop(int) - Method in interface org.osgi.framework.launch.Framework
-
Stop this Framework.
- 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.
- STOP_TRANSIENT - Static variable in interface org.osgi.framework.Bundle
-
The bundle stop is transient and the persistent autostart setting of the bundle is not modified.
- STOPPED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been stopped.
- STOPPED - Static variable in class org.osgi.framework.FrameworkEvent
-
The Framework has stopped.
- STOPPED_BOOTCLASSPATH_MODIFIED - Static variable in class org.osgi.framework.FrameworkEvent
-
The Framework has stopped and the boot class path has changed.
- STOPPED_UPDATE - Static variable in class org.osgi.framework.FrameworkEvent
-
The Framework has stopped during update.
- STOPPING - Static variable in interface org.osgi.framework.Bundle
-
The bundle is in the process of stopping.
- STOPPING - Static variable in class org.osgi.framework.BundleEvent
-
The bundle is about to deactivated.
- SUBCLASSED - Static variable in exception class org.osgi.framework.ServiceException
-
The exception is a subclass of ServiceException.
- SUPPORTS_BOOTCLASSPATH_EXTENSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying whether the Framework supports bootclasspath extension bundles.
- SUPPORTS_FRAMEWORK_EXTENSION - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying whether the Framework supports framework extension bundles.
- SUPPORTS_FRAMEWORK_FRAGMENT - Static variable in interface org.osgi.framework.Constants
-
Framework environment property identifying whether the Framework supports fragment bundles.
- SUPPORTS_FRAMEWORK_REQUIREBUNDLE - Static variable in interface org.osgi.framework.Constants
-
Framework environment property 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 .
T
- toExternalForm(URL) - Method in class org.osgi.service.url.AbstractURLStreamHandlerService
-
This method calls
super.toExternalForm
. - toExternalForm(URL) - Method in interface org.osgi.service.url.URLStreamHandlerService
- toString() - Method in interface org.osgi.framework.Filter
-
Returns this
Filter
's filter string. - toString() - Method in class org.osgi.framework.Version
-
Returns the string representation of this version identifier.
- toString() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionInfo
-
Returns the string representation of this
ConditionalPermissionInfo
. - toString() - Method in class org.osgi.service.condpermadmin.ConditionInfo
-
Returns the string representation of this
ConditionInfo
. - toString() - Method in class org.osgi.service.permissionadmin.PermissionInfo
-
Returns the string representation of this
PermissionInfo
. - TRUE - Static variable in interface org.osgi.service.condpermadmin.Condition
-
A Condition object that will always evaluate to true and that is never postponed.
U
- ungetService(Bundle, ServiceRegistration, Object) - Method in interface org.osgi.framework.ServiceFactory
-
Releases a service object.
- ungetService(ServiceReference) - Method in interface org.osgi.framework.BundleContext
-
Releases the service object referenced by the specified
ServiceReference
object. - uninstall() - Method in interface org.osgi.framework.Bundle
-
Uninstalls this bundle.
- uninstall() - Method in interface org.osgi.framework.launch.Framework
-
The Framework cannot be uninstalled.
- UNINSTALLED - Static variable in interface org.osgi.framework.Bundle
-
The bundle is uninstalled and may not be used.
- UNINSTALLED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been uninstalled.
- unregister() - Method in interface org.osgi.framework.ServiceRegistration
-
Unregisters a service.
- UNREGISTERED - Static variable in exception class org.osgi.framework.ServiceException
-
The service has been unregistered.
- UNREGISTERING - Static variable in class org.osgi.framework.ServiceEvent
-
This service is in the process of being unregistered.
- UNRESOLVED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been unresolved.
- UNSPECIFIED - Static variable in exception class org.osgi.framework.BundleException
-
No exception type is unspecified.
- UNSPECIFIED - Static variable in exception class org.osgi.framework.ServiceException
-
No exception type is unspecified.
- UNSUPPORTED_OPERATION - Static variable in exception class org.osgi.framework.BundleException
-
The operation was unsupported.
- update() - Method in interface org.osgi.framework.Bundle
-
Updates this bundle.
- update() - Method in interface org.osgi.framework.launch.Framework
-
Stop and restart this Framework.
- update(InputStream) - Method in interface org.osgi.framework.Bundle
-
Updates this bundle from an
InputStream
. - update(InputStream) - Method in interface org.osgi.framework.launch.Framework
-
Stop and restart this Framework.
- UPDATED - Static variable in class org.osgi.framework.BundleEvent
-
The bundle has been updated.
- URL_CONTENT_MIMETYPE - Static variable in interface org.osgi.service.url.URLConstants
-
Service property naming the MIME types serviced by a java.net.ContentHandler.
- URL_HANDLER_PROTOCOL - Static variable in interface org.osgi.service.url.URLConstants
-
Service property naming the protocols serviced by a URLStreamHandlerService.
- URLConstants - Interface in org.osgi.service.url
-
Defines standard names for property keys associated with
URLStreamHandlerService
andjava.net.ContentHandler
services. - URLStreamHandlerService - Interface in org.osgi.service.url
-
Service interface with public versions of the protected
java.net.URLStreamHandler
methods. - URLStreamHandlerSetter - Interface in org.osgi.service.url
-
Interface used by
URLStreamHandlerService
objects to call thesetURL
method on the proxyURLStreamHandler
object. - USES_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive identifying a list of packages that an exported package uses.
V
- Version - Class in org.osgi.framework
-
Version identifier for bundles and packages.
- Version(int, int, int) - Constructor for class org.osgi.framework.Version
-
Creates a version identifier from the specified numerical components.
- Version(int, int, int, String) - Constructor for class org.osgi.framework.Version
-
Creates a version identifier from the specified components.
- Version(String) - Constructor for class org.osgi.framework.Version
-
Created a version identifier from the specified string.
- VERSION_ATTRIBUTE - Static variable in interface org.osgi.framework.Constants
-
Manifest header attribute identifying the version of a package specified in the Export-Package or Import-Package manifest header.
- VISIBILITY_DIRECTIVE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive identifying the visibility of a required bundle in the Require-Bundle manifest header.
- VISIBILITY_PRIVATE - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value identifying a private visibility type.
- VISIBILITY_REEXPORT - Static variable in interface org.osgi.framework.Constants
-
Manifest header directive value identifying a reexport visibility type.
W
- WAIT_TIMEDOUT - Static variable in class org.osgi.framework.FrameworkEvent
-
The Framework did not stop before the wait timeout expired.
- waitForStop(long) - Method in interface org.osgi.framework.launch.Framework
-
Wait until this Framework has completely stopped.
- WARNING - Static variable in class org.osgi.framework.FrameworkEvent
-
A warning has occurred.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead.