Class Pointcuts

java.lang.Object
ubic.gemma.persistence.util.Pointcuts

public class Pointcuts extends Object
General-purpose pointcuts to recognize CRUD operations etc.

For help with expressions see Chapter 6. Aspect Oriented Programming with Spring.

Author:
paul
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A public method.
    void
    Methods that create new objects in the persistent store
    void
    A DAO method, public and within a class annotated with Repository.
    void
    Methods that remove items in the persistent store
    void
    Matches stuff within Gemma package.
    void
    Methods that load (read) from the persistent store
    void
    CRUD-like method that modifies the database (i.e.
    void
    A method that can be retried, public and annotated with Retryable.
    void
    A retryable or transactional service method.
    void
    This is a specially behaved method that create transient entities or save persistent one.
    void
    A public method defined in a service.
    void
    A transactional method, public and annotated with Transactional.
    void
    Methods that update items in the persistent store

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Pointcuts

      public Pointcuts()
  • Method Details

    • inGemma

      public void inGemma()
      Matches stuff within Gemma package.
    • anyPublicMethod

      public void anyPublicMethod()
      A public method.
    • daoMethod

      public void daoMethod()
      A DAO method, public and within a class annotated with Repository.
    • modifier

      public void modifier()
      CRUD-like method that modifies the database (i.e. not a read operation).
    • loader

      public void loader()
      Methods that load (read) from the persistent store
    • creator

      public void creator()
      Methods that create new objects in the persistent store
    • updater

      public void updater()
      Methods that update items in the persistent store
    • saver

      public void saver()
      This is a specially behaved method that create transient entities or save persistent one.
      See Also:
      • invalid reference
        ubic.gemma.persistence.service.BaseDao#save(Object)
    • deleter

      public void deleter()
      Methods that remove items in the persistent store
    • serviceMethod

      public void serviceMethod()
      A public method defined in a service.
    • transactionalMethod

      public void transactionalMethod()
      A transactional method, public and annotated with Transactional.
    • retryableMethod

      public void retryableMethod()
      A method that can be retried, public and annotated with Retryable.
    • retryableOrTransactionalServiceMethod

      public void retryableOrTransactionalServiceMethod()
      A retryable or transactional service method.