public PackageStateMBean create()
{
PackageAdmin service = (PackageAdmin) ctx.getService(reference);
if (service == null) return null;
else return new PackageState(ctx, service);
}
}, PackageStateMBean.OBJECTNAME, _packageStateMbean);
if (_packageAdmin.compareAndSet(null, reference)) {
registerBundleStateAndFrameworkIfPossible();