public interface IProxyManagerForObjectIO
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) |
ClassInfo classInfoOfObject(Object object) throws ProxyException
ProxyException
ObjectAndPersistInfo newInstanceNoConstruction(ClassInfo objectClassInfo, StorageInfo storageInfo, IObjectIOManagerForProxyObjectIO objectIOManager, DataRecordIdentifier dataRecordIdentifier, boolean persisted) throws ProxyException
objectClassInfo
- the class of object which for a proxy is to createdstorageInfo
- 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 persistedProxyException
Object newInstanceConstruct(ClassInfo objectClassInfo, Class<?>[] parameterTypes, Object[] initargs, StorageInfo storageInfo, IObjectIOManagerForProxyObjectIO objectIOManager, DataRecordIdentifier dataRecordIdentifier, boolean persisted) throws ProxyException
parameterTypes
parameter is an array of
Class
objects that identify the constructor's formal
parameter types, in declared order.objectClassInfo
- 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
)storageInfo
- 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 persistedProxyException
Object newInstanceConstruct(ClassInfo objectClassInfo, StorageInfo storageInfo, IObjectIOManagerForProxyObjectIO objectIOManager, DataRecordIdentifier dataRecordIdentifier, boolean persisted) throws ProxyException
ProxyException
void unloadAndAssociateToCurrentSession(Object object, IObjectIOManagerForObjectIO objectIOManager) throws ProxyException
ProxyException
ClassInfoFactory getClassInfoFactory()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.