Class ProductClient

java.lang.Object
gov.usgs.util.DefaultConfigurable
gov.usgs.earthquake.distribution.ProductClient
All Implemented Interfaces:
Bootstrappable, ProductClientMBean, Configurable

public class ProductClient extends DefaultConfigurable implements ProductClientMBean, Bootstrappable
The entry point to product distribution. The ProductClient implements the Configurable interface and can use the following configuration parameters:
receivers
(Required) A comma separated list of section names that should be loaded as NotificationReceiver objects. Each receiver is a source of notifications for listeners.
listeners
(Required) A comma separated list of section names that should be loaded as NotificationListener objects. Each listener receives notifications from receivers.
logdirectory
(Optional) Log directory. Default is "log", relative to the current working directory. Log files using a naming convention ProductClient_YYYYMMDD.log.
loglevel
(Optional) Default is INFO. One of SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST
redirectconsole
(Optional) Default is false. Whether or not to redirect console output to the log file.

All listeners listen to all receivers for notifications.