Home / Function/ config() — netty Function Reference

config() — netty Function Reference

Architecture documentation for the config() function in OsgiBundleTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d04e62d0_1d82_5b85_73c4_b482e23c85b2["config()"]
  6dcdd75c_1bcf_0e7a_6cd9_70f98dbea703["OsgiBundleTest"]
  d04e62d0_1d82_5b85_73c4_b482e23c85b2 -->|defined in| 6dcdd75c_1bcf_0e7a_6cd9_70f98dbea703
  7a6dc696_ce86_0fbd_9049_9449b69d73d2["testCanLoadPlatformDependent()"]
  d04e62d0_1d82_5b85_73c4_b482e23c85b2 -->|calls| 7a6dc696_ce86_0fbd_9049_9449b69d73d2
  style d04e62d0_1d82_5b85_73c4_b482e23c85b2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite-osgi/src/test/java/io/netty/osgitests/OsgiBundleTest.java lines 63–77

    @Configuration
    public final Option[] config() {
        final Collection<Option> options = new ArrayList<Option>();

        // Avoid boot delegating sun.misc which would fail testCanLoadPlatformDependent()
        options.add(frameworkProperty(FRAMEWORK_BOOTDELEGATION).value("com.sun.*"));
        options.add(systemProperty("pax.exam.osgi.unresolved.fail").value("true"));
        options.add(junitBundles());

        for (String link : LINKS) {
            options.add(url("link:classpath:" + link));
        }

        return options.toArray(new Option[0]);
    }

Domain

Subdomains

Frequently Asked Questions

What does config() do?
config() is a function in the netty codebase, defined in testsuite-osgi/src/test/java/io/netty/osgitests/OsgiBundleTest.java.
Where is config() defined?
config() is defined in testsuite-osgi/src/test/java/io/netty/osgitests/OsgiBundleTest.java at line 63.
What does config() call?
config() calls 1 function(s): testCanLoadPlatformDependent.

Analyze Your Own Codebase

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

Try Supermodel Free