Search in sources :

Example 1 with RdfMemoryStoreAssembler

use of org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler in project qi4j-sdk by Qi4j.

the class PasswordDomainTest method assemble.

// END SNIPPET: domain
// START SNIPPET: assembly
@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
    // END SNIPPET: assembly
    new EntityTestAssembler().assemble(module);
    new RdfMemoryStoreAssembler().assemble(module);
    ModuleAssembly configModule = module;
    // START SNIPPET: assembly
    new StandaloneShiroAssembler().withConfig(configModule).assemble(module);
    new PasswordDomainAssembler().withConfig(configModule).assemble(module);
    module.entities(User.class);
    module.services(UserFactory.class);
    // END SNIPPET: assembly
    configModule.forMixin(ShiroIniConfiguration.class).declareDefaults().iniResourcePath().set("classpath:standalone-shiro.ini");
// START SNIPPET: assembly
}
Also used : ModuleAssembly(org.qi4j.bootstrap.ModuleAssembly) ShiroIniConfiguration(org.qi4j.library.shiro.ini.ShiroIniConfiguration) RdfMemoryStoreAssembler(org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler) StandaloneShiroAssembler(org.qi4j.library.shiro.assembly.StandaloneShiroAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler) PasswordDomainAssembler(org.qi4j.library.shiro.assembly.PasswordDomainAssembler)

Example 2 with RdfMemoryStoreAssembler

use of org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler in project qi4j-sdk by Qi4j.

the class EnvisageSample method assemble.

@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
    module.entities(CarEntity.class);
    module.entities(AnimalEntity.class);
    new RdfMemoryStoreAssembler().assemble(module);
    new EntityTestAssembler().assemble(module);
}
Also used : RdfMemoryStoreAssembler(org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler)

Example 3 with RdfMemoryStoreAssembler

use of org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler in project qi4j-sdk by Qi4j.

the class TracingTest method assemble.

public void assemble(ModuleAssembly module) throws AssemblyException {
    module.services(SomeService.class).instantiateOnStartup();
    module.services(SomeService2.class).instantiateOnStartup();
    new TracingAssembler().assemble(module);
    new EntityTestAssembler().assemble(module);
    new RdfMemoryStoreAssembler().assemble(module);
    module.services(UuidIdentityGeneratorService.class);
    module.entities(CompositeTraceRecordEntity.class);
    module.entities(EntityTraceRecordEntity.class);
    module.entities(ServiceTraceRecordEntity.class);
}
Also used : RdfMemoryStoreAssembler(org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler) TracingAssembler(org.qi4j.logging.trace.assemblies.TracingAssembler)

Example 4 with RdfMemoryStoreAssembler

use of org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler in project qi4j-sdk by Qi4j.

the class Qi173IssueTest method assemble.

public void assemble(ModuleAssembly module) throws AssemblyException {
    module.entities(CarEntity.class);
    new RdfMemoryStoreAssembler().assemble(module);
    new EntityTestAssembler().assemble(module);
}
Also used : RdfMemoryStoreAssembler(org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler)

Example 5 with RdfMemoryStoreAssembler

use of org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler in project qi4j-sdk by Qi4j.

the class PieroTest method assemble.

public void assemble(ModuleAssembly module) throws AssemblyException {
    module.entities(CarEntity.class);
    new RdfMemoryStoreAssembler().assemble(module);
    new EntityTestAssembler().assemble(module);
}
Also used : RdfMemoryStoreAssembler(org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler)

Aggregations

RdfMemoryStoreAssembler (org.qi4j.index.rdf.assembly.RdfMemoryStoreAssembler)9 EntityTestAssembler (org.qi4j.test.EntityTestAssembler)9 ModuleAssembly (org.qi4j.bootstrap.ModuleAssembly)3 PasswordDomainAssembler (org.qi4j.library.shiro.assembly.PasswordDomainAssembler)2 StandaloneShiroAssembler (org.qi4j.library.shiro.assembly.StandaloneShiroAssembler)2 ShiroIniConfiguration (org.qi4j.library.shiro.ini.ShiroIniConfiguration)2 Test (org.junit.Test)1 UnitOfWork (org.qi4j.api.unitofwork.UnitOfWork)1 SingletonAssembler (org.qi4j.bootstrap.SingletonAssembler)1 PermissionsDomainAssembler (org.qi4j.library.shiro.assembly.PermissionsDomainAssembler)1 TracingAssembler (org.qi4j.logging.trace.assemblies.TracingAssembler)1