[Figleaf-developer] Questions regarding ObjectManager
Status: Alpha
Brought to you by:
steckman
|
From: <sam...@ma...> - 2004-07-04 18:34:31
|
Firstly, is this better off being named something like PersistenceLayer?
Secondly, there seems to be some overlapping methods, for example (this from my
TransientObjectManager):
public Informative newInstance(Class clazz) {
return informativeFactory.createInformative(clazz.newInstance());
}
public Informative introspect(Object obj) {
return factory.createInformative(obj);
}
Are both needed? I'm keen not to put in a requirement for methods to be
implemented that we might not even end up using.
As for the method:
Informative getObject(Class clazz, Serializable id);
Do we need this? Surely this should be handled by whatever query mechanism we use.
sam
|