Search in sources :

Example 1 with Jackson2ObjectPersisterFactory

use of com.octo.android.robospice.persistence.springandroid.json.jackson2.Jackson2ObjectPersisterFactory in project robospice by stephanenicolas.

the class Jackson2SpringAndroidSpiceService method createCacheManager.

@Override
public CacheManager createCacheManager(Application application) throws CacheCreationException {
    CacheManager cacheManager = new CacheManager();
    cacheManager.addPersister(new Jackson2ObjectPersisterFactory(application));
    return cacheManager;
}
Also used : Jackson2ObjectPersisterFactory(com.octo.android.robospice.persistence.springandroid.json.jackson2.Jackson2ObjectPersisterFactory) CacheManager(com.octo.android.robospice.persistence.CacheManager)

Example 2 with Jackson2ObjectPersisterFactory

use of com.octo.android.robospice.persistence.springandroid.json.jackson2.Jackson2ObjectPersisterFactory in project ETSMobile-Android2 by ApplETS.

the class MyJackSpringAndroidSpiceService method createCacheManager.

@Override
public CacheManager createCacheManager(Application application) throws CacheCreationException {
    CacheManager cacheManager = new CacheManager();
    cacheManager.addPersister(new Jackson2ObjectPersisterFactory(application));
    return cacheManager;
}
Also used : Jackson2ObjectPersisterFactory(com.octo.android.robospice.persistence.springandroid.json.jackson2.Jackson2ObjectPersisterFactory) CacheManager(com.octo.android.robospice.persistence.CacheManager)

Aggregations

CacheManager (com.octo.android.robospice.persistence.CacheManager)2 Jackson2ObjectPersisterFactory (com.octo.android.robospice.persistence.springandroid.json.jackson2.Jackson2ObjectPersisterFactory)2