|
OSGi™ Service Platform Release 4 Version 4.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.Permission java.security.BasicPermission org.osgi.service.cm.ConfigurationPermission
Indicates a bundle's authority to configure bundles. This permission has only a single action: CONFIGURE.
Field Summary | |
static java.lang.String |
CONFIGURE
The action string configure . |
Constructor Summary | |
ConfigurationPermission(java.lang.String name,
java.lang.String actions)
Create a new ConfigurationPermission. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Determines the equality of two ConfigurationPermission
objects. |
java.lang.String |
getActions()
Returns the canonical string representation of the ConfigurationPermission actions. |
int |
hashCode()
Returns the hash code value for this object. |
boolean |
implies(java.security.Permission p)
Determines if a ConfigurationPermission object "implies"
the specified permission. |
java.security.PermissionCollection |
newPermissionCollection()
Returns a new PermissionCollection object suitable for
storing ConfigurationPermission s. |
Methods inherited from class java.security.Permission |
checkGuard, getName, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CONFIGURE
configure
.
Constructor Detail |
public ConfigurationPermission(java.lang.String name, java.lang.String actions)
name
- Name must be "*".actions
- configure
(canonical order).Method Detail |
public boolean implies(java.security.Permission p)
ConfigurationPermission
object "implies"
the specified permission.
p
- The target permission to check.
true
if the specified permission is implied by
this object; false
otherwise.public boolean equals(java.lang.Object obj)
ConfigurationPermission
objects.
Two ConfigurationPermission
objects are equal.
obj
- The object being compared for equality with this object.
true
if obj
is equivalent to this
ConfigurationPermission
; false
otherwise.public int hashCode()
public java.lang.String getActions()
ConfigurationPermission
actions.
Always returns present ConfigurationPermission
actions in
the following order: CONFIGURE
ConfigurationPermission
actions.public java.security.PermissionCollection newPermissionCollection()
PermissionCollection
object suitable for
storing ConfigurationPermission
s.
PermissionCollection
object.
|
OSGi™ Service Platform Release 4 Version 4.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |