-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: thadumi <th.theodor.th@gmail.com>
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...g_interceptor_bindings/interceptor_binding_types/interceptor_binding_types.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 \{} |