Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for myrealm (0.06 sec)

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

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

        /**
         * Creates a new class realm with the specified parent and imports.
         *
         * @param baseRealmId The base id to use for the new realm, must not be {@code null}.
         * @param type The type of the class realm, must not be {@code null}.
         * @param parent The parent realm for the new realm, may be {@code null}.
         * @param parentImports The packages/types to import from the parent realm, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

    public interface ClassRealmManager {
    
        /**
         * Gets the class realm hosting the Maven core.
         *
         * @return The class realm hosting the Maven core, never {@code null}.
         */
        ClassRealm getCoreRealm();
    
        /**
         * Gets the class realm exposing the Maven API. This is basically a restricted view on the Maven core realm.
         *
         * @return The class realm exposing the Maven API, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java

            /**
             * A class realm for a build extension.
             */
            Extension,
    
            /**
             * A class realm for a plugin.
             */
            Plugin,
        }
    
        /**
         * Gets the type of the class realm.
         *
         * @return The type of the class realm, never {@code null}.
         */
        RealmType getType();
    
        /**
         * Gets the parent class realm (if any).
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

        private final String key;
    
        private final XmlNode configuration;
    
        public CoreExtensionEntry(
                ClassRealm realm,
                Collection<String> artifacts,
                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(artifacts));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                final ExpressionEvaluator evaluator,
                final ClassRealm realm,
                final ConfigurationListener listener)
                throws ComponentConfigurationException {
            try {
                ClassRealmConverter.pushContextRealm(realm);
    
                this.configureComponent(component, configuration, evaluator, (ClassLoader) realm, listener);
            } finally {
                ClassRealmConverter.popContextRealm();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    + extension.getVersion();
            final ClassRealm realm = classWorld.newRealm(realmId, null);
            Set<String> providedArtifacts = Collections.emptySet();
            String classLoadingStrategy = extension.getClassLoadingStrategy();
            if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) {
                realm.importFrom(parentRealm, "");
            } else if (STRATEGY_PLUGIN.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)
  8. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

        }
    
        public CoreExports(ClassRealm realm, Set<String> exportedArtifacts, Set<String> exportedPackages) {
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(exportedArtifacts));
            this.packages = exportedPackages.stream()
                    .collect(collectingAndThen(toMap(identity(), v -> realm), Collections::unmodifiableMap));
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/CoreRealm.java

    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    /**
     * Access to core {@link ClassRealm}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface CoreRealm {
    
        /**
         * Obtain the {@link ClassRealm} used for Maven Core.
         *
         * @return the class realm of core.
         */
        @Nonnull
        ClassRealm getRealm();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManagerDelegate.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.classrealm;
    
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    /**
     * ClassRealmManagerDelegate is used to perform addition configuration of
     * class realms created by ClassRealmManager.
     *
     */
    public interface ClassRealmManagerDelegate {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top