public class OSGIBusListener extends Object implements BusLifeCycleListener
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_NAME_PROPERTY |
static String |
CONTEXT_SYMBOLIC_NAME_PROPERTY |
static String |
CONTEXT_VERSION_PROPERTY |
Constructor and Description |
---|
OSGIBusListener(Bus b) |
OSGIBusListener(Bus b,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
void |
initComplete()
Invoked when the
Bus has been initialized. |
void |
postShutdown()
Invoked after the
Bus is shutdown. |
void |
preShutdown()
Invoked before the
Bus is shutdown. |
public static final String CONTEXT_SYMBOLIC_NAME_PROPERTY
public static final String CONTEXT_VERSION_PROPERTY
public static final String CONTEXT_NAME_PROPERTY
public OSGIBusListener(Bus b)
public void initComplete()
BusLifeCycleListener
Bus
has been initialized.initComplete
in interface BusLifeCycleListener
public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.preShutdown
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.postShutdown
in interface BusLifeCycleListener
Copyright © 2016 JBoss by Red Hat. All rights reserved.