public class Partner extends PersistentObject
WfXML2
(method WfXML2.getPartner(java.lang.String)
) for retrieving objects
of this class.
If you want to create a new Partner, you have to
do this in the administration of @enterprise. Go to Admin.-Tasks ->
WfXML
and add partner servers there. To retrieve one of this partners
in your program, use the WfXML2.getPartner(java.lang.String)
method and provide a
valid partner id.filled, oid
emptyKeys
Constructor and Description |
---|
Partner() |
Modifier and Type | Method and Description |
---|---|
String |
getHostname()
Returns the hostname of this partner as it is defined in the administration
of @enterprise.
|
String |
getId()
Returns the ID of the communication partner.
|
short |
getOperatingMode()
Use this method to find out if a partner works in passive, active,
or off mode.
|
short |
getOpmode() |
String |
getPath()
The path as defined in the administration of @enterprise.
|
String |
getPathname() |
int |
getPort()
The port on which the communication partner excepts incoming WfXML messages.
|
String |
getProtocol() |
String |
getTableName()
This method must return the table name of the database table in which
this persistent object is stored.
|
String |
getURI()
Use this method to get a complete URI referring to the partner.
|
void |
setHostname(String hostname) |
void |
setId(String id) |
void |
setOpmode(short opmode) |
void |
setPathname(String pathname) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
String |
toString() |
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, clone, dbFields, equals, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getValue, hashCode, isFilled, isValid, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setOid, setStore, toListString
public String getId()
Partner
objects from the WfXML2
class. If the partner is an @enterprise server, its ID must be its
server name.public void setId(String id)
public short getOpmode()
public void setOpmode(short opmode)
public String getPathname()
public void setPathname(String pathname)
public void setProtocol(String protocol)
public void setHostname(String hostname)
public void setPort(int port)
public String getTableName()
Persistent
public short getOperatingMode()
short
value representing the operating mode of the
local WfXML server. This is one of the values defined in WfXML2
,
e.g., WfXML2.MODE_ACTIVE
.public String getHostname()
public int getPort()
public String getPath()
wf/servlet.method/com.groiss.wfxml.impl.Receiver.receive
. The first
part (wf
) is the context root of this server. The other part
identifies the method to which the request will be passed on.public String getURI()
http://iquitos:8000/wf/servlet.method/com.groiss.wfxml.impl.Receiver.receive
.public String getProtocol()
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.