Home / Function/ setContextClassLoader() — netty Function Reference

setContextClassLoader() — netty Function Reference

Architecture documentation for the setContextClassLoader() function in GlobalEventExecutor.java from the netty codebase.

Function java CommonUtil Concurrent calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  72fdbb93_fa1b_91b4_c12e_dc06d2a5f63d["setContextClassLoader()"]
  408381e8_b0ab_c53d_3b6c_8d8a15aaa884["GlobalEventExecutor"]
  72fdbb93_fa1b_91b4_c12e_dc06d2a5f63d -->|defined in| 408381e8_b0ab_c53d_3b6c_8d8a15aaa884
  31f472df_5417_844a_9cd1_9eddb4104927["startThread()"]
  31f472df_5417_844a_9cd1_9eddb4104927 -->|calls| 72fdbb93_fa1b_91b4_c12e_dc06d2a5f63d
  9f953b79_2e4a_57b7_6141_d89c69f7af26["run()"]
  72fdbb93_fa1b_91b4_c12e_dc06d2a5f63d -->|calls| 9f953b79_2e4a_57b7_6141_d89c69f7af26
  style 72fdbb93_fa1b_91b4_c12e_dc06d2a5f63d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/GlobalEventExecutor.java lines 269–277

    private static void setContextClassLoader(final Thread t, final ClassLoader cl) {
        AccessController.doPrivileged(new PrivilegedAction<Void>() {
            @Override
            public Void run() {
                t.setContextClassLoader(cl);
                return null;
            }
        });
    }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does setContextClassLoader() do?
setContextClassLoader() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/GlobalEventExecutor.java.
Where is setContextClassLoader() defined?
setContextClassLoader() is defined in common/src/main/java/io/netty/util/concurrent/GlobalEventExecutor.java at line 269.
What does setContextClassLoader() call?
setContextClassLoader() calls 1 function(s): run.
What calls setContextClassLoader()?
setContextClassLoader() is called by 1 function(s): startThread.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free