Package ubic.gemma.persistence.util
Class Pointcuts
java.lang.Object
ubic.gemma.persistence.util.Pointcuts
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidA public method.voidcreator()Methods that create new objects in the persistent storevoidA DAO method, public and within a class annotated withRepository.voiddeleter()Methods that remove items in the persistent storevoidinGemma()Matches stuff within Gemma package.voidloader()Methods that load (read) from the persistent storevoidmodifier()CRUD-like method that modifies the database (i.e.voidA method that can be retried, public and annotated withRetryable.voidA retryable or transactional service method.voidsaver()This is a specially behaved method that create transient entities or save persistent one.voidA public method defined in a service.voidA transactional method, public and annotated withTransactional.voidupdater()Methods that update items in the persistent store
-
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 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:
-
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.
-