* Copyright (c) OSGi Alliance (2005, 2010). All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
When a deployment package is installed the target package, when uninstalled the source package is an empty deployment package. The empty deployment package is a virtual entity it doesn't appear for the outside world. It is only visible on the DeploymentSession interface used by Resource Processors. Although the empty package is only visible for Resource Processors it has the following characteristics:
DeploymentPackageinstance for the installed deployment package. If the deployment action is an install, this call returns the empty deployment package (see
DeploymentPackageinstance that corresponds to the deployment package being streamed in for this session. If the deployment action is an uninstall, this call returns the empty deployment package (see
The bundle and the caller Resource Processor have to be in the same Deployment Package.
bundlethe bundle the private area belongs to
java.lang.SecurityExceptionif the caller doesn't have the appropriate
("<filter>", "privatearea") permission.