|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.technical.ReceiverFactory
public class ReceiverFactory
The class ReceiverFactory
is used to dynamically create
receivers to receive messages from neighbor-systems. Both
ReceiverThreads
and ReceiverSingles
can be
created.
It implements the Factory-Design-Pattern.
Constructor Summary | |
---|---|
ReceiverFactory()
|
Method Summary | |
---|---|
static ReceiverSingleInterface |
createReceiverSingle(java.lang.String receiverName)
The appropriate ReceiverSingle for the given system will
be created. |
static ReceiverThreadBase |
createReceiverThread(java.lang.String receiverName,
java.lang.String system)
The appropriate ReceiverThread for the given system will
be created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReceiverFactory()
Method Detail |
---|
public static ReceiverThreadBase createReceiverThread(java.lang.String receiverName, java.lang.String system) throws XException
ReceiverThread
for the given system will
be created.
XException
public static ReceiverSingleInterface createReceiverSingle(java.lang.String receiverName) throws XException
ReceiverSingle
for the given system will
be created.
XException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |