Knopflerfish OSGi bundle deploymentadmin 4.0.0
B C D E G H I L M N O P R U 

B

begin(DeploymentSession) - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
Called when the Deployment Admin starts a new operation on the given deployment package, and the resource processor is associated a resource within the package.
BundleInfo - Interface in org.osgi.service.deploymentadmin
Represents a bundle in the array given back by the DeploymentPackage.getBundleInfos() method.

C

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
DeploymentAdmin.installDeploymentPackage(InputStream) methods can throw DeploymentException with this error code if the got InputStream is not a jar.
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.

D

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.

E

equals(Object) - Method in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Checks two DeploymentAdminPermission objects for equality.
equals(Object) - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission
Checks two DeploymentCustomizerPermission objects for equality.
EVENT_DEPLOYMENTPACKAGE_CURRENTVERSION - Static variable in interface org.osgi.service.deploymentadmin.DeploymentPackage
The currently installed version of the Deployment Package.
EVENT_DEPLOYMENTPACKAGE_NAME - Static variable in interface org.osgi.service.deploymentadmin.DeploymentPackage
The name of the Deployment Package.
EVENT_DEPLOYMENTPACKAGE_NEXTVERSION - Static variable in interface org.osgi.service.deploymentadmin.DeploymentPackage
The version of DP after the successful completion of the install operation (used in INSTALL event only).
EVENT_DEPLOYMENTPACKAGE_READABLENAME - Static variable in interface org.osgi.service.deploymentadmin.DeploymentPackage
The human readable name of the DP localized to the default locale.

G

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
Gives back the installed DeploymentPackage that owns the bundle.
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.

H

hashCode() - Method in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Returns hash code for this permission object.
hashCode() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
Returns a hash code value for the object.
hashCode() - Method in class org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission
Returns hash code for this permission object.

I

implies(Permission) - Method in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Checks if this DeploymentAdminPermission would imply the parameter permission.
implies(Permission) - Method in class org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission
Checks if this DeploymentCustomizerPermission would imply the parameter permission.
initCause(Throwable) - Method in exception org.osgi.service.deploymentadmin.DeploymentException
Initializes the cause of this exception to the specified value.
initCause(Throwable) - Method in exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
Initializes the cause of this exception to the specified value.
INSTALL - Static variable in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Constant String to the "install" action.
installDeploymentPackage(InputStream) - Method in interface org.osgi.service.deploymentadmin.DeploymentAdmin
Installs a Deployment Package from an input stream.
isStale() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
Gives back the state of the deployment package whether it is stale or not).

L

LIST - Static variable in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Constant String to the "list" action.
listDeploymentPackages() - Method in interface org.osgi.service.deploymentadmin.DeploymentAdmin
Lists the Deployment Packages currently installed on the platform.

M

METADATA - Static variable in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Constant String to the "metadata" action.

N

newPermissionCollection() - Method in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Returns a new PermissionCollection object for storing DeploymentAdminPermission objects.
newPermissionCollection() - Method in class org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission
Returns a new PermissionCollection object for storing DeploymentCustomizerPermission objects.

O

org.osgi.service.deploymentadmin - package org.osgi.service.deploymentadmin
Deployment Admin Package Version 1.1.
org.osgi.service.deploymentadmin.spi - package org.osgi.service.deploymentadmin.spi
Deployment Admin SPI Package Version 1.0.

P

prepare() - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
This method is called on the Resource Processor immediately before calling the commit method.
PRIVATEAREA - Static variable in class org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission
Constant String to the "privatearea" action.
process(String, InputStream) - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
Called when a resource is encountered in the deployment package for which this resource processor has been selected to handle the processing of that resource.

R

ResourceProcessor - Interface in org.osgi.service.deploymentadmin.spi
ResourceProcessor interface is implemented by processors handling resource files in deployment packages.
ResourceProcessorException - Exception in org.osgi.service.deploymentadmin.spi
Checked exception received when something fails during a call to a Resource Processor.
ResourceProcessorException(int, String, Throwable) - Constructor for exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
Create an instance of the exception.
ResourceProcessorException(int, String) - Constructor for exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
Create an instance of the exception.
ResourceProcessorException(int) - Constructor for exception org.osgi.service.deploymentadmin.spi.ResourceProcessorException
Create an instance of the exception.
rollback() - Method in interface org.osgi.service.deploymentadmin.spi.ResourceProcessor
Called when the processing of the current deployment package is finished.

U

UNINSTALL - Static variable in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Constant String to the "uninstall" action.
uninstall() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
Uninstalls the deployment package.
UNINSTALL_FORCED - Static variable in class org.osgi.service.deploymentadmin.DeploymentAdminPermission
Constant String to the "uninstall_forced" action.
uninstallForced() - Method in interface org.osgi.service.deploymentadmin.DeploymentPackage
This method is called to completely uninstall a deployment package, which couldn't be uninstalled using traditional means (DeploymentPackage.uninstall()) due to exceptions.
B C D E G H I L M N O P R U 
Knopflerfish OSGi ${version}