IT. Expert System.

Java Enterprise Edition (EE)

AroundInvoke


javax.interceptor
Annotation Type AroundInvoke

@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface AroundInvoke

Defines an interceptor method that interposes on business methods. May be applied to any non-final, non-static method with a single parameter of type InvocationContext and return type Object of the target class (or superclass) or of any interceptor class.

 @AroundInvoke
 public Object intercept(InvocationContext ctx) throws Exception { ... }
 

A class may not declare more than one @AroundInvoke method.

An @AroundInvoke method can invoke any component or resource that the method it is intercepting can invoke.

@AroundInvoke method invocations occur within the same transaction and security context as the method on which they are interposing.

@AroundInvoke methods may throw any exceptions that are allowed by the throws clause of the method on which they are interposing. They may catch and suppress exceptions and recover by calling InvocationContext.proceed().



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 483 / 248377688. Delta: 0.00569 с