Example usage for javax.interceptor InvocationContext proceed

List of usage examples for javax.interceptor InvocationContext proceed

Introduction

In this page you can find the example usage for javax.interceptor InvocationContext proceed.

Prototype

public Object proceed() throws Exception;

Source Link

Document

Proceed to the next interceptor in the interceptor chain.

Usage

From source file:util.EJBLoggerAOPExample.java

@AroundInvoke
public Object logMethodEntry(InvocationContext invocationContext) throws Exception {
    //System.out.println("Entering method:" + invocationContext.getMethod().getName());
    log.info("Entering method:" + invocationContext.getMethod().getName());
    log.info(invocationContext.getParameters());
    return invocationContext.proceed();
}