KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > osgi > framework > internal > core > BundleProtectionDomainImpl


1 /*******************************************************************************
2  * Copyright (c) 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.osgi.framework.internal.core;
13
14 import java.security.PermissionCollection JavaDoc;
15 import org.eclipse.osgi.framework.adaptor.BundleProtectionDomain;
16
17 /**
18  *
19  * This class tracks the signature information for a bundle in addition to
20  * managing bundle permissions.
21  */

22 public class BundleProtectionDomainImpl extends BundleProtectionDomain {
23     AbstractBundle bundle;
24
25     /**
26      * @param bundle the bundle to which this ProtectionDomain corresponds.
27      * @param permCollection the PermissionCollection used by this ProtectionDomain.
28      */

29     public BundleProtectionDomainImpl(AbstractBundle bundle, PermissionCollection JavaDoc permCollection) {
30         super(permCollection);
31         this.bundle = bundle;
32     }
33 }
34
Popular Tags