EventSystem

Description

Provides a common facility for associating event generators with receivers.

This component was created to remove the burden of managing listener lists from objects that generate events.

'Events' that are dealt with here are experssed with method calls on concrete objects. Propagating these events to other JVMs will usually require some additional effort, like java.rmi.Remote listeners, or listeners generating messages and propagating them to other JVMs using i.e. Notification, with notification listeners parsing messages, and firing events on the other local EventSystem.

The 'EventSystem' implements 'EventForwarder' interface, thus this component acts as the ledge instance wide event forwarder. If need arsises, you can create additional private event forwarders separate from the global one. See also 'InboundEventForwarder' and 'OutboundEventForwarder'.

Browse

Dependencies

required components ThreadPool, LoggerFactory, ConfigurationFactory
required libraries none

Constructor parameters

position type description
1 org.jcontainer.dna.Configuration the configuration
2 import org.jcontainer.dna.Logger the logger
3 org.objectledge.threads.ThreadsPool the threads pool component