java.lang.Object
io.helidon.pico.api.AbstractInvocationContext
- All Implemented Interfaces:
InvocationContext
- Direct Known Subclasses:
DefaultInvocationContext
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractInvocationContext
extends Object
implements InvocationContext
Abstract implementation w/ builder for
InvocationContext.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractInvocationContext.Builder<B extends AbstractInvocationContext.Builder<B,T>, T extends InvocationContext> Fluent API builder forT. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.The annotations on the enclosing type.The contextual info that can be shared between interceptors.The method/element argument info.The element info represents the method (or the constructor) being invoked.booleaninthashCode()The interceptor chain.The service provider being intercepted.The service type name for the root service provider.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.InvocationContext, calling theAttributeVisitorfor each.
-
Constructor Details
-
AbstractInvocationContext
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
serviceProvider
Description copied from interface:InvocationContextThe service provider being intercepted.- Specified by:
serviceProviderin interfaceInvocationContext- Returns:
- the service provider being intercepted
-
serviceTypeName
Description copied from interface:InvocationContextThe service type name for the root service provider.- Specified by:
serviceTypeNamein interfaceInvocationContext- Returns:
- the service type name for the root service provider
-
classAnnotations
Description copied from interface:InvocationContextThe annotations on the enclosing type.- Specified by:
classAnnotationsin interfaceInvocationContext- Returns:
- the annotations on the enclosing type
-
elementInfo
Description copied from interface:InvocationContextThe element info represents the method (or the constructor) being invoked.- Specified by:
elementInfoin interfaceInvocationContext- Returns:
- the element info represents the method (or the constructor) being invoked
-
elementArgInfo
Description copied from interface:InvocationContextThe method/element argument info.- Specified by:
elementArgInfoin interfaceInvocationContext- Returns:
- the method/element argument info
-
interceptors
Description copied from interface:InvocationContextThe interceptor chain.- Specified by:
interceptorsin interfaceInvocationContext- Returns:
- the interceptor chain
-
contextData
Description copied from interface:InvocationContextThe contextual info that can be shared between interceptors.- Specified by:
contextDatain interfaceInvocationContext- Returns:
- the read/write contextual data that is passed between each chained interceptor
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toString
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Returns:
- portion of the toString output
-
hashCode
public int hashCode() -
equals
-
visitAttributes
Visits all attributes of io.helidon.pico.api.InvocationContext, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-