Reply inline.

On Wed, Feb 9, 2011 at 14:03, Niclas Hedhman <[email protected]> wrote:

> On Wed, Feb 9, 2011 at 1:52 PM, Edward Yakop <[email protected]>
> wrote:
> > Bunch of questions:
> >
> > What is the advantage of using Class instead of the current mechanism?
>
> Often we are faced of having external projects as class hierarchies
> instead of interfaces. It is useful to be able to extend some of these
> with Qi4j features.
>

Ok.

> Would deep graph object supported?
>
> We discussed this a bit. Can't recall what the conclusion was... I
> think we said that it is possible to override newInstance() in the
> Frgament Classloader to intercept the 'new' keyword and potentially
> support object graphs.
>

Intercepting new?!
Similar to 
this<http://static.springsource.org/spring/docs/3.0.5.RELEASE/reference/aop.html#aop-aj-ltw-environments>
?
Although Spring support both load time weaving and compile weaving.


> > Transient within another transient?
>
> Isn't that the question above?
>

Yeah :), I just said that line just in case if it's ambiguous.


>
> > How do I declare properties and associations?
>
> Associations are kind of out of the question, unless providing your
> own implementation, as the AssociationMixin sits on the
> EntityComposite.
>
> Properties; Define them in an interface and use @This.
>
> public interface AdditionalState {
>    Property<String> category();
> }
>
> public class MyFunkyExtension extends SomeCoolProjectClass
> {
>    @This private AdditionalState moreState;
> }
>

Ok.

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

Reply via email to