- 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
or
Fragment-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 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
with the specified message and
exception cause.
- BundleException(String) - Constructor for exception org.osgi.framework.BundleException
-
Creates a BundleException
with the specified message.
- BundleException(String, int, Throwable) - Constructor for exception org.osgi.framework.BundleException
-
Creates a BundleException
with the specified message, type
and exception cause.
- BundleException(String, int) - Constructor for exception org.osgi.framework.BundleException
-
Creates a BundleException
with the specified message and
type.
- 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.
- FACTORY_ERROR - Static variable in exception org.osgi.framework.ServiceException
-
The service factory produced an invalid service object.
- FACTORY_EXCEPTION - Static variable in exception 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 - 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.
- FrameworkFactory - Interface in org.osgi.framework.launch
-
- FrameworkListener - Interface in org.osgi.framework
-
A FrameworkEvent
listener.
- FrameworkUtil - Class in org.osgi.framework
-
Framework Utility class.
- 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 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 interface org.osgi.framework.BundleReference
-
Returns the Bundle
object associated with this
BundleReference
.
- getBundle() - Method in class org.osgi.framework.FrameworkEvent
-
Returns the bundle associated with the event.
- getBundle(Class) - Static method in class org.osgi.framework.FrameworkUtil
-
Return a Bundle
for the specified bundle class.
- 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.
- getBundleContext() - Method in interface org.osgi.framework.Bundle
-
- 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 org.osgi.framework.BundleException
-
Returns the cause of this exception or null
if no cause was
set.
- getCause() - Method in exception 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
-
- getConditionalPermissionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionAdmin
-
- getConditionalPermissionInfos() - Method in interface org.osgi.service.condpermadmin.ConditionalPermissionUpdate
-
- 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
this ConditionalPermissionInfo
.
- 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
.
- 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(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 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 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 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 this ServiceReference
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 this ServiceReference
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 or null
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(ServiceReference) - Method in interface org.osgi.framework.BundleContext
-
Returns the service object referenced by the specified
ServiceReference
object.
- getService(Bundle, ServiceRegistration) - Method in interface org.osgi.framework.ServiceFactory
-
Creates a new service object.
- 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.
- 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 returns null
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
-
- 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 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 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.
- 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
-
- 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 org.osgi.framework.BundleException
-
Initializes the cause of this exception to the specified value.
- initCause(Throwable) - Method in exception org.osgi.framework.InvalidSyntaxException
-
Initializes the cause of this exception to the specified value.
- installBundle(String, InputStream) - Method in interface org.osgi.framework.BundleContext
-
Installs a bundle from the specified InputStream
object.
- installBundle(String) - Method in interface org.osgi.framework.BundleContext
-
Installs a bundle from the specified location
identifier.
- 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 org.osgi.framework.BundleException
-
The operation was invalid.
- InvalidSyntaxException - Exception in org.osgi.framework
-
A Framework exception used to indicate that a filter string has an invalid
syntax.
- 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 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 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.
- 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.
- 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 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 in org.osgi.framework
-
A service exception used to indicate that a service problem occurred.
- ServiceException(String, Throwable) - Constructor for exception org.osgi.framework.ServiceException
-
Creates a ServiceException
with the specified message and
exception cause.
- ServiceException(String) - Constructor for exception org.osgi.framework.ServiceException
-
Creates a ServiceException
with the specified message.
- ServiceException(String, int, Throwable) - Constructor for exception org.osgi.framework.ServiceException
-
Creates a ServiceException
with the specified message,
type and exception cause.
- ServiceException(String, int) - Constructor for exception org.osgi.framework.ServiceException
-
Creates a ServiceException
with the specified message and
type.
- 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 perform checkPermission
for the
get
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
-
- 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, 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
-
- 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(int) - Method in interface org.osgi.framework.Bundle
-
Starts this bundle.
- start() - Method in interface org.osgi.framework.Bundle
-
Starts this bundle with no options.
- 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() - Method in interface org.osgi.framework.launch.Framework
-
Start this Framework.
- start(int) - Method in interface org.osgi.framework.launch.Framework
-
Start this Framework.
- 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 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 - Static variable in class org.osgi.framework.AdminPermission
-
The action string 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.
- STATECHANGE_ERROR - Static variable in exception org.osgi.framework.BundleException
-
The operation failed to complete the requested lifecycle state change.
- stop(int) - Method in interface org.osgi.framework.Bundle
-
Stops this bundle.
- stop() - Method in interface org.osgi.framework.Bundle
-
Stops this bundle with no options.
- 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() - Method in interface org.osgi.framework.launch.Framework
-
Stop this Framework.
- stop(int) - Method in interface org.osgi.framework.launch.Framework
-
Stop this Framework.
- 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 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 .