com.ibm.ws.sibx.smobo.util
Class SMOInitializationHelper

java.lang.Object
  extended bycom.ibm.ws.sibx.smobo.util.SMOInitializationHelper

public class SMOInitializationHelper
extends java.lang.Object

This Helper class is used by the mediation engine to initialize a SMO before sending it through the flow. It provides a single method which, given a SMO and type information for the three 'hook points' in the SMO, constructs empty DataObjects the appropriate type and adds them into a SMO.

Longer term, we should look at ways of dynamically generating these objects as they are needed, which is the behaviour for the static portions of the SMO.


Field Summary
static java.lang.String $sccsid
           
static java.lang.Object BODY_TYPE
           
static java.lang.String COPYRIGHT
           
static java.lang.Object CORRELATION_TYPE
           
static java.lang.Object TRANSIENT_TYPE
           
 
Constructor Summary
SMOInitializationHelper()
           
 
Method Summary
static void prepareSMO(ServiceMessageObject smo, java.util.Map parameters)
          Prepares a SMO to be sent down a mediation flow, using parameters supplied in a HashMap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

$sccsid

public static final java.lang.String $sccsid
See Also:
Constant Field Values

BODY_TYPE

public static final java.lang.Object BODY_TYPE

CORRELATION_TYPE

public static final java.lang.Object CORRELATION_TYPE

TRANSIENT_TYPE

public static final java.lang.Object TRANSIENT_TYPE
Constructor Detail

SMOInitializationHelper

public SMOInitializationHelper()
Method Detail

prepareSMO

public static void prepareSMO(ServiceMessageObject smo,
                              java.util.Map parameters)
Prepares a SMO to be sent down a mediation flow, using parameters supplied in a HashMap. Presently supports three keys (BODY_TYPE, CORRELATION_TYPE and TRANSIENT_TYPE) each of which should be a QName as a value.