public class DependencyInjector extends Object
public static void inject(Object obj, javax.persistence.EntityManager em, boolean injectGenerators)
During the injection, new instances of DAO are created
obj - The object to get all the fields that must be injectedem - Entity manager to inject across all the object graphinjectGenerators - Define if the data generators must be injected or notCopyright © 2015. All rights reserved.