2.14.1.1. OSGi Bundle States
interface Bundle {
// Bundle state constants
int UNINSTALLED = 0x00000001;
int INSTALLED = 0x00000002;
int RESOLVED = 0x00000004;
int STARTING = 0x00000008;
int STOPPING = 0x00000010;
int ACTIVE = 0x00000020;
int getState ();
...
}