KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > osgi > framework > adaptor > BundleProtectionDomain


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.adaptor;
13
14 import java.security.PermissionCollection JavaDoc;
15 import java.security.ProtectionDomain JavaDoc;
16
17 /**
18  *
19  * This is a specialized ProtectionDomain for a bundle.
20  * <p>
21  * This class is not intended to be extended by clients.
22  * </p>
23  * @since 3.1
24  */

25 public abstract class BundleProtectionDomain extends ProtectionDomain JavaDoc {
26
27     /**
28      * Constructs a special ProtectionDomain for a bundle.
29      *
30      * @param permCollection
31      * the PermissionCollection for the Bundle
32      */

33     public BundleProtectionDomain(PermissionCollection JavaDoc permCollection) {
34         super(null, permCollection);
35     }
36 }
37
Popular Tags