org.atmosphere.spring.SpringInjector的位置是什么

org.atmosphere.spring.SpringInjector的位置是什么,spring,atmosphere,Spring,Atmosphere,顾名思义,这个类应该将一些bean从spring上下文注入到某个地方。但是它是如何工作的呢?我找不到这方面的例子 基本上,我需要将spring上下文中的一些模型服务注入到资源类中。这个类可以帮助我吗?根据的源代码,您应该能够“注入”(@Autowired)您的@Controllers或Services(或spring范围内的任何其他内容)中的任何大气资源。因此,我认为您不能使用SpringInjector在大气资源中注入/自动连接您的服务

顾名思义,这个类应该将一些bean从spring上下文注入到某个地方。但是它是如何工作的呢?我找不到这方面的例子


基本上,我需要将spring上下文中的一些模型服务注入到资源类中。这个类可以帮助我吗?

根据的源代码,您应该能够“注入”(@Autowired)您的@Controllers或Services(或spring范围内的任何其他内容)中的任何大气资源。因此,我认为您不能使用SpringInjector在大气资源中注入/自动连接您的服务