|
|||||||||||
| 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 String |
OBJECTNAME
Permission Admin MBean object name. |
| Method Summary | |
|---|---|
String[] |
getPermissions(String location)
Answer the list of encoded permissions of the bundle specified by the bundle location |
String[] |
listDefaultPermissions()
Answer the list of encoded permissions representing the default permissions assigned to bundle locations that have no assigned permissions |
String[] |
listLocations()
Answer the bundle locations that have permissions assigned to them |
void |
setDefaultPermissions(String[] encodedPermissions)
Set the default permissions assigned to bundle locations that have no assigned permissions |
void |
setPermissions(String location,
String[] encodedPermissions)
Set the permissions on the bundle specified by the bundle location |
| Field Detail |
|---|
static final String OBJECTNAME
| Method Detail |
|---|
String[] listLocations()
throws IOException
IOException - if the operation fails
String[] getPermissions(String location)
throws IOException
location - location identifying the bundle
IOException - if the operation fails
void setDefaultPermissions(String[] encodedPermissions)
throws IOException
encodedPermissions - the string encoded permissions
IOException - if the operation fails
String[] listDefaultPermissions()
throws IOException
IOException - if the operation fails
void setPermissions(String location,
String[] encodedPermissions)
throws IOException
location - the location of the bundleencodedPermissions - the string encoded permissions to set
IOException - if the operation fails
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||