public class CoreExtensionEntry extends Object
Constructor and Description |
---|
CoreExtensionEntry(ClassRealm realm,
Collection<String> artifacts,
Collection<String> packages) |
Modifier and Type | Method and Description |
---|---|
static CoreExtensionEntry |
discoverFrom(ClassRealm loader) |
static CoreExtensionEntry |
discoverFrom(ClassRealm loader,
Collection<File> classpath) |
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(ClassRealm realm, Collection<String> artifacts, Collection<String> packages)
public ClassRealm getClassRealm()
public Set<String> getExportedArtifacts()
public Set<String> getExportedPackages()
public static CoreExtensionEntry discoverFrom(ClassRealm loader)
public static CoreExtensionEntry discoverFrom(ClassRealm loader, Collection<File> classpath)
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.