Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ImportFrom (0.09 sec)

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

                    for (String exportedPackage : exportedPackages) {
                        extRealm.importFrom(realm, exportedPackage);
                    }
                    if (exportedPackages.isEmpty()) {
                        // sisu uses realm imports to establish component visibility
                        extRealm.importFrom(realm, realm.getId());
                    }
                }
    
                return extRealm;
            }
    
    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. 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();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    // Import implements types.Importer.
    func (w *Walker) Import(name string) (*types.Package, error) {
    	return w.ImportFrom(name, "", 0)
    }
    
    // ImportFrom implements types.ImporterFrom.
    func (w *Walker) ImportFrom(fromPath, fromDir string, mode types.ImportMode) (*types.Package, error) {
    	pkg, err := w.importFrom(fromPath, fromDir, mode)
    	if err != nil {
    		return nil, err
    	}
    	return pkg.Package, nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    ClassLoader importedRealm = entry.getValue();
                    String imp = entry.getKey();
    
                    logger.debug("  Imported: {} < {}", imp, getId(importedRealm));
    
                    classRealm.importFrom(importedRealm, imp);
                }
            }
    
            if (parentImports != null && !parentImports.isEmpty()) {
                logger.debug("Importing parent packages into class realm {}", classRealm.getId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    for (String exportedPackage : exportedPackages) {
                        extRealm.importFrom(realm, exportedPackage);
                    }
                    if (exportedPackages.isEmpty()) {
                        // sisu uses realm imports to establish component visibility
                        extRealm.importFrom(realm, realm.getId());
                    }
                }
    
                return extRealm;
            }
    
    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