Java
229 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 3. Register BeanPostProcessorhistorical
Spring registers bean post-processors through registerBeanPostProcessors. These notes follow the delegated calls that perform registration.
- 4. Register Read Events with the Selectorhistorical
After Channel registration, read events must be registered with the Selector. These notes trace the process through AbstractChannel's register operation.
- 4. Bind the Server Porthistorical
These notes trace the server bind call chain to examine how Netty binds a listening port to the underlying network channel.
- Spring IoC Source: Instantiating All Non-Lazy Singleton Beanshistorical
FinishBeanFactoryInitialization instantiates non-lazy singleton beans. These notes focus on the execution of preInstantiateSingletons.
- Server Startuphistorical
This page organizes Netty server-startup analysis into creation, initialization, Selector registration, and port binding.
- UML Diagramhistorical
UML diagrams organize relationships among Spring IOC classes as a structural reference for reading container source code.
- 2.79 1. Instantiate the Channelhistorical
Netty invokes the NioServerSocketChannel constructor through reflection and creates the underlying Java NIO channel. These notes trace that instantiation.
- Netty Bind Source: Actually Binding the Listening Porthistorical
Netty wraps port binding as a task for the Channel's NioEventLoop. These notes trace the calls after task submission.
- Inbound Eventshistorical
Experiments with multiple InboundHandlers show how Netty inbound events propagate through the pipeline.
- ByteBufhistorical
ByteBuf uses reader and writer indexes to divide consumed, readable, and writable regions. These notes examine read and write API behavior through those indexes.