| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.protocol.TransformerFactory
public class TransformerFactory
| Constructor Summary | |
|---|---|
TransformerFactory()
 | 
|
| Method Summary | |
|---|---|
static Transformer | 
createTransformer(XBUSSystem source,
                  XBUSSystem destination,
                  Message sourceMessage,
                  Message destinationMessage)
The appropriate Transformer object which is
 needed to transform the request or response of one Message to the
 request or response of another Message will be created. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TransformerFactory()
| Method Detail | 
|---|
public static Transformer createTransformer(XBUSSystem source,
                                            XBUSSystem destination,
                                            Message sourceMessage,
                                            Message destinationMessage)
                                     throws XException
Transformer object which is
 needed to transform the request or response of one Message to the
 request or response of another Message will be created. First it
 is checked whether there is a special transformer configured for the two
 systems, if not, the standard transformer from xbus.conf
 is used.
source - the name of the interface definition of the source messagedestination - the name of the interface definition of the
            destination messagesourceMessage - the message holding the data to be transformeddestinationMessage - the message receiving the transformed data
Transformer object
XException - if something goes wrong
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||