public interface ModuleListener extends EventListener
ModuleEvent listener. ModuleListener is a listener
interface that may be implemented by a module developer. When a
ModuleEvent is fired, it is asynchronously delivered to a
ModuleListener. The Runtime delivers ModuleEvent objects to
a ModuleListener in order and must not concurrently call a
ModuleListener.
A ModuleListener object is registered with the Runtime using the
ModuleContext.addModuleListener(ModuleListener) method.
ModuleListeners are called with a ModuleEvent object when a
module has been installed, resolved, started, stopped or uninstalled.
ModuleEvent| Modifier and Type | Method and Description |
|---|---|
void |
moduleChanged(ModuleEvent event)
Receives notification that a module has had a lifecycle change.
|
void moduleChanged(ModuleEvent event)
event - The ModuleEvent.Copyright © 2014 JBoss by Red Hat. All rights reserved.