code: public <T>  T get(String name, Class<T> type){
          Object o = context.get(name);
          return o == null? null : (T) o;
      }
docs: Retrieves object by name. Convenience generic method.
  
  @param name name of object
  @param type type requested.
  @return object by name