org.objectweb.perseus.persistence.api

Interface MemoryInstanceManager

public interface MemoryInstanceManager

It defines a memory instance manager able to create memory instance since an identifier. The method releaseInstance permit to use a Pool of memory instance manager.

Author:
S.Chassande-Barrioz, P.Dechamboux

Method Summary

Object
newInstance(Object oid, ConnectionHolder context)
It creates an instance since an identifier

Method Details

newInstance

public Object newInstance(Object oid,
                          ConnectionHolder context)
            throws PersistenceException
It creates an instance since an identifier

Parameters:
oid - is the identifier of the futur object
context - can be used by the naming to access to the support

Returns:
a memory instance

Throws:
PersistenceException - if an error occured during the instanciation of the memory instance.


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.