New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持把@IocBean标注在方法上,把@Inject标注在该方法的参数上 #1280

wendal opened this Issue Jun 27, 2017 · 0 comments


None yet
1 participant

wendal commented Jun 27, 2017

public class DaoFactory {

    public DataSource getDataSource(@Inject("refer:conf") PropertiesProxy pp) {
             return ...;

    public Dao getDao(DataSource dataSource) {
             return new NutDao(dataSource);

@wendal wendal added the Ioc label Jun 27, 2017

@wendal wendal added this to the 1.r.62 milestone Jun 27, 2017

@wendal wendal closed this in 4a535b9 Jun 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment