com.terracotta.management.ApplicationEhCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
/*
* All content copyright (c) 2003-2012 Terracotta, Inc., except as may otherwise be noted in a separate copyright
* notice. All rights reserved.
*/
package com.terracotta.management;
import java.util.HashSet;
import java.util.Set;
import org.terracotta.management.application.DefaultApplication;
public class ApplicationEhCache extends DefaultApplication {
public Set> getClasses() {
Set> s = new HashSet>(super.getClasses());
s.add(net.sf.ehcache.management.resource.services.ElementsResourceServiceImpl.class);
s.add(net.sf.ehcache.management.resource.services.CacheStatisticSamplesResourceServiceImpl.class);
s.add(net.sf.ehcache.management.resource.services.CachesResourceServiceImpl.class);
s.add(net.sf.ehcache.management.resource.services.CacheManagersResourceServiceImpl.class);
s.add(net.sf.ehcache.management.resource.services.CacheManagerConfigsResourceServiceImpl.class);
s.add(net.sf.ehcache.management.resource.services.CacheConfigsResourceServiceImpl.class);
s.add(net.sf.ehcache.management.resource.services.AgentsResourceServiceImpl.class);
s.add(net.sf.ehcache.management.resource.services.QueryResourceServiceImpl.class);
return s;
}
}