de.mud.jta
Interface PluginBus

All Known Implementing Classes:
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,v 2.0 1999/09/08 17:01:45 leo Exp $
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

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

registerPluginListener

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