List of usage examples for org.apache.commons.collections.functors InstantiateFactory InstantiateFactory
public InstantiateFactory(Class classToInstantiate)
From source file:gov.nih.nci.cabig.caaers.domain.TreatmentInformation.java
/** * Creates the lazy course agents.// w ww. ja v a2 s . co m */ @SuppressWarnings("unchecked") private void createLazyCourseAgents() { this.courseAgents = LazyList.decorate(getCourseAgentsInternal(), new InstantiateFactory(CourseAgent.class)); }