On Fri, Jun 13, 2008 at 3:23 PM, Michael Hunger <[EMAIL PROTECTED]> wrote:
> public interface HelloWorldConfiguration extends EntityComposite
> public static class HelloWorldMixin
> implements HelloWorld, Activatable
> {
> @This
> Configuration<HelloWorldConfiguration> config;
> ....
> }
> So, because of the EntityComposite that is already implemented by the
> HWConfiguration interface the Service also must
> implement all Interfaces or have at least mixins for the interfaces needed by
> EntityComposite.
> (The problem here being Lifecycle).
> org.qi4j.spi.composite.InvalidCompositeException: No implementation found for
> method public abstract void
> org.qi4j.entity.Lifecycle.remove() in
> org.qi4j.service.ConfigurationTest$HelloWorldService
Hmmmm?? Are you sure?
The exception is saying that HelloWorldService implements Lifecycle,
and is not bitching about the HWConf.
If it is then there are two problems;
1. Wrong Exception message.
2. A bug that the composite would need to expose the Lifecycle
interface, as the Entity is an internal concern from the client
perspective.
Cheers
Niclas
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev