Package com.iohao.net.framework.core
package com.iohao.net.framework.core
Provides the core action execution model, metadata, lifecycle hooks, and shared runtime building
blocks used by ionet business logic.
- Author:
- 渔民小镇
- date:
- 2024-08-05
-
ClassDescriptionActionCommand command object, also known as action.Parse
@ActionControllerannotated classes and build the correspondingActionCommandRegionsrouting table.A command region holding allActionCommandentries for a single cmd value, keyed by subCmd.Registry of allActionCommandRegioninstances, indexed by cmd.Factory interface for creating or retrieving action controller instances.Metadata about an action method parameter, including generic type resolution and JSR-380 validation group configuration.Metadata about an action method's return type, including generic type resolution forListreturn types.Enum describing the parameter layout of an action method.Mutable context passed toActionParserListenercallbacks during action parsing.Listener (hook) during action constructionActionParserListenersCommon interface for types that expose the actual (possibly generic) class of an action method parameter or return value.Central execution engine of the ionet business framework.Builder for constructing aBarSkeletoninstance.Global registry that maps logic-server IDs to theirBarSkeletoninstances.Configuration settings for the business framework skeleton (BarSkeleton).Trace BroadcastMessageCommand routing information composed of a cmd (module) and subCmd (action) pair.Factory that produces cachedCmdInfoinstances using the flyweight pattern.Strategy options for theCmdInfoflyweight cache used byCmdInfoFlyweightFactory.Strategy interface for inspecting action commands and emitting code-improvement suggestions.SPI interface for loading framework configuration at startup.DefaultCodeSuggestimplementation that recommends replacing wrapper types (e.g.DefaultSkeletonThreadPipelinethat dispatches aFlowContextto the appropriate thread executor based on the request's hop count.Singleton bridge for third-party dependency injection frameworks (e.g.Holder for theScopedValuekey used to propagateFlowContextthrough the execution thread.Command flow executorStrategy interface for validating action method parameters, typically backed by Jakarta Bean Validation.Strategy for dispatching aFlowContextto a thread executor within aBarSkeleton.Collects contextual information about anActionCommandand formats code-improvement suggestions for display on the console.