Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.server.remote
Class ObjectMarshallerImpl

java.lang.Object
  extended byoracle.jbo.server.remote.ObjectMarshallerImpl
All Implemented Interfaces:
ObjectMarshaller
Direct Known Subclasses:
CorbaObjectMarshallerImpl, EJBObjectMarshallerImpl

public class ObjectMarshallerImpl
extends java.lang.Object
implements ObjectMarshaller


Constructor Summary
ObjectMarshallerImpl()
           
 
Method Summary
 void addException(java.lang.Exception e, int remoteObjId)
           
 int addObject(int id, java.lang.Object obj)
           
 int addObject(java.lang.Object obj)
           
protected  ResponseValues adjustMarshalApplicationModule(ApplicationModuleImpl appmodule, ResponseValues amHdl)
           
protected  PiggybackManager createPiggybackManager()
           
 RuntimeViewRowSetIteratorInfo createRowSetListener(PiggybackManager pm, RowSetIterator rv)
           
 DataCollector findOrCreateDataCollector(java.lang.Object obj)
           
 void finishedPiggybacking()
           
protected  com.sun.java.util.collections.HashMap getIdToObjectMap()
           
 java.lang.String getMarshalledTypeName(java.lang.Object obj)
           
 java.lang.Object getObject(java.lang.Object id, java.lang.Class cls)
           
protected  com.sun.java.util.collections.HashMap getObjectToIdMap()
           
 Row getRowFromHandle(java.lang.Object rsiId, int rowHdl)
           
 PiggybackManager getSvcMsgManager()
           
 int getSyncMode()
           
 boolean isCustomMarshalled(java.lang.Object obj)
           
 boolean isInWorkingSet()
           
 java.lang.Object marshal(java.lang.Object obj)
           
protected  ResponseRef marshalApplicationModule(ApplicationModuleImpl appmodule)
           
protected  ResponseRef marshalApplicationModuleInternal(ApplicationModuleImpl appmodule, int objId)
           
protected  ResponseValues marshalComponentObject(ComponentObjectImpl co)
           
protected  ResponseValues marshalComponentObjectInternal(ComponentObjectImpl co, int objId)
           
protected  ResponseValues marshalRowSet(RowSet rowset)
           
protected  ResponseValues marshalRowSetIterator(RowSetIterator rsi)
           
protected  ResponseValues marshalViewDef(ViewDefImpl viewDef)
           
protected  ResponseValues marshalViewLink(ViewLink vl)
           
protected  ResponseValues marshalViewObject(ViewObjectImpl vo)
           
 int objectId(java.lang.Object obj)
           
 void removeId(java.lang.Object idObj)
           
 void removeObject(java.lang.Object obj)
           
 void resetMarshaller()
           
 void setSvcMsgManager(PiggybackManager piggybacManager)
           
 void setSyncMode(int syncMode)
           
 void syncROT(com.sun.java.util.collections.ArrayList cliRotList, ApplicationModuleImpl am)
           
 java.lang.Object unMarshal(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectMarshallerImpl

public ObjectMarshallerImpl()
Method Detail

createPiggybackManager

protected PiggybackManager createPiggybackManager()

setSvcMsgManager

public void setSvcMsgManager(PiggybackManager piggybacManager)

getSvcMsgManager

public PiggybackManager getSvcMsgManager()

addException

public void addException(java.lang.Exception e,
                         int remoteObjId)

marshalViewLink

protected ResponseValues marshalViewLink(ViewLink vl)

marshalViewDef

protected ResponseValues marshalViewDef(ViewDefImpl viewDef)

marshalViewObject

protected ResponseValues marshalViewObject(ViewObjectImpl vo)

marshalComponentObject

protected ResponseValues marshalComponentObject(ComponentObjectImpl co)

marshalComponentObjectInternal

protected ResponseValues marshalComponentObjectInternal(ComponentObjectImpl co,
                                                        int objId)

marshalRowSet

protected ResponseValues marshalRowSet(RowSet rowset)

createRowSetListener

public RuntimeViewRowSetIteratorInfo createRowSetListener(PiggybackManager pm,
                                                          RowSetIterator rv)

marshalRowSetIterator

protected ResponseValues marshalRowSetIterator(RowSetIterator rsi)

marshalApplicationModule

protected ResponseRef marshalApplicationModule(ApplicationModuleImpl appmodule)

adjustMarshalApplicationModule

protected ResponseValues adjustMarshalApplicationModule(ApplicationModuleImpl appmodule,
                                                        ResponseValues amHdl)

marshalApplicationModuleInternal

protected ResponseRef marshalApplicationModuleInternal(ApplicationModuleImpl appmodule,
                                                       int objId)

marshal

public java.lang.Object marshal(java.lang.Object obj)
Specified by:
marshal in interface ObjectMarshaller

syncROT

public void syncROT(com.sun.java.util.collections.ArrayList cliRotList,
                    ApplicationModuleImpl am)

unMarshal

public java.lang.Object unMarshal(java.lang.Object obj)
Specified by:
unMarshal in interface ObjectMarshaller

getIdToObjectMap

protected com.sun.java.util.collections.HashMap getIdToObjectMap()

getObjectToIdMap

protected com.sun.java.util.collections.HashMap getObjectToIdMap()

getObject

public java.lang.Object getObject(java.lang.Object id,
                                  java.lang.Class cls)

getRowFromHandle

public Row getRowFromHandle(java.lang.Object rsiId,
                            int rowHdl)

objectId

public int objectId(java.lang.Object obj)

addObject

public int addObject(java.lang.Object obj)

addObject

public int addObject(int id,
                     java.lang.Object obj)

removeObject

public void removeObject(java.lang.Object obj)

removeId

public void removeId(java.lang.Object idObj)

resetMarshaller

public void resetMarshaller()
Specified by:
resetMarshaller in interface ObjectMarshaller

finishedPiggybacking

public void finishedPiggybacking()
Specified by:
finishedPiggybacking in interface ObjectMarshaller

isCustomMarshalled

public boolean isCustomMarshalled(java.lang.Object obj)
Specified by:
isCustomMarshalled in interface ObjectMarshaller

getMarshalledTypeName

public java.lang.String getMarshalledTypeName(java.lang.Object obj)
Specified by:
getMarshalledTypeName in interface ObjectMarshaller

findOrCreateDataCollector

public DataCollector findOrCreateDataCollector(java.lang.Object obj)
Specified by:
findOrCreateDataCollector in interface ObjectMarshaller

setSyncMode

public void setSyncMode(int syncMode)
Specified by:
setSyncMode in interface ObjectMarshaller

getSyncMode

public int getSyncMode()
Specified by:
getSyncMode in interface ObjectMarshaller

isInWorkingSet

public boolean isInWorkingSet()
Specified by:
isInWorkingSet in interface ObjectMarshaller

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.