Top Description Fields Constructors Methods
jdk.tools.jlink.internal.plugins

public final Class CDSPlugin

extends AbstractPlugin
implements PostProcessor
Class Inheritance
All Implemented Interfaces
jdk.tools.jlink.internal.PostProcessor
Imports
java.io.IOException, java.nio.file.Files, .Path, java.util.*, jdk.internal.util.Architecture, .OperatingSystem, jdk.tools.jlink.internal.ExecutableImage, .Platform, .PostProcessor, jdk.tools.jlink.plugin.PluginException, .ResourcePool, .ResourcePoolBuilder

CDS plugin

Field Summary

Modifier and TypeField and Description
private static final String
private Platform
private Platform
Inherited from jdk.tools.jlink.internal.plugins.AbstractPlugin:
DESCRIPTIONUSAGE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
generateCDSArchive(ExecutableImage image, boolean noCoops)

public Plugin.Category
getType()

Overrides default jdk.tools.jlink.plugin.Plugin.getType.

The type of this plugin.
private String
public List<String>
process(ExecutableImage
The executable image.
image
)

Implements jdk.tools.jlink.internal.PostProcessor.process.

Post process an image.
public ResourcePool
transform(ResourcePool
Read only content.
in
,
ResourcePoolBuilder
The pool to fill with content. This pool must contain the result of the visit.
out
)

Implements jdk.tools.jlink.plugin.Plugin.transform.

Visit the content of the modules that are composing the image.
Inherited from jdk.tools.jlink.internal.plugins.AbstractPlugin:
getArgumentsDescriptiongetDescriptiongetMessagegetNamegetUsagenewClassReadernewClassReader

Field Detail

NAMEback to summary
private static final String NAME
runtimePlatformback to summary
private Platform runtimePlatform
targetPlatformback to summary
private Platform targetPlatform

Constructor Detail

CDSPluginback to summary
public CDSPlugin()

Method Detail

generateCDSArchiveback to summary
private void generateCDSArchive(ExecutableImage image, boolean noCoops)
getTypeback to summary
public Plugin.Category getType()

Overrides default jdk.tools.jlink.plugin.Plugin.getType.

Doc from jdk.tools.jlink.plugin.Plugin.getType.

The type of this plugin.

Returns:Plugin.Category

The type of this plugin

Annotations
@Override
javaExecutableNameback to summary
private String javaExecutableName()
processback to summary
public List<String> process(ExecutableImage image)

Implements jdk.tools.jlink.internal.PostProcessor.process.

Doc from jdk.tools.jlink.internal.PostProcessor.process.

Post process an image.

Parameters
image:ExecutableImage

The executable image.

Returns:List<String>

The list of arguments to add to launchers (if any).

Annotations
@Override
transformback to summary
public ResourcePool transform(ResourcePool in, ResourcePoolBuilder out)

Implements jdk.tools.jlink.plugin.Plugin.transform.

Doc from jdk.tools.jlink.plugin.Plugin.transform.

Visit the content of the modules that are composing the image.

Parameters
in:ResourcePool

Read only content.

out:ResourcePoolBuilder

The pool to fill with content. This pool must contain the result of the visit.

Annotations
@Override