How to change bundle start level.
Hello,
I need to change bundle start level from default 20 into 21 to prevent some timing issues.
I've found solution via bundle activator.
Something like this:
Bundle bundle = context.getBundle();
StartLevel startLevel = (StartLevel) context.getService(context.getServiceReference(StartLevel.class.getName()));
startLevel.setBundleStartLevel(bundle, 21);
Is it possible to change start level by another way?
Thanks,
Alex
