class EhcacheWebServiceEndpoint {

    @WebMethod
    public List getKeys(String cacheName) throws IllegalStateException, CacheException {
        net.sf.ehcache.Cache cache = lookupCache(cacheName);
        return cache.getKeys();
    }

}