代码如下:
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class InitBizParam implements InitializingBean {
@Override
public void afterPropertiesSet() throws Exception {
// dosomething
}
}