if (_framework.get() == null && _startLevel.get() != null && _packageAdmin.get() != null) {
registerMBean(FrameworkMBean.class.getName(), new BaseFactory<FrameworkMBean>() {
@Override
public FrameworkMBean create(PackageAdmin pa, StartLevel sl)
{
return new Framework(ctx, sl, pa);
}
}, FrameworkMBean.OBJECTNAME, _framework);
}
}