Hi,
I have a problem implementing one service:
Example code:
abstract class AbstractClass{
public AbstractClass(String input){
...
}
}
@Contract
interface Foo{
public void doIt();
}
@Service
public class ServiceThatExtends extends AbstractClass implements Foo{
ServiceThatExtends(String input){
super(input);
}
public void doIt(){
}
}
In this case we don not use the default contructor and I get a Unsatisfied dependency exception, but why do we always have to use the default constructor in Services?
[Message sent by forum member 'antsh' (antsh)]
http://forums.java.net/jive/thread.jspa?messageID=268016