|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.as400.AS400FileBase
net.sf.xbus.technical.as400.AS400ProgramSender
public class AS400ProgramSender
The AS400ProgramSender calls a program on an AS400 and gives
back the result.
| Field Summary | |
|---|---|
static java.lang.String |
CALLTYPE_MULTI
|
static java.lang.String |
CALLTYPE_SINGLE
|
| Fields inherited from class net.sf.xbus.technical.as400.AS400FileBase |
|---|
mConverter |
| Constructor Summary | |
|---|---|
AS400ProgramSender(XBUSSystem destination)
Constructs an AS400ProgramSender for a given XBUSSystem |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(java.lang.String function,
java.lang.Object callData)
Performs the program call on the AS400. |
static org.w3c.dom.Document |
getTemplateAsDocument()
Returns a W3C document containing an empty AS400ProgramMessage |
static java.lang.String |
getTemplateAsString()
Returns a XML string containing an empty AS400ProgramMessage |
java.lang.String |
getType()
A Sender can send data either as a String
or as an Object to the neighboring system. |
| Methods inherited from class net.sf.xbus.technical.as400.AS400FileBase |
|---|
callAS400Program, copyFile, deleteFile, deleteMember, getEncoding, getRenamedMember, releaseLock, renameFile, setLock |
| 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 CALLTYPE_SINGLE
public static final java.lang.String CALLTYPE_MULTI
| Constructor Detail |
|---|
public AS400ProgramSender(XBUSSystem destination)
AS400ProgramSender for a given XBUSSystem
destination - XBUSSystem which consists two informations:| Method Detail |
|---|
public java.lang.Object execute(java.lang.String function,
java.lang.Object callData)
throws XException
execute in interface ObjectSenderfunction - the path of the called programcallData - org.w3c.Document containing input
parameter structure and values and output parameter structure
org.w3c.Document containing the output data of the
AS400 program in the specied structure
XExceptionpublic java.lang.String getType()
SenderSender can send data either as a String
or as an Object to the neighboring system.Strings the Sender must fulfill two
preconditions:
getType returns Constants.TYPE_TEXTTextSenderObjects the Sender must also fulfill two
preconditions:
getType returns Constants.TYPE_OBJECTObjectSender
getType in interface Sender
public static java.lang.String getTemplateAsString()
throws XException
XException
public static org.w3c.dom.Document getTemplateAsDocument()
throws XException
XException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||