package nl.siegmann.ehcachetag.cachekeyfactories;

import javax.servlet.jsp.PageContext;

public class NoCacheKeyFactory extends AbstractPageCacheKeyFactory {

	@Override
	public Object createCacheKey(Object tagCacheKey, PageContext pageContext) {
		System.out.println(this.getClass().getName() + " no key");
		return null;
	}
}

package nl.siegmann.ehcachetag.cachekeyfactories;

import javax.servlet.jsp.PageContext;

/**
 * Always returns null for cacheKey.
 * 
 * @author paul
 *
 */
public class NoCacheKeyFactory extends AbstractPageCacheKeyFactory {

	@Override
	public Object createCacheKey(Object tagCacheKey, PageContext pageContext) {
		return null;
	}
}

remove debug message