com.sap.engine.interfaces.messaging.api.pmi
Class ProcessingMode
java.lang.Object
com.sap.engine.interfaces.messaging.api.pmi.ProcessingMode
- All Implemented Interfaces:
- Serializable
public class ProcessingMode
- extends Object
- implements Serializable
The ProcessingMode object is a typesafe enumeration class which is to be used as a parameter to the
PMI agents AdapterInboundAgent and AdapterOutboundAgent. The supported processing mode constants are:
- SYNC: For synchronous message processing.
- ASYNC: For asynchronous message processing.
- UNKNOWN: For unknown processing mode.
- See Also:
- Serialized Form
SYNC
public static final ProcessingMode SYNC
ASYNC
public static final ProcessingMode ASYNC
UNKNOWN
public static final ProcessingMode UNKNOWN
ProcessingMode
protected ProcessingMode(String value)
toString
public String toString()
- Returns the string representation of the ProcessingMode. This value can be used to get a
ProcessingMode instance by a call to valueOf(String).
- Overrides:
toString in class Object
- Returns:
- The string representation of the ProcessingMode.
valueOf
public static ProcessingMode valueOf(String s)
- Returns an instance of
ProcessingMode that represents the ProcessingMode given as a string. This
will typically be used to create a ProcessingMode object from a string retrieved from the database.
- Throws:
NullPointerException - if the argument is null.
IllegalArgumentException - if the argument is not a known transport.
readResolve
protected Object readResolve()
throws ObjectStreamException
- Throws:
ObjectStreamException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getProcessingModes
public static ProcessingMode[] getProcessingModes()
- Returns an array of all known ProcessingMode constants.
- Returns:
- An array containing all known ProcessingMode constants.
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.ifc.facade
|
api
|
BC-XI
|
Copyright 2011 SAP AG Complete Copyright Notice