Package generic.cache
Interface BasicFactory<T>
- All Known Implementing Classes:
- CountingBasicFactory
public interface BasicFactory<T>
- 
Method SummaryModifier and TypeMethodDescriptioncreate()Creates an instance ofBasicFactory.voidCalled when clients are finished with the given item and it should be disposed.
- 
Method Details- 
createCreates an instance ofBasicFactory.- Returns:
- the new instance of T
- Throws:
- Exception- any Exception encountered during creation
 
- 
disposeCalled when clients are finished with the given item and it should be disposed.- Parameters:
- t- the item to dispose.
 
 
-