Skip to content

Commit

Permalink
Fixed chapters' level
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 04affe7 commit 323c08b
Show file tree
Hide file tree
Showing 28 changed files with 73 additions and 82 deletions.
Expand Up @@ -9,7 +9,7 @@
////

[[binding_an_interceptor_to_a_component]]
== Binding an Interceptor to a Component
=== Binding an Interceptor to a Component

An interceptor may be bound to a component by
annotating the component class or a method or constructor of the
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[declaring_the_interceptor_bindings_of_an_interceptor]]
== Declaring the Interceptor Bindings of an Interceptor
=== Declaring the Interceptor Bindings of an Interceptor

The interceptor bindings of an interceptor
are specified by annotating the interceptor class with the interceptor
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[interceptor_binding_types]]
== Interceptor Binding Types
=== Interceptor Binding Types

image:intercept-4.png[image]

Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[interceptor_binding_types_with_additional_interceptor_bindings]]
=== Interceptor binding types with additional interceptor bindings
==== Interceptor binding types with additional interceptor bindings

An interceptor binding type may declare other
interceptor bindings.
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[other_sources_of_interceptor_bindings]]
=== Other sources of interceptor bindings
==== Other sources of interceptor bindings

An extension specification may define other
sources of interceptor bindings, such as by CDI stereotypes.
Expand Up @@ -9,7 +9,7 @@
////

[[interceptor_binding_types_with_members]]
== Interceptor binding types with members
==== Interceptor binding types with members

Interceptor binding types may have annotation
members.
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[interceptor_resolution]]
== Interceptor Resolution
=== Interceptor Resolution

The process of matching interceptors to a
given business method, timeout method, or lifecycle event of a component
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[interceptors_with_multiple_bindings]]
== Interceptors with multiple bindings
==== Interceptors with multiple bindings

An interceptor class may specify multiple
interceptor bindings.
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[associating_interceptors_with_classes_and_methods_using_the_interceptors_annotation]]
== Associating Interceptors with Classes and Methods using the Interceptors Annotation
=== Associating Interceptors with Classes and Methods using the Interceptors Annotation

The _Interceptors_ annotation can be used to
denote interceptor classes and associate one or more interceptor classes
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[enabling_interceptors]]
== Enabling Interceptors
=== Enabling Interceptors

image:intercept-4.png[image]

Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[excluding_interceptors]]
== Excluding Interceptors
=== Excluding Interceptors

Interceptors may be excluded from execution
by means of the _ExcludeClassInterceptors_ annotation and the
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[interceptor_ordering_rules]]
== Interceptor Ordering Rules
=== Interceptor Ordering Rules

For each interceptor method type (i.e.,
around-invoke, around-timeout, post-construct, etc.), the following
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[use_of_the_priority_annotation_in_ordering_interceptors]]
== Use of the Priority Annotation in Ordering Interceptors
=== Use of the Priority Annotation in Ordering Interceptors

The _Priority_ annotation can be used to
enable and order interceptors associated with components that use
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[business_method_interceptor_methods]]
== Business Method Interceptor Methods
=== Business Method Interceptor Methods

image:intercept-4.png[image]

Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[constructor_and_method_level_interceptors]]
== Constructor- and Method-level Interceptors
=== Constructor- and Method-level Interceptors

Method-level interceptors are interceptor
classes directly associated with a specific business or timeout method
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[default_interceptors]]
== Default Interceptors
=== Default Interceptors

Default interceptors are interceptors that
apply to a set of target classes. An extension specification may support
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[definition_of_interceptor_classes_and_interceptor_methods]]
== Definition of Interceptor Classes and Interceptor Methods
=== Definition of Interceptor Classes and Interceptor Methods

An interceptor method for a target class may
be declared in the target class, in an interceptor class associated with
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[exceptions]]
== Exceptions
=== Exceptions

Interceptor methods are allowed to throw
runtime exceptions or any checked exceptions that the associated target
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[interceptor_environment]]
=== Interceptor Environment
==== Interceptor Environment

An interceptor class shares the enterprise
naming context of its associated target class. Annotations and/or XML
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[interceptor_life_cycle]]
== Interceptor Life Cycle
=== Interceptor Life Cycle

The lifecycle of an interceptor instance is
the same as that of the target instance with which it is associated.
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[exceptions_life_cicle_event_callbacks]]
=== Exceptions
==== Exceptions

When invoked to interpose on lifecycle
events, lifecycle callback interceptor methods may throw runtime
Expand Down
Expand Up @@ -8,7 +8,7 @@
*******************************************************************
////

== Interceptor Methods for Lifecycle Event Callbacks
=== Interceptor Methods for Lifecycle Event Callbacks

image:intercept-4.png[image]

Expand Down
Expand Up @@ -8,7 +8,7 @@
*******************************************************************
////
[[invocation_context]]
== Invocation Context
=== Invocation Context

The _InvocationContext_ object provides
information that enables interceptor methods to control the behavior of
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[terminology]]
== Terminology
=== Terminology

The following terminology is used in this
document:
Expand Down
Expand Up @@ -9,7 +9,7 @@
////

[[timeout_method_interceptor_methods]]
== Timeout Method Interceptor Methods
=== Timeout Method Interceptor Methods

Interceptor methods that interpose on timeout
methods are denoted by the _AroundTimeout_ annotation.
Expand Down
18 changes: 15 additions & 3 deletions spec/src/main/asciidoc/interceptors-spec.adoc
Expand Up @@ -21,8 +21,20 @@ endif::[]

// == License
:sectnums!:
include::license-efsl.adoc[]
include::chapters/license/license_efsl.adoc[]

// == Scope
:sectnums:
include::scope.adoc[]

include::chapters/overview/overview.adoc[]

include::chapters/interceptor_programming_contract/interceptor_programming_contract.adoc[]

include::chapters/associating_interceptors_with_classes_and_methods_using_interceptor_bindings/associating_interceptors_with_classes_and_methods_using_interceptor_bindings.adoc[]

include::chapters/associating_interceptors_with_classes_and_methods_using_the_interceptors_annotation/associating_interceptors_with_classes_and_methods_using_the_interceptors_annotation.adoc[]

include::chapters/interceptor_ordering/interceptor_ordering.adoc[]

include::chapters/related_documents/related_documents.adoc[]

include::chapters/change_log/change_log.adoc[]

0 comments on commit 323c08b

Please sign in to comment.