ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: How to get Spring context
Date Thu, 13 Aug 2015 21:21:21 GMT
You can use @IgniteSpringApplicationContextResource annotation to inject app
context into tasks, jobs, closures, entry processor and other entities. For

private static class MyRunnable implements IgniteRunnable {
    private ApplicationContext appCtx;

    @Override public void run() {
        // TODO

Will this work for you?


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-get-Spring-context-tp943p961.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message