|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.fighterfish.test.util.WABDeploymentEventHandler
public class WABDeploymentEventHandler
Listens to OSGi Event Admin Service generated events generated for a WAB and calls back a registered handler
| Nested Class Summary | |
|---|---|
static interface |
WABDeploymentEventHandler.Callback
|
| Constructor Summary | |
|---|---|
WABDeploymentEventHandler(org.osgi.framework.BundleContext context,
org.osgi.framework.Bundle b,
WABDeploymentEventHandler.Callback callback)
|
|
| Method Summary | |
|---|---|
void |
handleEvent(org.osgi.service.event.Event event)
|
void |
stop()
Stop listening for events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WABDeploymentEventHandler(org.osgi.framework.BundleContext context,
org.osgi.framework.Bundle b,
WABDeploymentEventHandler.Callback callback)
context - BundleContext used to register the serviceb - Bundle whose deployment related events we are interested incallback - object that will be called back when appropriate events are received| Method Detail |
|---|
public void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandlerpublic void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||