public class SerializerProxyManager extends Object implements IProxyManagerForObjectIO
| Constructor and Description |
|---|
SerializerProxyManager(ClassInfoFactory classInfoFactory) |
| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
classInfoOfObject(Object object) |
ClassInfoFactory |
getClassInfoFactory() |
Object |
newInstanceConstruct(ClassInfo objectClassInfo,
Class<?>[] parameterTypes,
Object[] initargs,
StorageInfo storageInfo,
IObjectIOManagerForProxyObjectIO objectIOManager,
DataRecordIdentifier dataRecordIdentifier,
boolean persisted)
create a new proxy instance constructing object
The parameterTypes parameter is an array of
Class objects that identify the constructor's formal
parameter types, in declared order. |
Object |
newInstanceConstruct(ClassInfo objectClassInfo,
StorageInfo storageInfo,
IObjectIOManagerForProxyObjectIO objectIOManager,
DataRecordIdentifier dataRecordIdentifier,
boolean persisted) |
ObjectAndPersistInfo |
newInstanceNoConstruction(ClassInfo objectClassInfo,
StorageInfo storageInfo,
IObjectIOManagerForProxyObjectIO objectIOManager,
DataRecordIdentifier dataRecordIdentifier,
boolean persisted)
create a new proxy instance for a class.
|
void |
unloadAndAssociateToCurrentSession(Object object,
IObjectIOManagerForObjectIO objectIOManager) |
public SerializerProxyManager(ClassInfoFactory classInfoFactory)
public ClassInfo classInfoOfObject(Object object) throws ProxyException
classInfoOfObject in interface IProxyManagerForObjectIOProxyExceptionpublic ClassInfoFactory getClassInfoFactory()
getClassInfoFactory in interface IProxyManagerForObjectIOpublic ObjectAndPersistInfo newInstanceNoConstruction(ClassInfo objectClassInfo, StorageInfo storageInfo, IObjectIOManagerForProxyObjectIO objectIOManager, DataRecordIdentifier dataRecordIdentifier, boolean persisted) throws ProxyException
IProxyManagerForObjectIOnewInstanceNoConstruction in interface IProxyManagerForObjectIOobjectClassInfo - the class of object which for a proxy is to createdobjectIOManager - object input/output manager for state reading from filedataRecordIdentifier - data record identifier of the instance to create, may be null
if not definedpersisted - true if object to be persistedProxyExceptionpublic Object newInstanceConstruct(ClassInfo objectClassInfo, Class<?>[] parameterTypes, Object[] initargs, StorageInfo storageInfo, IObjectIOManagerForProxyObjectIO objectIOManager, DataRecordIdentifier dataRecordIdentifier, boolean persisted) throws ProxyException
IProxyManagerForObjectIOparameterTypes parameter is an array of
Class objects that identify the constructor's formal
parameter types, in declared order.newInstanceConstruct in interface IProxyManagerForObjectIOobjectClassInfo - the class of object which for a proxy is to createdparameterTypes - the parameter array.initargs - array of objects to be passed as arguments to the constructor
call; values of primitive types are wrapped in a wrapper
object of the appropriate type (e.g. a float in a
Float)objectIOManager - object input/output manager for state reading from filedataRecordIdentifier - data record identifier of the instance to create, may be null
if not definedpersisted - true if object to be persistedProxyExceptionpublic Object newInstanceConstruct(ClassInfo objectClassInfo, StorageInfo storageInfo, IObjectIOManagerForProxyObjectIO objectIOManager, DataRecordIdentifier dataRecordIdentifier, boolean persisted) throws ProxyException
newInstanceConstruct in interface IProxyManagerForObjectIOProxyExceptionpublic void unloadAndAssociateToCurrentSession(Object object, IObjectIOManagerForObjectIO objectIOManager) throws ProxyException
unloadAndAssociateToCurrentSession in interface IProxyManagerForObjectIOProxyExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.