public class ObjectStructureLoader
extends java.lang.Object
| Constructor and Description |
|---|
ObjectStructureLoader(MosInfo mosInfo,
boolean preview,
java.lang.String messageType)
Construct the set
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the JMS related resources.
|
void |
commit()
commit Queue Transaction.
|
void |
processData(byte[] data,
int intCurrentNoun,
int recStart,
int recEnd,
MboRemote npMbo,
MXTransaction trans)
Process the incoming Data.
|
void |
setUserInfo(UserInfo userInfo) |
public ObjectStructureLoader(MosInfo mosInfo, boolean preview, java.lang.String messageType) throws MXException
mosInfo - Object Struture info object.preview - boolean indicating whether it is a UI preview mode or not.messageType - message typeMXException - MAXIMO exceptionjava.rmi.RemoteException - Remote Exceptionpublic void setUserInfo(UserInfo userInfo)
public void commit()
throws MXException
MXExceptionpublic void close()
public void processData(byte[] data,
int intCurrentNoun,
int recStart,
int recEnd,
MboRemote npMbo,
MXTransaction trans)
throws MXException,
java.rmi.RemoteException
data - Xml DataintCurrentNoun - the current noun (or) split noun\npMbo - Non-persistent Mbo which is used in Preview case to show the stats on data processingMXExceptionjava.rmi.RemoteException