public class SpringResourceInjector extends Object implements ResourceInjector, org.springframework.context.ApplicationContextAware
@Autowired or JSR-250's
jakarta.annotation.Resource.
Note: make sure that the Spring context also declares <context:annotation-config /> or an
AutowiredAnnotationBeanPostProcessor. See the Spring documentation for more information.| Constructor and Description |
|---|
SpringResourceInjector() |
| Modifier and Type | Method and Description |
|---|---|
void |
injectResources(Object saga)
Inject required resources into the given
saga. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void injectResources(Object saga)
ResourceInjectorsaga.injectResources in interface ResourceInjectorsaga - The saga to inject resources intopublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2010–2023. All rights reserved.