|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.transport.sms.DefaultSMSMessageBuilderImpl
public class DefaultSMSMessageBuilderImpl
Builds the MessageContext for the from the incoming SMS accepts the RPC style message format serviceName : operationName : param_1 = value_1 : param_2 = value_2 : param_3 = value _3 : ... : param_n = value_n eg: Election : vote : party = XXX : candidate = XXX
Field Summary | |
---|---|
static java.lang.String |
KEY_VALUE_SEPERATOR
|
protected org.apache.commons.logging.Log |
log
the reference to the actual commons logger to be used for log messages |
Constructor Summary | |
---|---|
DefaultSMSMessageBuilderImpl()
|
Method Summary | |
---|---|
org.apache.axis2.context.MessageContext |
buildMessaage(SMSMessage msg,
org.apache.axis2.context.ConfigurationContext configurationContext)
Build the Axis2 Message Context form the SMSMessage.This is respnsible for handling the content comming with the SMSMessage, handling the sender receiver details and handling the and handling the SMSMessage properties to buld the Axis2 Message Context appropriately |
protected void |
handleSMSProperties(SMSMessage msg,
org.apache.axis2.context.MessageContext messageContext)
this will add the SMSMessage properties to the Axis2MessageContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY_VALUE_SEPERATOR
protected org.apache.commons.logging.Log log
Constructor Detail |
---|
public DefaultSMSMessageBuilderImpl()
Method Detail |
---|
public org.apache.axis2.context.MessageContext buildMessaage(SMSMessage msg, org.apache.axis2.context.ConfigurationContext configurationContext) throws InvalidMessageFormatException
SMSMessageBuilder
buildMessaage
in interface SMSMessageBuilder
InvalidMessageFormatException
protected void handleSMSProperties(SMSMessage msg, org.apache.axis2.context.MessageContext messageContext)
msg
- messageContext
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |