Re: Spring Bean Injection To IgniteRunnable Implementation

2017-08-22 Thread sijusuresh
I was trying to get an External Spring Context. IgniteSpring.start() helped. Thank You -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Spring-Bean-Injection-To-IgniteRunnable-Implementation-tp16275p16363.html Sent from the Apache Ignite Users mailing list

Re: Spring Bean Injection To IgniteRunnable Implementation

2017-08-18 Thread vkulichenko
class which allows to provide external context explicitly. BTW, IgnitionEx is internal class, it is not supposed to be used in your code. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Spring-Bean-Injection-To-IgniteRunnable-Implementation-tp16275p16307.html

Re: Spring Bean Injection To IgniteRunnable Implementation

2017-08-18 Thread sijusuresh
gniteSchedulerService()); My Ignite Service class execute method is @Override public void execute(ServiceContext ctx) throws Exception { SchedulerFuture fut = ignite.scheduler().scheduleLocal(new FetchMetadataTask(appContext), "*/5 * * * *"); } -- View this message in con

Re: Spring Bean Injection To IgniteRunnable Implementation

2017-08-18 Thread vkulichenko
How do you start the server node where this runnable is executed? Does the configuration contains the required bean? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Spring-Bean-Injection-To-IgniteRunnable-Implementation-tp16275p16299.html Sent from the

Spring Bean Injection To IgniteRunnable Implementation

2017-08-17 Thread sijusuresh
d run() { MetaDataService metadataService = appCtx.getBean(MetaDataService.class); log.debug("FetchMetadataTask $MetaDataService"+metadataService); } } -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Spring-Be