|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermissionAdminMBean
This MBean represents the OSGi Permission Manager Service
Field Summary | |
---|---|
static java.lang.String |
OBJECTNAME
Permission Admin MBean object name. |
Method Summary | |
---|---|
java.lang.String[] |
getPermissions(java.lang.String location)
Answer the list of encoded permissions of the bundle specified by the bundle location |
java.lang.String[] |
listDefaultPermissions()
Answer the list of encoded permissions representing the default permissions assigned to bundle locations that have no assigned permissions |
java.lang.String[] |
listLocations()
Answer the bundle locations that have permissions assigned to them |
void |
setDefaultPermissions(java.lang.String[] encodedPermissions)
Set the default permissions assigned to bundle locations that have no assigned permissions |
void |
setPermissions(java.lang.String location,
java.lang.String[] encodedPermissions)
Set the permissions on the bundle specified by the bundle location |
Field Detail |
---|
static final java.lang.String OBJECTNAME
Method Detail |
---|
java.lang.String[] listLocations() throws java.io.IOException
java.io.IOException
- if the operation failsjava.lang.String[] getPermissions(java.lang.String location) throws java.io.IOException
location
- location identifying the bundle
java.io.IOException
- if the operation failsvoid setDefaultPermissions(java.lang.String[] encodedPermissions) throws java.io.IOException
encodedPermissions
- the string encoded permissions
java.io.IOException
- if the operation failsjava.lang.String[] listDefaultPermissions() throws java.io.IOException
java.io.IOException
- if the operation failsvoid setPermissions(java.lang.String location, java.lang.String[] encodedPermissions) throws java.io.IOException
location
- the location of the bundleencodedPermissions
- the string encoded permissions to set
java.io.IOException
- if the operation fails
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |