- cancel() - Method in interface org.osgi.service.deploymentadmin.DeploymentAdmin
-
This method cancels the currently active deployment session.
- CANCEL - Static variable in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
-
Constant String to the "cancel" action.
- cancel() - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
-
Processing of a resource passed to the resource processor may take long.
- CODE_BAD_HEADER - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Syntax error in any manifest header.
- CODE_BUNDLE_NAME_ERROR - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Bundle symbolic name is not the same as defined by the deployment package
manifest.
- CODE_BUNDLE_SHARING_VIOLATION - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Bundle with the same symbolic name already exists.
- CODE_CANCELLED - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
- CODE_COMMIT_ERROR - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Exception with this error code is thrown when one of the Resource
Processors involved in the deployment session threw a
ResourceProcessorException with the
CODE_PREPARE error code.
- CODE_FOREIGN_CUSTOMIZER - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Matched resource processor service is a customizer from another
deployment package.
- CODE_MISSING_BUNDLE - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
A bundle in the deployment package is marked as DeploymentPackage-Missing
but there is no such bundle in the target deployment package.
- CODE_MISSING_FIXPACK_TARGET - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Fix pack version range doesn't fit to the version of the target
deployment package or the target deployment package of the fix pack
doesn't exist.
- CODE_MISSING_HEADER - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Missing mandatory manifest header.
- CODE_MISSING_RESOURCE - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
A resource in the source deployment package is marked as
DeploymentPackage-Missing but there is no such resource in the target
deployment package.
- CODE_NOT_A_JAR - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
- CODE_ORDER_ERROR - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Order of files in the deployment package is bad.
- CODE_OTHER_ERROR - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Other error condition.
- CODE_OTHER_ERROR - Static variable in exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
-
Other error condition.
- CODE_PREPARE - Static variable in exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
-
Resource Processors are allowed to raise an exception with this error
code to indicate that the processor is not able to commit the operations
it made since the last call of
ResourceProcessor.begin(DeploymentSession) method.
- CODE_PROCESSOR_NOT_FOUND - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
The Resource Processor service with the given PID (see
Resource-Processor manifest header) is not found.
- CODE_RESOURCE_SHARING_VIOLATION - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
An artifact of any resource already exists.
- CODE_RESOURCE_SHARING_VIOLATION - Static variable in exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
-
An artifact of any resource already exists.
- CODE_SIGNING_ERROR - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
Bad deployment package signing.
- CODE_TIMEOUT - Static variable in exception org.osgi.service.deploymentadmin.DeploymentException
-
When a client requests a new session with an install or uninstall
operation, it must block that call until the earlier session is
completed.
- commit() - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
-
Called when the processing of the current deployment package is finished.
- DeploymentAdmin - Interface in org.osgi.service.deploymentadmin
-
This is the interface of the Deployment Admin service.
- DeploymentAdminPermission - Class in org.osgi.service.deploymentadmin
-
DeploymentAdminPermission controls access to the Deployment Admin service.
- DeploymentAdminPermission(String, String) - Constructor for class org.osgi.service.deploymentadmin.DeploymentAdminPermission
-
Creates a new DeploymentAdminPermission object for the given
name and action.
- DeploymentCustomizerPermission - Class in org.osgi.service.deploymentadmin.spi
-
The DeploymentCustomizerPermission permission gives the right to
Resource Processors to access a bundle's (residing in a Deployment Package)
private area.
- DeploymentCustomizerPermission(String, String) - Constructor for class org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission
-
Creates a new DeploymentCustomizerPermission object for the given
name and action.
- DeploymentException - Exception in org.osgi.service.deploymentadmin
-
Checked exception received when something fails during any deployment
processes.
- DeploymentException(int, String, Throwable) - Constructor for exception org.osgi.service.deploymentadmin.DeploymentException
-
Create an instance of the exception.
- DeploymentException(int, String) - Constructor for exception org.osgi.service.deploymentadmin.DeploymentException
-
Create an instance of the exception.
- DeploymentException(int) - Constructor for exception org.osgi.service.deploymentadmin.DeploymentException
-
Create an instance of the exception.
- DeploymentPackage - Interface in org.osgi.service.deploymentadmin
-
The DeploymentPackage object represents a deployment package (already
installed or being currently processed).
- DeploymentSession - Interface in org.osgi.service.deploymentadmin.spi
-
The session interface represents a currently running deployment session
(install/update/uninstall).
- dropAllResources() - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
-
This method is called during an "uninstall" deployment session.
- dropped(String) - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
-
Called when a resource, associated with a particular resource processor,
had belonged to an earlier version of a deployment package but is not
present in the current version of the deployment package.
- getActions() - Method in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
-
Returns the String representation of the action list.
- getActions() - Method in class org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission
-
Returns the String representation of the action list.
- getBundle(String) - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns the bundle instance, which is part of this deployment package,
that corresponds to the bundle's symbolic name passed in the
symbolicName parameter.
- getBundleInfos() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns an array of
BundleInfo objects representing the bundles
specified in the manifest of this deployment package.
- getCause() - Method in exception org.osgi.service.deploymentadmin.DeploymentException
-
Returns the cause of this exception or null if no cause was set.
- getCause() - Method in exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
-
Returns the cause of this exception or null if no cause was set.
- getCode() - Method in exception org.osgi.service.deploymentadmin.DeploymentException
-
- getCode() - Method in exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
-
- getDataFile(Bundle) - Method in interface org.osgi.service.deploymentadmin.spi.DeploymentSession
-
Returns the private data area of the specified bundle.
- getDeploymentPackage(String) - Method in interface org.osgi.service.deploymentadmin.DeploymentAdmin
-
Gets the currently installed
DeploymentPackage instance which has
the given symbolic name.
- getDeploymentPackage(Bundle) - Method in interface org.osgi.service.deploymentadmin.DeploymentAdmin
-
- getDisplayName() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns the Deployment Package human readable name.
- getHeader(String) - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns the requested deployment package manifest header from the main
section.
- getIcon() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns a URL pointing to an image that represents the icon for this
Deployment Package.
- getName() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns the Deployment Package Symbolic Name of the package.
- getResourceHeader(String, String) - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns the requested deployment package manifest header from the name
section determined by the resource parameter.
- getResourceProcessor(String) - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
At the time of deployment, resource processor service instances are
located to resources contained in a deployment package.
- getResources() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns an array of strings representing the resources (including
bundles) that are specified in the manifest of this deployment package.
- getSourceDeploymentPackage() - Method in interface org.osgi.service.deploymentadmin.spi.DeploymentSession
-
If the deployment action is an install or an update, this call returns
the DeploymentPackage instance that corresponds to the deployment
package being streamed in for this session.
- getSymbolicName() - Method in interface org.osgi.service.deploymentadmin.BundleInfo
-
Returns the Bundle Symbolic Name of the represented bundle.
- getTargetDeploymentPackage() - Method in interface org.osgi.service.deploymentadmin.spi.DeploymentSession
-
If the deployment action is an update or an uninstall, this call returns
the DeploymentPackage instance for the installed deployment
package.
- getVersion() - Method in interface org.osgi.service.deploymentadmin.BundleInfo
-
Returns the version of the represented bundle.
- getVersion() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
-
Returns the version of the deployment package.