public class CoreExtensionEntry extends Object
Constructor and Description |
---|
CoreExtensionEntry(org.codehaus.plexus.classworlds.realm.ClassRealm realm,
Collection<String> artifacts,
Collection<String> packages) |
Modifier and Type | Method and Description |
---|---|
static CoreExtensionEntry |
discoverFrom(org.codehaus.plexus.classworlds.realm.ClassRealm loader) |
static CoreExtensionEntry |
discoverFrom(org.codehaus.plexus.classworlds.realm.ClassRealm loader,
Collection<File> classpath) |
org.codehaus.plexus.classworlds.realm.ClassRealm |
getClassRealm()
Returns ClassLoader used to load extension classes.
|
Set<String> |
getExportedArtifacts()
Returns artifacts exported by the extension, identified by groupId:artifactId string key.
|
Set<String> |
getExportedPackages()
Returns classpath elements exported by the extension.
|
public CoreExtensionEntry(org.codehaus.plexus.classworlds.realm.ClassRealm realm, Collection<String> artifacts, Collection<String> packages)
public org.codehaus.plexus.classworlds.realm.ClassRealm getClassRealm()
public Set<String> getExportedArtifacts()
public Set<String> getExportedPackages()
public static CoreExtensionEntry discoverFrom(org.codehaus.plexus.classworlds.realm.ClassRealm loader)
public static CoreExtensionEntry discoverFrom(org.codehaus.plexus.classworlds.realm.ClassRealm loader, Collection<File> classpath)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.