Class ContainerTransactionalAspect

java.lang.Object
io.meeds.common.ContainerTransactionalAspect

public class ContainerTransactionalAspect extends Object
An aspect processing point that will allow to encapsulate two behavior: - Set current container to PortalContainer - Start the request lifecycle of the container, and a JPA transaction when the annotation is ContainerTransactional.atomic()
  • Constructor Details

    • ContainerTransactionalAspect

      public ContainerTransactionalAspect()
  • Method Details

    • around

      public Object around(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
      The advice keeps this signature: the classes an addon wove at its own build call it as is.
      Throws:
      Throwable