raccoon.tibco.tibrv.api
Interface ITibrvMsgParser

All Known Implementing Classes:
TibrvAeParser

public interface ITibrvMsgParser

The specialization of the BadhnAti contract for TIB/Rendezvous using the AE 3.0 format.

Since:
Raccoon v0.7
Version:
$Id: ITibrvMsgParser.java,v 1.3 2003/07/01 19:19:56 crouvrais Exp $
Author:
Cedric ROUVRAIS

Method Summary
 java.lang.Object bindFrom(com.tibco.tibrv.TibrvMsg pTibrvMsg)
          Converts the provided IBusMessage instance into the corresponding java bean instance.
 com.tibco.tibrv.TibrvMsg bindTo(java.lang.Object pJavaBean)
          Converts a java bean into a valid TIB/Rendezvous message.
 

Method Detail

bindFrom

java.lang.Object bindFrom(com.tibco.tibrv.TibrvMsg pTibrvMsg)
                          throws RaccoonException
Converts the provided IBusMessage instance into the corresponding java bean instance.

Parameters:
pTibrvMsg - the TIB/Rendezvous message containing a serialized java bean.
Returns:
the deserialized java bean.
Throws:
RaccoonException - if this component isn't loaded.

bindTo

com.tibco.tibrv.TibrvMsg bindTo(java.lang.Object pJavaBean)
                                throws RaccoonException,
                                       java.lang.IllegalArgumentException
Converts a java bean into a valid TIB/Rendezvous message.

Parameters:
pJavaBean - the java bean instance to convert.
Returns:
the TIB/Rendezvous message.
Throws:
RaccoonException - if the conversion process fails.
java.lang.IllegalArgumentException - if pUseAeFormat is false because this isn't implemented yet.


Copyright null null. All Rights Reserved.