|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--submarine.core.RouteInfos
Les informations de routage devant accompagner chaque message dans le Systeme
EAI.
Ces informations de routage sont comparées lors de la soumission d'un message
aux différents Channels déclarés dans le système pour déterminer lesquels le
message doit emprunter. Ce routage est réalisé par la méthode selectChannels
d'EAISystem.
Field Summary | |
java.lang.String |
Channel
Le Channel à emprunter. |
java.lang.String |
destination
La destination du message. |
java.lang.String |
msgType
Le type du message. |
java.lang.String |
source
La source du message. |
boolean |
sync
Vrai si le message doit être envoyé en synchrone. |
Constructor Summary | |
RouteInfos()
Constructeur par défaut. |
|
RouteInfos(org.w3c.dom.Element xml)
Constructeur depuis un élément XML. |
Method Summary | |
void |
copyTo(org.w3c.dom.Element xml)
|
void |
init(org.w3c.dom.Element xml)
Initialise l'objet à partir d'un élément XML. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public java.lang.String source
Channel
est défini.public java.lang.String destination
Channel
est défini.public java.lang.String Channel
configuration
de l'EAI. public java.lang.String msgType
Channel
est défini.public boolean sync
Constructor Detail |
public RouteInfos(org.w3c.dom.Element xml)
init(org.w3c.dom.Element)
xml
- l'élement XML.public RouteInfos()
Method Detail |
public void init(org.w3c.dom.Element xml)
<RouteInfos> <source>src</source> <destination>dest</destination> <msgType>msg type</msgType> <Channel>*</Channel> <!-- tous les Channels sir le reste est vérifié --> <sync>false</sync> <!-- true si le message est synchrone --> </RouteInfos>
xml
- public void copyTo(org.w3c.dom.Element xml)
|
Submarine project. free distribution of this software must include the opensource licence. Guénolé de Cadoudal. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |