- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
InvocationContext.BuilderBase.InvocationContextImpl
Used by
Interceptor.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forInvocationContext.static classInvocationContext.BuilderBase<BUILDER extends InvocationContext.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends InvocationContext> Fluent API builder base forInvocationContext. -
Method Summary
Modifier and TypeMethodDescriptionstatic InvocationContext.Builderbuilder()Create a new fluent API builder to customize configuration.static InvocationContext.Builderbuilder(InvocationContext instance) Create a new fluent API builder from an existing instance.The annotations on the enclosing type.The contextual info that can be shared between interceptors.static InvocationContextcreate()Create a new instance with default values.The method/element argument info.The element info represents the method (or the constructor) being invoked.The interceptor chain.The service provider being intercepted.The service type name for the root service provider.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
serviceProvider
ServiceProvider<?> serviceProvider()The service provider being intercepted.- Returns:
- the service provider being intercepted
-
serviceTypeName
TypeName serviceTypeName()The service type name for the root service provider.- Returns:
- the service type name for the root service provider
-
classAnnotations
List<Annotation> classAnnotations()The annotations on the enclosing type.- Returns:
- the annotations on the enclosing type
-
elementInfo
TypedElementInfo elementInfo()The element info represents the method (or the constructor) being invoked.- Returns:
- the element info represents the method (or the constructor) being invoked
-
elementArgInfo
List<TypedElementInfo> elementArgInfo()The method/element argument info.- Returns:
- the method/element argument info
-
interceptors
List<Provider<Interceptor>> interceptors()The interceptor chain.- Returns:
- the interceptor chain
-
contextData
The contextual info that can be shared between interceptors.- Returns:
- the read/write contextual data that is passed between each chained interceptor
-