@Service(value="osgiApplicationContextListener") public class ContextFailedHandler extends Object implements org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextListener<org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEvent>
activated
.Constructor and Description |
---|
ContextFailedHandler() |
Modifier and Type | Method and Description |
---|---|
void |
onOsgiApplicationEvent(org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEvent event)
This method is executed asynchronously since the original extender thread may try to obtain a lock to the OSGi
framework's registry state during the stop while holding the event handling lock, which may result in a transitive
deadlock.
|
@Async public void onOsgiApplicationEvent(org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEvent event)
onOsgiApplicationEvent
in interface org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextListener<org.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEvent>
event
- can be null
, in which case it is ignored.Copyright © 2024. All rights reserved.