Property Injection
For property injection, add the net.hasor.core.Inject annotation to the field that needs to be injected.
Example
public class TradeService {
@Inject
private PayService payService;
public boolean foo(){
...
}
}
public class PayService {
...
}