001 package biz.hammurapi.configx; 002 003 /** 004 * Context in which object type is the key. 005 * @author Pavel 006 * 007 */ 008 public interface TypeContext { 009 010 /** 011 * @param <T> 012 * @param targetClass 013 * @return Context object of required type. 014 */ 015 <T> T get(Class<T> targetClass); 016 }