1 忽略给定接口的自动装配 比如说beanFactory.ignoreDdpendency(EnvironmentAware.class),则实现EnvironmentAware的类不能自动装配,但不包括@autowired这种强制的