package org.wicketstuff.datastores.hazelcast.demo;
import org.apache.wicket.pageStore.IDataStore;
import org.wicketstuff.datastores.common.app.BaseDataStoreApplication;
import org.wicketstuff.datastores.hazelcast.HazelcastDataStore;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
public class HazelcastDataStoreApplication extends BaseDataStoreApplication {
@Override
protected IDataStore createDataStore() {
HazelcastInstance instance = Hazelcast.newHazelcastInstance();
return new HazelcastDataStore(instance);
}
}