Module io.helidon.service.registry
Package io.helidon.service.registry
Class InterceptionContext.BuilderBase.InterceptionContextImpl
java.lang.Object
io.helidon.service.registry.InterceptionContext.BuilderBase.InterceptionContextImpl
- All Implemented Interfaces:
Prototype.Api
,InterceptionContext
- Enclosing class:
InterceptionContext.BuilderBase<BUILDER extends InterceptionContext.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends InterceptionContext>
protected static class InterceptionContext.BuilderBase.InterceptionContextImpl
extends Object
implements InterceptionContext
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.service.registry.InterceptionContext
InterceptionContext.Builder, InterceptionContext.BuilderBase<BUILDER extends InterceptionContext.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends InterceptionContext> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
InterceptionContextImpl
(InterceptionContext.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
InterceptionContextImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
serviceInstance
Description copied from interface:InterceptionContext
The service instance being intercepted. This always returns the underlying instance.- Specified by:
serviceInstance
in interfaceInterceptionContext
- Returns:
- instance being intercepted, or empty optional if the intercepted method is not done on an instance (i.e. a constructor interception)
-
serviceInfo
Description copied from interface:InterceptionContext
The service being intercepted.- Specified by:
serviceInfo
in interfaceInterceptionContext
- Returns:
- the service being intercepted
-
typeAnnotations
Description copied from interface:InterceptionContext
Annotations on the enclosing type.- Specified by:
typeAnnotations
in interfaceInterceptionContext
- Returns:
- the annotations on the enclosing type
-
elementInfo
Description copied from interface:InterceptionContext
The element info represents the method, field, or the constructor being invoked.- Specified by:
elementInfo
in interfaceInterceptionContext
- Returns:
- the element info of element being intercepted
-
toString
-
equals
-
hashCode
public int hashCode()
-