de.mud.jta
Interface PluginBus

All Known Implementing Classes:
Common, PluginLoader

public interface PluginBus

A plugin bus is used for communication between plugins. The interface describes the broadcast method that should broad cast the message to all plugins known and return an answer message immediatly.

The functionality is just simuliar to a bus, but depends on the actual implementation of the bus.

Maintainer: Matthias L. Jugel

Version:
$Id: PluginBus.java 499 2005-09-29 08:24:54Z leo $
Author:
Matthias L. Jugel, Marcus Mei???ner

Method Summary
 java.lang.Object broadcast(PluginMessage message)
          Broadcast a plugin message to all listeners.
 void registerPluginListener(PluginListener listener)
          Register a plugin listener with this bus object
 

Method Detail

broadcast

java.lang.Object broadcast(PluginMessage message)
Broadcast a plugin message to all listeners.


registerPluginListener

void registerPluginListener(PluginListener listener)
Register a plugin listener with this bus object