Something along the lines of this:
{code} public interface SearchInitializer { /** * @return Object if object is initialized, null if should be handled outside of this */ public Object find initialize (Serializable id); /** * callback method to notify about the initialization of an object outside * of this initializer. */ public void initializedOutside(Serializable id, Object value); } {code}
|