Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getRealm (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/CoreRealm.java

         *
         * @return the class realm of core.
         */
        @Nonnull
        ClassRealm getRealm();
    
        /**
         * Shorthand method to obtain the {@link ClassWorld} used for Maven Core.
         *
         * @return the class world in use.
         */
        @Nonnull
        default ClassWorld getClassWorld() {
            return getRealm().getWorld();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExportsProvider.java

        private final CoreExports exports;
    
        @Inject
        public CoreExportsProvider(CoreRealm coreRealm) {
            this(new CoreExports(CoreExtensionEntry.discoverFrom(coreRealm.getRealm())));
        }
    
        public CoreExportsProvider(CoreExports exports) {
            this.exports = Objects.requireNonNull(exports);
        }
    
        public CoreExports get() {
            return exports;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/internal/DefaultCoreRealm.java

        private final PlexusContainer container;
    
        @Inject
        public DefaultCoreRealm(PlexusContainer container) {
            this.container = container;
        }
    
        @Override
        public ClassRealm getRealm() {
            return container.getContainerRealm();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    }
                }
    
                @Override
                public ClassLoader getClassLoader() {
                    return delegate.getMojoDescriptor().getRealm();
                }
    
                @Override
                public Artifact getArtifact() {
                    org.apache.maven.artifact.Artifact artifact =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        public DefaultClassRealmManager(
                CoreRealm coreRealm, List<ClassRealmManagerDelegate> delegates, CoreExports exports) {
            this.world = coreRealm.getClassWorld();
            this.containerRealm = coreRealm.getRealm();
            this.delegates = delegates;
    
            Map<String, ClassLoader> foreignImports = exports.getExportedPackages();
    
            this.mavenApiRealm = createRealm(
                    API_REALMID,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                    setupContainerRealm(context.logger, classWorld, coreRealm, extClassPath, extensions);
            ContainerConfiguration cc = new DefaultContainerConfiguration()
                    .setClassWorld(classWorld)
                    .setRealm(containerRealm)
                    .setClassPathScanning(PlexusConstants.SCANNING_INDEX)
                    .setAutoWiring(true)
                    .setJSR250Lifecycle(true)
                    .setStrictClassPathScanning(true)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            PrintStream olderr = System.err;
    
            final Set<String> realms;
            if (classWorld != null) {
                realms = new HashSet<>();
                for (ClassRealm realm : classWorld.getRealms()) {
                    realms.add(realm.getId());
                }
            } else {
                realms = Collections.emptySet();
            }
    
            try {
                if (stdout != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top