Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getExportedPackages (0.11 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                CoreExtensionEntry coreEntry, List<CoreExtensionEntry> extensionEntries) {
            Set<String> exportedPackages = new HashSet<>(coreEntry.getExportedPackages());
            for (CoreExtensionEntry extension : extensionEntries) {
                exportedPackages.addAll(extension.getExportedPackages());
            }
            return exportedPackages;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

         */
        public Set<String> getExportedArtifacts() {
            return artifacts;
        }
    
        /**
         * Returns classpath elements exported by the extension.
         */
        public Set<String> getExportedPackages() {
            return packages;
        }
    
        /**
         * The key that can must used to identify the configuration using the
         * {@link javax.inject.Named} annotation.
         */
        public String getKey() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

        private final Set<String> artifacts;
    
        private final Map<String, ClassLoader> packages;
    
        public CoreExports(CoreExtensionEntry entry) {
            this(entry.getClassRealm(), entry.getExportedArtifacts(), entry.getExportedPackages());
        }
    
        public CoreExports(ClassRealm realm, Set<String> exportedArtifacts, Set<String> exportedPackages) {
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(exportedArtifacts));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) {
                realm.importFrom(parentRealm, "");
            } else if (STRATEGY_PLUGIN.equals(classLoadingStrategy)) {
                coreExports.getExportedPackages().forEach((p, cl) -> realm.importFrom(cl, p));
                providedArtifacts = coreExports.getExportedArtifacts();
            } else if (STRATEGY_SELF_FIRST.equals(classLoadingStrategy)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            this.world = coreRealm.getClassWorld();
            this.containerRealm = coreRealm.getRealm();
            this.delegates = delegates;
    
            Map<String, ClassLoader> foreignImports = exports.getExportedPackages();
    
            this.mavenApiRealm = createRealm(
                    API_REALMID,
                    RealmType.Core,
                    null /* parent */,
                    null /* parentImports */,
    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. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            Set<String> exportedPackages = new HashSet<>(coreEntry.getExportedPackages());
            for (CoreExtensionEntry extension : extensions) {
                exportedArtifacts.addAll(extension.getExportedArtifacts());
                exportedPackages.addAll(extension.getExportedPackages());
            }
    
    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