Ok...

Look at the Envisage tool. You need to 'preserve' the
ApplicationDescriptor from the Assembly/Bootstrap phase, from which
you obtain layers(), and from each you can obtain the modules() and so
forth, down to the gritty details of fragment's methods and other
model details.

Normally, Entity Stores doesn't pro-actively tries to know about "all
types in advance", but resolves it on-the-fly in which case you don't
need to do this. I think the Neo4j and SQL entity stores are both
doing this.

Cheers
Niclas

On Fri, Jan 27, 2012 at 12:19 AM, Tibor Mlynarik
<[email protected]> wrote:
> Sorry, I wasn't clear what I need.
> I need access to list of all registered ValueComposite and EntityComposite 
> types.
> More precisely all types that entity store can be asked to store in multi 
> layer setup.
> I am on 2.0 branch and I don't see such methods in Qi4j class.
>
> thanks,
>
> Tibor
>
>
> On Jan 26, 2012, at 3:58 PM, Niclas Hedhman wrote:
>
>> In 1.4 (IIRC), the stuff you are likely to be looking for is available
>> via the Qi4jSPI class, and in 2.0 branch a lot of those have been
>> promoted up to Qi4j class. Both are injectable via @Structure scope.
>>
>>
>> Cheers
>> Niclas
>>
>> On Wed, Jan 25, 2012 at 10:14 PM, Tibor Mlynarik
>> <[email protected]> wrote:
>>> Hi,
>>>
>>> I want to check/create schema ( for entities and values) in my entity store 
>>> implementation during activation phase.
>>>
>>> I have found that I can get this information from ModuleInstance. But only 
>>> entities access is public via ModuleInstance.visibleEntities() .
>>> Unfortunately ModuleInstance.visibleValues() has package visibility, is it 
>>> on purpose ?
>>> Or is there other way to get this information ?
>>>
>>> Thanks,
>>>
>>> Tibor Mlynarik
>>> _______________________________________________
>>> qi4j-dev mailing list
>>> [email protected]
>>> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>>
>>
>>
>> --
>> Niclas Hedhman, Software Developer
>> http://www.qi4j.org - New Energy for Java
>>
>> I live here; http://tinyurl.com/3xugrbk
>> I work here; http://tinyurl.com/6a2pl4j
>> I relax here; http://tinyurl.com/2cgsug
>>
>> _______________________________________________
>> qi4j-dev mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev



-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/6a2pl4j
I relax here; http://tinyurl.com/2cgsug

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

Reply via email to