Any hints as to how that exactly works?
I wrote a service interface,
public interface MyInterface
{
}
implemented it and annotated it with @EagerLoad
@EagerLoad
public class MyInterfaceImpl implemets MyInterface
{
public MyInterfaceImpl(SpringService springService)
{
doSomeStuff(springService);
}
private void doSomeStuff(SpringService springService);
}
and in the app module wrote:
@Inject
@Service("SpringService")
private SpringService springService; //will be reused in other services
public MyInterface buildMyInterface(final Log log)
{
log.debug("Creating service MyInterface");
return new MyInterfaceImpl(springService); <=
}
Still... when debugging with Tomcat the buildMyInterface method isn't
executed, in contrast to all other methods (like the example timing filter
from the archetype). I am a bit lost at that.
Regards,
Otho