log.fine("Registering permission admin with MBeanServer: "
+ mbeanServer + " with name: " + name);
PermissionAdmin admin = (PermissionAdmin) bundleContext
.getService(reference);
try {
manager = new StandardMBean(new PermissionManager(admin),
PermissionManagerMBean.class);
} catch (NotCompliantMBeanException e1) {
log.log(Level.SEVERE,
"Unable to create Permission Admin Manager");
return admin;