Examples of EZBEventBeanInvocationEnd


Examples of org.ow2.easybeans.api.event.bean.EZBEventBeanInvocationEnd

                this.invocationAuditReportFactory.prepareAuditReport(e.getTime(), methodName,
                        Thread.currentThread(), e, e.getEventProviderId(), e.getCallerRoles(), e.getCallerPrincipal());
            }
        }
        if (EZBEventBeanInvocationEnd.class.isAssignableFrom(event.getClass())) {
            EZBEventBeanInvocationEnd eventEnd = (EZBEventBeanInvocationEnd) event;
            if (eventEnd.getEventProviderId().contains(this.eventProviderFilter)) {
                this.jmxNotifier.sendAuditNotification(InvocationAuditReport.class.getName(),
                        this.invocationAuditReportFactory.getAuditReport(eventEnd.getTime(), eventEnd,
                                eventEnd.getEventProviderId()).toString());
            }
        }
        if (EZBEventBeanInvocationError.class.isAssignableFrom(event.getClass())) {
            EZBEventBeanInvocationError eventEnd = (EZBEventBeanInvocationError) event;
            if (eventEnd.getEventProviderId().contains(this.eventProviderFilter)) {
                this.jmxNotifier.sendAuditNotification(InvocationAuditReport.class.getName(),
                        this.invocationAuditReportFactory.getAuditReport(eventEnd.getTime(), eventEnd,
                                eventEnd.getEventProviderId()).toString());
            }
        }
        if (this.lifecycleEnabled) {
            if (EZBEventLifeCycleStarted.class.isAssignableFrom(event.getClass())) {
                EZBEventLifeCycleStarted eventEnd = (EZBEventLifeCycleStarted) event;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.