beforeClass() — netty Function Reference
Architecture documentation for the beforeClass() function in LoggingHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d9b3129c_e879_f45e_6eab_c802a2841b89["beforeClass()"] 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6["LoggingHandlerTest"] d9b3129c_e879_f45e_6eab_c802a2841b89 -->|defined in| 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6 style d9b3129c_e879_f45e_6eab_c802a2841b89 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java lines 70–79
@BeforeAll
public static void beforeClass() {
for (Iterator<Appender<ILoggingEvent>> i = rootLogger.iteratorForAppenders(); i.hasNext();) {
Appender<ILoggingEvent> a = i.next();
oldAppenders.add(a);
rootLogger.detachAppender(a);
}
Unpooled.buffer();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does beforeClass() do?
beforeClass() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java.
Where is beforeClass() defined?
beforeClass() is defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java at line 70.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free