- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
CallingContext.BuilderBase.CallingContextImpl
For internal use only to Helidon. Applicable when
InjectionServices.TAG_DEBUG is enabled.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forCallingContext.static classCallingContext.BuilderBase<BUILDER extends CallingContext.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends CallingContext> Fluent API builder base forCallingContext. -
Method Summary
Modifier and TypeMethodDescriptionstatic CallingContext.Builderbuilder()Create a new fluent API builder to customize configuration.static CallingContext.Builderbuilder(CallingContext instance) Create a new fluent API builder from an existing instance.static CallingContextcreate()Create a new instance with default values.Only populated whenmoduleis set.Only populated whenInjectionServices.TAG_DEBUGis set.Returns a stack trace as a list of strings.The thread that created the calling context.
-
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
-
stackTrace
Optional<StackTraceElement[]> stackTrace()Only populated whenInjectionServices.TAG_DEBUGis set.- Returns:
- the stack trace for who initialized
-
moduleName
Only populated whenmoduleis set.- Returns:
- the module name
-
threadName
String threadName()The thread that created the calling context.- Returns:
- thread creating the calling context
-
stackTraceAsList
Returns a stack trace as a list of strings.- Returns:
- the list of strings for the stack trace, or empty list if not available
-