net.sf.xbus.technical
Class SenderFactory

java.lang.Object
  extended by net.sf.xbus.technical.SenderFactory

public class SenderFactory
extends java.lang.Object

The class SenderFactory is used to dynamically create senders to neighbor systems.

It implements the Factory-Design-Pattern.


Constructor Summary
SenderFactory()
           
 
Method Summary
static Sender createSender(XBUSSystem destination)
          The appropriate Sender for the given destination will be created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenderFactory

public SenderFactory()
Method Detail

createSender

public static Sender createSender(XBUSSystem destination)
                           throws XException
The appropriate Sender for the given destination will be created. The name of the class is read from the Configuration.

Parameters:
destination - name of the interface definition
Throws:
XException - if something goes wrong