Minor question...
When I developed my CobolInput Input step I designed it with
dependency injection using the Spring framework 2.5.6. I think Kettle
is at an older version. I guess I want to know if it's wrong to
upgrade to 2.5.6, and include both spring-core.jar and spring.jar. So
far I'm not seeing any affects of this. But then I haven't used
everything in Kettle yet.
Here is how I'm using Spring.
public final void configure() throws Exception {
beanFactory = new GenericApplicationContext();
XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(
beanFactory);
/**
* The underlying configuration application-context.xml is
implemented
* as a class path resource.
*/
xmlReader
.loadBeanDefinitions(new ClassPathResource(APPLICATION_CONTEXT));
/**
* Obtain the bean for the instantiated application manager
*/
this.applicationManager = (ApplicationManager) beanFactory
.getBean(APPLICATION_MANAGER_BEAN);
this.runParameters = beanFactory.getBean(RUN_PARAMETERS_BEAN);
applicationManager.setBeanFactory(beanFactory);
applicationManager.configure();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
-~----------~----~----~----~------~----~------~--~---