|
Sun Adapter for e-Mail API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.emailadapter.appconn.EmailMessageContainerImpl
public class EmailMessageContainerImpl
This class implements the container for the actual EmailMessage. This class is needed in the inbound case since it maps to the WSDL message type for the receive operation.
Constructor Summary | |
---|---|
EmailMessageContainerImpl()
Constructor for EmailMessageContainer Used when restoring a BPEL message. |
|
EmailMessageContainerImpl(EmailMessage msg)
Constructor for EmailMessageContainer |
Method Summary | |
---|---|
EmailMessage |
getEmailMessage()
Gets the EmailMessage instance. |
void |
persist(com.stc.connector.persistence.bpel.DataOutput dout)
Persists (serialize) this message. |
void |
restore(com.stc.connector.persistence.bpel.DataInput din)
Restore (deserialize) this message. |
void |
setEmailMessage(EmailMessage msg)
Sets the EmailMessage instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmailMessageContainerImpl()
public EmailMessageContainerImpl(EmailMessage msg)
msg
- The instance of EmailMessage which
this container wraps.Method Detail |
---|
public EmailMessage getEmailMessage()
getEmailMessage
in interface EmailMessageContainer
public void setEmailMessage(EmailMessage msg)
setEmailMessage
in interface EmailMessageContainer
msg
- An instance of EmailMessage.public void persist(com.stc.connector.persistence.bpel.DataOutput dout) throws java.lang.Exception
persist
in interface com.stc.connector.persistence.bpel.PersistableData
dout
- The DataOutput to which the Java Bean
message is persisted.
java.lang.Exception
- upon error.public void restore(com.stc.connector.persistence.bpel.DataInput din) throws java.lang.Exception
restore
in interface com.stc.connector.persistence.bpel.PersistableData
dis
- The DataInput from which the Java Bean
message is restored.
java.lang.Exception
- upon error.
|
Sun Adapter for e-Mail API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |