Yeah, LifeCycleBean is what exactly what I'm looking for, the solution is
brilliant, thank you.
<property name="lifecycleBeans">
<list>
<bean class="com.debug.CustomizedLifeCycleBean"/>
</list>
</property>
package com.debug;
public class CustomizedLifeCycleBean implements LifecycleBean{
@Override
public void onLifecycleEvent(LifecycleEventType evt) throws
IgniteException
{
// TODO Auto-generated method stub
if (evt == LifecycleEventType.AFTER_NODE_START) {
Ignite ignite = Ignition.ignite();
IgniteCache<String, Person>
store=ignite.cache("personCache");
store.loadCache(null, 200);
System.out.println("sl-loaded");
}
}
}
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/