| Modifier and Type | Field and Description |
|---|---|
| private @Nullable ServiceRegistration |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private void | |
| public void | start(BundleContext
The execution context of the bundle being started. context)Implements org. Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start this bundle. |
| public void | stop(BundleContext
The execution context of the bundle being stopped. context)Implements org. Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle. |
| registration | back to summary |
|---|---|
| private @Nullable ServiceRegistration<?> registration | |
| PGBundleActivator | back to summary |
|---|---|
| public PGBundleActivator() | |
| dataSourceFactoryExists | back to summary |
|---|---|
| private static boolean dataSourceFactoryExists() | |
| registerDataSourceFactory | back to summary |
|---|---|
| private void registerDataSourceFactory(BundleContext context) | |
| start | back to summary |
|---|---|
| public void start(BundleContext context) throws Exception Implements org. Doc from org. Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start this bundle. This method can be used to register services or to allocate any resources that this bundle needs. This method must complete and return to its caller in a timely manner.
| |
| stop | back to summary |
|---|---|
| public void stop(BundleContext context) throws Exception Implements org. Doc from org. Called when this bundle is stopped so the Framework can perform the
bundle-specific activities necessary to stop the bundle. In general, this
method should undo the work that the This method must complete and return to its caller in a timely manner.
| |