Package org.copperengine.spring
Class SpringDependencyInjector
- java.lang.Object
-
- org.copperengine.core.AbstractDependencyInjector
-
- org.copperengine.spring.SpringDependencyInjector
-
- All Implemented Interfaces:
org.copperengine.core.DependencyInjector,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SpringDependencyInjector extends org.copperengine.core.AbstractDependencyInjector implements org.springframework.context.ApplicationContextAwareConnects SPRING to COPPER. Enables COPPER to inject dependencies into workflow instances using a spring container/context.
-
-
Constructor Summary
Constructors Constructor Description SpringDependencyInjector()SpringDependencyInjector(org.springframework.context.ApplicationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectgetBean(java.lang.String beanId)java.lang.StringgetType()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceorg.copperengine.core.DependencyInjector
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getBean
protected java.lang.Object getBean(java.lang.String beanId)
- Specified by:
getBeanin classorg.copperengine.core.AbstractDependencyInjector
-
-