org.apache.logging.log4j.spi.LoggerContextFactory et al. that have corresponding
META-INF/log4j-provider.properties files. As with all OSGi BundleActivator classes, this class is not for
public use and is only useful in an OSGi framework environment.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final Logger | |
| private static final SecurityManager | SECURITY_MANAGER
References Deprecated
SecurityManager is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bundleChanged(final BundleEvent
The event)BundleEvent.Implements org. Receives notification that a bundle has had a lifecycle change. |
| private static void | |
| private void | |
| private void | |
| public void | start(final BundleContext
The execution context of the bundle being started. bundleContext)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(final BundleContext
The execution context of the bundle being stopped. bundleContext)Implements org. Called when this bundle is stopped so the Framework can perform the bundle-specific activities necessary to stop the bundle. |
| private String | |
| private void |
| lockingProviderUtil | back to summary |
|---|---|
| private boolean lockingProviderUtil | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SECURITY_MANAGER | back to summary |
|---|---|
| private static final SecurityManager SECURITY_MANAGER
References Deprecated
See corresponding docs for further information. | |
| Activator | back to summary |
|---|---|
| public Activator() | |
| bundleChanged | back to summary |
|---|---|
| public void bundleChanged(final BundleEvent event) Implements org. Doc from org. Receives notification that a bundle has had a lifecycle change.
| |
| checkPermission | back to summary |
|---|---|
| private static void checkPermission(final Permission permission) | |
| loadProvider | back to summary |
|---|---|
| private void loadProvider(final Bundle bundle) | |
| loadProvider | back to summary |
|---|---|
| private void loadProvider(final BundleContext bundleContext, final BundleWiring bundleWiring) | |
| start | back to summary |
|---|---|
| public void start(final BundleContext bundleContext) 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(final BundleContext bundleContext) 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.
| |
| toStateString | back to summary |
|---|---|
| private String toStateString(final int state) | |
| unlockIfReady | back to summary |
|---|---|
| private void unlockIfReady() | |