Posts

Showing posts from November, 2011

Useful Abstract Methods

This is somewhat older and useful set of code, but i can't remember where it was... may be when i was using ehCache for data pre-loading in says at MIT. /** * Get Object Type * * @return */ public Class getObjectType() { return (this != null ? this.getClass() : CacheManagerEventListener.class); }