use of jodd.proxetta.petite.data.PetiteProxettaContainer in project jodd by oblac.
the class WireBeansWithProxettaTest method setupPetiteContainer.
@Before
public void setupPetiteContainer() {
PetiteConfig petiteConfig = PetiteHelper.createPetiteConfig();
ProxyProxetta proxyProxetta = PetiteHelper.createProxyProxetta();
petiteContainer = new PetiteProxettaContainer(proxyProxetta, petiteConfig);
//AutomagicPetiteConfigurator petiteConfigurator = new AutomagicPetiteConfigurator();
//petiteConfigurator.configure(petiteContainer);
petiteContainer.registerPetiteBean(Bean1.class);
petiteContainer.registerPetiteBean(Bean2.class);
}
Aggregations