com.objectplanet.survey.plugin
Class PluginBus

java.lang.Object
  extended by com.objectplanet.survey.plugin.PluginBus

Deprecated.

public class PluginBus
extends java.lang.Object

The PluginBus is opinio's global event notification mechanism. A number of events are sent by opinio; these are classes com.objectplanet.survey.plugin.event package. Plugins can also create & send their own events, using the event classes and the PluginBusXX classes. This class is deprecated. Use the new event mechanism in the com.objectplanet.survey.event and com.objectplanet.survey.event.events package.

Author:
Torgeir Punnerud
Created:
26. august 2002

Constructor Summary
PluginBus()
          Deprecated. Constructor for the PluginBus object
 
Method Summary
 void addToBus(IPBComponent comp)
          Deprecated. Adds a component to the bus.
 IPBComponent[] getComponents()
          Deprecated. Returns an array of all components connected to the bus.
 void removeFromBus(IPBComponent comp)
          Deprecated. Removes a component from the bus.
 void send(PluginBusEvent event)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginBus

public PluginBus()
Deprecated. 
Constructor for the PluginBus object

Method Detail

getComponents

public IPBComponent[] getComponents()
Deprecated. 
Returns an array of all components connected to the bus.

Returns:
The components value

addToBus

public void addToBus(IPBComponent comp)
Deprecated. 
Adds a component to the bus. It will receive all events sent on the bus.

Parameters:
comp - The component to add

removeFromBus

public void removeFromBus(IPBComponent comp)
Deprecated. 
Removes a component from the bus.

Parameters:
comp - The component to remove

send

public void send(PluginBusEvent event)
Deprecated. 

Sends an event to all components on the bus. The event will be sent to all components in turn, with the original sender receiving it last.

Parameters:
event - The event

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016