class EhcacheWebServiceEndpoint {

    @WebMethod
    public boolean remove(String cacheName, String key) throws CacheException {
        net.sf.ehcache.Cache cache = lookupCache(cacheName);
        return cache.remove(key);
    }

}