Package ubic.gemma.persistence.util
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 Pointcuts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
anyPublicMethod()
A public method.void
creator()
Methods that create new objects in the persistent storevoid
daoMethod()
A DAO method, public and within a class annotated withRepository
.void
deleter()
Methods that remove items in the persistent storevoid
inGemma()
Matches stuff within Gemma package.void
loader()
Methods that load (read) from the persistent storevoid
modifier()
CRUD-like method that modifies the database (i.e.void
retryableMethod()
A method that can be retried, public and annotated withRetryable
.void
retryableOrTransactionalServiceMethod()
A retryable or transactional service method.void
saver()
This is a specially behaved method that create transient entities or save persistent one.void
serviceMethod()
A public method defined in a service.void
transactionalMethod()
A transactional method, public and annotated withTransactional
.void
updater()
Methods that update items in the persistent store
-
-
-
Method Detail
-
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 withRepository
.
-
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:
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 withTransactional
.
-
retryableMethod
public void retryableMethod()
A method that can be retried, public and annotated withRetryable
.
-
retryableOrTransactionalServiceMethod
public void retryableOrTransactionalServiceMethod()
A retryable or transactional service method.
-
-