Skip to content

Commit

Permalink
Added interceptor_binding_types
Browse files Browse the repository at this point in the history
Signed-off-by: thadumi <th.theodor.th@gmail.com>
  • Loading branch information
thadumi committed Mar 22, 2020
1 parent 033bca2 commit d9727b7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Expand Up @@ -16,3 +16,5 @@ annotations that may be used to associate interceptors with any
component that is not itself an interceptor or decorator
link:intercept.html#a546[See Jakarta EE Platform 9.
https://jakarta.ee/specifications/platform/9/.].

include::interceptor_binding_types/interceptor_binding_types.adoc[]
@@ -0,0 +1,32 @@
////
*******************************************************************
* Copyright (c) 2019 Eclipse Foundation
*
* This specification document is made available under the terms
* of the Eclipse Foundation Specification License v1.0, which is
* available at https://www.eclipse.org/legal/efsl.php.
*******************************************************************
////

[[interceptor_binding_types]]
== Interceptor Binding Types

image:intercept-4.png[image]

An interceptor binding type is a Java
annotation defined as Retention(RUNTIME). Typically an interceptor
binding is defined as Target(\{TYPE, METHOD, CONSTRUCTOR}) or any subset
of valid target types.

An interceptor binding type may be declared
by specifying the InterceptorBinding meta-annotation.

@Inherited

@InterceptorBinding

@Target(\{TYPE, METHOD})

@Retention(RUNTIME)

public @interface Monitored \{}

0 comments on commit d9727b7

Please sign in to comment.