>
> Stanislav pointed out that you need uow.complete() before the indexing
> picks up the changes. But if this is the actual code that should still
> be the case. Question is how the Indexing subsystem is assembled.
>
> Niclas Hedhman, Software Developer
> http://www.qi4j.org - New Energy for Java
>

I found out just one indexing subsytem.

I've used RdfMemoryStoreAssembler.


So in my test I overrided assemple method:

    @Override
    public void assemble(ModuleAssembly module) throws AssemblyException
    {
        new RdfMemoryStoreAssembler().assemble(module);

        // Entity store
        module.addServices( MemoryEntityStoreService.class,
UuidIdentityGeneratorService.class )
            .visibleIn(Visibility.application )
            .instantiateOnStartup();


        module.addEntities(Company.class);
        module.addServices(
                CompanyService.class);

    }


So that all. Was it correct? Still have no comanies returned.


Thanks for your help.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to