You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DataGeneratorCacheAspect.java 412B

12345678910111213
  1. //package info.unterstein.hagen.moderne.ea6.a3;
  2. /**
  3. * An extension of the generic cache for the concrete use case of caching the
  4. * {@link DataGenerator}.
  5. *
  6. * @author <a href="mailto:unterstein@me.com">Johannes Unterstein</a>
  7. */
  8. public aspect DataGeneratorCacheAspect extends CacheAspect<Integer> {
  9. public pointcut cachePoint(Object key) : call(Integer
  10. DataGenerator.getData(Integer)) && args(key);
  11. }