|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectraccoon.tibco.tibrv.badhnati.ae.AbsParser
raccoon.tibco.tibrv.badhnati.ae.MessageToJava
public class MessageToJava
Converts a valid IMessage instance into a java bean. The IMessage instance must be a valid TIB/Rendezvous message in the AE v3.0 format.
| Field Summary |
|---|
| Fields inherited from class raccoon.tibco.tibrv.badhnati.ae.AbsParser |
|---|
mAnalyzer, mFactory, mLog, mRepoGenerator, mUtils |
| Constructor Summary | |
|---|---|
MessageToJava()
|
|
| Method Summary | |
|---|---|
java.util.Hashtable |
extractPrefixList(IMessage pTibrvMsg)
Extracts the prefix list contained in a TibrvMsg. |
boolean |
isInvokeAdder()
Should this parser invoke the adder instead of the setter for collection methods. |
java.lang.Object |
marshal(IMessage pAeRaccoonBean)
Entry point for converting a TibrvMsg to data bean instance. |
void |
setInvokeAdder(boolean pInvokeAdder)
Defines the mutator preference method for collections. |
| Methods inherited from class raccoon.tibco.tibrv.badhnati.ae.AbsParser |
|---|
getAnalyzer, getFactory, getLog, getRepoGenerator, getUtils, setAnalyzer, setFactory, setLog, setRepoGenerator, setUtils |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageToJava()
| Method Detail |
|---|
public boolean isInvokeAdder()
true if the adder will be invoked rather than the setter.public void setInvokeAdder(boolean pInvokeAdder)
pInvokeAdder - should the adder be invoked in preference to the setter.
public java.lang.Object marshal(IMessage pAeRaccoonBean)
throws RaccoonException
pAeRaccoonBean - the TibrvMsg instance that complies to the Raccoon specification
RaccoonException - if the message/data bean isn't compliant, or if an internal component during the process
of introspecting the TIB/Rendezvous message.
public java.util.Hashtable extractPrefixList(IMessage pTibrvMsg)
throws RaccoonException
The aim of this method is to extract all the referenced packages contained within a TIB/Rendezvous message that is ActiveEnterprise compliant.
Currently this is valid for the Active Enterprise v3.0, which is also use by the TIB/Adapter SDK v4.0
pTibrvMsg - the message received from the TIB
PrefixElement elements indexed by
their id, the default id is Integer(0)
RaccoonException - if the underlying TIB/Rendezvous librairies fail or if the Raccoon Repository generator
fires an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||