|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.ProtectionDomain
org.eclipse.osgi.framework.adaptor.BundleProtectionDomain
public class BundleProtectionDomain
This is a specialized ProtectionDomain for a bundle.
This class is not intended to be extended by clients.
| Constructor Summary | |
|---|---|
BundleProtectionDomain(java.security.PermissionCollection permCollection)
Deprecated. use BundleProtectionDomain(PermissionCollection, CodeSource, Bundle) |
|
BundleProtectionDomain(java.security.PermissionCollection permCollection,
java.security.CodeSource codeSource,
Bundle bundle)
Constructs a special ProtectionDomain for a bundle. |
|
| Method Summary | |
|---|---|
Bundle |
getBundle()
Returns the Bundle object associated with this
BundleReference. |
void |
setBundle(Bundle bundle)
Sets the bundle object associated with this protection domain. |
| Methods inherited from class java.security.ProtectionDomain |
|---|
getClassLoader, getCodeSource, getPermissions, getPrincipals, implies, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BundleProtectionDomain(java.security.PermissionCollection permCollection)
BundleProtectionDomain(PermissionCollection, CodeSource, Bundle)
permCollection - the PermissionCollection for the Bundle
public BundleProtectionDomain(java.security.PermissionCollection permCollection,
java.security.CodeSource codeSource,
Bundle bundle)
permCollection - the PermissionCollection for the BundlecodeSource - the code source for this domain, may be nullbundle - the bundle associated with this domain, may be null| Method Detail |
|---|
public void setBundle(Bundle bundle)
bundle - the bundle object associated with this protection domainpublic Bundle getBundle()
BundleReferenceBundle object associated with this
BundleReference.
getBundle in interface BundleReferenceBundle object associated with this
BundleReference.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||