@Named @Singleton public class DefaultClassRealmManager extends Object implements ClassRealmManager
| Modifier and Type | Field and Description | 
|---|---|
| static String | API_REALMID | 
| Constructor and Description | 
|---|
| DefaultClassRealmManager(org.codehaus.plexus.PlexusContainer container,
                        List<ClassRealmManagerDelegate> delegates,
                        CoreExports exports) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.codehaus.plexus.classworlds.realm.ClassRealm | createExtensionRealm(Plugin plugin,
                    List<org.eclipse.aether.artifact.Artifact> artifacts)Creates a new class realm for the specified build extension. | 
| org.codehaus.plexus.classworlds.realm.ClassRealm | createPluginRealm(Plugin plugin,
                 ClassLoader parent,
                 List<String> parentImports,
                 Map<String,ClassLoader> foreignImports,
                 List<org.eclipse.aether.artifact.Artifact> artifacts)Creates a new class realm for the specified plugin. | 
| org.codehaus.plexus.classworlds.realm.ClassRealm | createProjectRealm(Model model,
                  List<org.eclipse.aether.artifact.Artifact> artifacts)Creates a new class realm for the specified project and its build extensions. | 
| org.codehaus.plexus.classworlds.realm.ClassRealm | getCoreRealm()Gets the class realm hosting the Maven core. | 
| org.codehaus.plexus.classworlds.realm.ClassRealm | getMavenApiRealm()Gets the class realm exposing the Maven API. | 
public static final String API_REALMID
@Inject
public DefaultClassRealmManager(org.codehaus.plexus.PlexusContainer container,
                                        List<ClassRealmManagerDelegate> delegates,
                                        CoreExports exports)
public org.codehaus.plexus.classworlds.realm.ClassRealm getMavenApiRealm()
ClassRealmManagergetMavenApiRealm in interface ClassRealmManagernull.public org.codehaus.plexus.classworlds.realm.ClassRealm getCoreRealm()
ClassRealmManagergetCoreRealm in interface ClassRealmManagernull.public org.codehaus.plexus.classworlds.realm.ClassRealm createProjectRealm(Model model, List<org.eclipse.aether.artifact.Artifact> artifacts)
ClassRealmManagercreateProjectRealm in interface ClassRealmManagermodel - The model of the project for which to create a realm, must not be null.artifacts - The artifacts to add to the class realm, may be null. Unresolved artifacts (i.e. with a
            missing file) will automatically be excluded from the realm.null.public org.codehaus.plexus.classworlds.realm.ClassRealm createExtensionRealm(Plugin plugin, List<org.eclipse.aether.artifact.Artifact> artifacts)
ClassRealmManagercreateExtensionRealm in interface ClassRealmManagerplugin - The extension plugin for which to create a realm, must not be null.artifacts - The artifacts to add to the class realm, may be null. Unresolved artifacts (i.e. with a
            missing file) will automatically be excluded from the realm.null.public org.codehaus.plexus.classworlds.realm.ClassRealm createPluginRealm(Plugin plugin, ClassLoader parent, List<String> parentImports, Map<String,ClassLoader> foreignImports, List<org.eclipse.aether.artifact.Artifact> artifacts)
ClassRealmManagercreatePluginRealm in interface ClassRealmManagerplugin - The plugin for which to create a realm, must not be null.parent - The parent realm for the new realm, may be null.parentImports - The packages/types to import from the parent realm, may be null.foreignImports - The packages/types to import from foreign realms, may be null.artifacts - The artifacts to add to the class realm, may be null. Unresolved artifacts (i.e. with a
            missing file) will automatically be excluded from the realm.null.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.