|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.store.PersistentObject com.groiss.wfxml.Partner
public class Partner
Instances of this class represent WfXML communication partners. Use
class WfXML2
(method WfXML2.getPartner(java.lang.String)
) for retrieving objects
of this class.
Field Summary |
---|
Fields inherited from class com.groiss.store.PersistentObject |
---|
filled, oid |
Constructor Summary | |
---|---|
Partner()
Creates an emtpy new Partner. |
Method Summary | |
---|---|
java.lang.String |
getHostname()
Returns the hostname of this partner as it is defined in the administration of @enterprise. |
java.lang.String |
getId()
|
java.lang.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()
|
java.lang.String |
getPath()
The path as defined in the administration of @enterprise. |
java.lang.String |
getPathname()
|
int |
getPort()
The port on which the communication partner excepts incoming WfXML messages. |
java.lang.String |
getProtocol()
|
java.lang.String |
getTableName()
This method must return the table name of the database table in which this persistent object is stored. |
java.lang.String |
getURI()
Use this method to get a complete URI referring to the partner. |
void |
setHostname(java.lang.String hostname)
|
void |
setId(java.lang.String id)
|
void |
setOpmode(short opmode)
|
void |
setPathname(java.lang.String pathname)
|
void |
setPort(int port)
|
java.lang.String |
toString()
|
Methods inherited from class com.groiss.store.PersistentObject |
---|
clone, dbFields, equals, getKey, getOid, getStore, getValue, hashCode, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Partner()
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.
Method Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
public short getOpmode()
public void setOpmode(short opmode)
public java.lang.String getPathname()
public void setPathname(java.lang.String pathname)
public void setHostname(java.lang.String hostname)
public void setPort(int port)
public java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getHostname()
public int getPort()
public java.lang.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 java.lang.String getURI()
http://iquitos:8000/wf/servlet.method/com.groiss.wfxml.impl.Receiver.receive
.
public java.lang.String getID()
Partner
objects from the WfXML2
class. If the partner is an @enterprise server, its ID must be its
server name.
public java.lang.String getProtocol()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |