On Mon, Dec 20, 2010 at 10:51 AM, Rickard Öberg <[email protected]> wrote:
> On 2010-12-18 14.20, Niclas Hedhman wrote:
>>
>> It happens when one Mixin is abstract, and inadvertently inherits the
>> Activatable interface, but has no implementation for it.
>
> Why would it do that?
I have one Mixin that ONLY has Activatable methods. There are more
than one usecase, but the 'current' one;
The JaxWsService sitting in a library
@Mixins( JaxWsService.JaxWsMixin.class )
public interface JaxWsService extends Activatable, ServiceComposite
{
public static abstract class JaxWsMixin
implements JaxWsService
{
which sets up the CXF TypeCreator and the Endpoint for the service.
and for 'simple' services (I have one with a single method), it just
extends JaxWsService and an abstract mixin for that method. Instead of
creating one more interface, ending up with 2 interface and one
implementation class for a single method ;-)
Cheers
--
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/24svnvk
I relax here; http://tinyurl.com/2cgsug
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev