net.sf.ashkay
Interface ObjectFactory

All Known Subinterfaces:
LazyObjectFactory

public interface ObjectFactory

ObjectFactory is the factory for creating objects used by the ObjectCache. Implementations of ObjectFactories will need to exist for each type of object to be cached.

Author:
Dave Brown
See Also:
ObjectCache

Method Summary
 java.lang.Object createObjectFor(java.lang.Object key, java.lang.Object data)
           
 

Method Detail

createObjectFor

public java.lang.Object createObjectFor(java.lang.Object key,
                                        java.lang.Object data)
                                 throws CreationException
Throws:
CreationException


Copyright © 2004 . All Rights Reserved.