Class BusinessDataRepositoryEventAspect

java.lang.Object
org.bonitasoft.engine.business.data.impl.BusinessDataRepositoryEventAspect

@Component public class BusinessDataRepositoryEventAspect extends Object
Aspect to handle events for business data repository operations. Fires events on persist, merge, and remove operations. This aspect is enabled in EngineConfiguration class through annotation @EnableAspectJAutoProxy.
  • Constructor Details

    • BusinessDataRepositoryEventAspect

      public BusinessDataRepositoryEventAspect(EventService eventService)
  • Method Details

    • aroundPersist

      public Object aroundPersist(org.aspectj.lang.ProceedingJoinPoint target, org.bonitasoft.engine.bdm.Entity entity) throws Throwable
      Throws:
      Throwable
    • aroundMerge

      public Object aroundMerge(org.aspectj.lang.ProceedingJoinPoint target, org.bonitasoft.engine.bdm.Entity entity) throws Throwable
      Throws:
      Throwable
    • afterRemove

      public void afterRemove(org.bonitasoft.engine.bdm.Entity entity) throws SFireEventException
      Throws:
      SFireEventException