Search in sources :

Example 1 with PetiteProxettaContainer

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);
}
Also used : ProxyProxetta(jodd.proxetta.impl.ProxyProxetta) PetiteConfig(jodd.petite.PetiteConfig) PetiteProxettaContainer(jodd.proxetta.petite.data.PetiteProxettaContainer) Before(org.junit.Before)

Aggregations

PetiteConfig (jodd.petite.PetiteConfig)1 ProxyProxetta (jodd.proxetta.impl.ProxyProxetta)1 PetiteProxettaContainer (jodd.proxetta.petite.data.PetiteProxettaContainer)1 Before (org.junit.Before)1