Sun Adapter for MSMQ API

com.stc.connector.msmqadapter.webservice
Class payloadInput

java.lang.Object
  extended by com.stc.connector.msmqadapter.webservice.payloadInput
All Implemented Interfaces:
com.stc.connector.persistence.bpel.PersistableData

public class payloadInput
extends java.lang.Object
implements com.stc.connector.persistence.bpel.PersistableData

This class is the payloadInput.


Constructor Summary
payloadInput()
          Creates a new instance of payloadInput
 
Method Summary
 byte[] getPayload()
          Gets the payload.
 boolean hasPayload()
          Checks whether the payload properety has been set.
 void persist(com.stc.connector.persistence.bpel.DataOutput dout)
          Persists this message.
 void restore(com.stc.connector.persistence.bpel.DataInput din)
          Restores this message.
 void setPayload(byte[] newpayload)
          Sets the payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

payloadInput

public payloadInput()
Creates a new instance of payloadInput

Method Detail

getPayload

public byte[] getPayload()
Gets the payload.

Returns:
The payload.

setPayload

public void setPayload(byte[] newpayload)
Sets the payload.

Parameters:
newpayload - The new payload.

hasPayload

public boolean hasPayload()
Checks whether the payload properety has been set.

Returns:
true if it was set or false if not.

persist

public void persist(com.stc.connector.persistence.bpel.DataOutput dout)
             throws java.lang.Exception
Persists this message.

Specified by:
persist in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dout - The DataOutput to which the Java Bean message is persisted.
Throws:
java.lang.Exception - upon error.

restore

public void restore(com.stc.connector.persistence.bpel.DataInput din)
             throws java.lang.Exception
Restores this message.

Specified by:
restore in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dis - The DataInput from which the Java Bean message is restored.
Throws:
java.lang.Exception - upon error.

Sun Adapter for MSMQ API