author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 45528 | jdk/src/jdk.jlink/share/classes/module-info.java@1e8c2f062ad3 |
child 47349 | 5958eaae167a |
permissions | -rw-r--r-- |
36511 | 1 |
/* |
2 |
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. Oracle designates this |
|
8 |
* particular file as subject to the "Classpath" exception as provided |
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
|
10 |
* |
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
* accompanied this code). |
|
16 |
* |
|
17 |
* You should have received a copy of the GNU General Public License version |
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
* |
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
22 |
* or visit www.oracle.com if you need additional information or have any |
|
23 |
* questions. |
|
24 |
*/ |
|
25 |
||
44417
a431edba1629
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
43185
diff
changeset
|
26 |
/** |
45528
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
27 |
* Defines the <em>{@index jlink jlink tool}</em> tool for creating run-time |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
28 |
* images, the <em>{@index jmod jmod tool}</em> tool for creating and manipulating |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
29 |
* JMOD files, and the <em>{@index jimage jimage tool}</em> tool for inspecting |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
30 |
* the JDK implementation-specific container file for classes and resources. |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
31 |
* |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
32 |
* <p> This module provides the equivalent of command-line access to the |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
33 |
* <em>{@extLink jlink_tool_reference jlink}</em> and |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
34 |
* <em>{@extLink jmod_tool_reference jmod}</em> tools via the |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
35 |
* {@link java.util.spi.ToolProvider ToolProvider} SPI. |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
36 |
* Instances of the tools can be obtained by calling |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
37 |
* {@link java.util.spi.ToolProvider#findFirst ToolProvider.findFirst} |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
38 |
* or the {@link java.util.ServiceLoader service loader} with the name |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
39 |
* {@code "jlink"} or {@code "jmod"} as appropriate. |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
40 |
* |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
41 |
* <p> <em>{@extLink jimage_tool_reference jimage}</em> only exists |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
42 |
* as a command-line tool, and does not provide any direct API. |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
43 |
* |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
44 |
* <dl style="font-family:'DejaVu Sans', Arial, Helvetica, sans serif"> |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
45 |
* <dt class="simpleTagLabel">Tool Guides: |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
46 |
* <dd>{@extLink jlink_tool_reference jlink}, |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
47 |
* {@extLink jmod_tool_reference jmod}, |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
48 |
* {@extLink jimage_tool_reference jimage} |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
49 |
* </dl> |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
50 |
* |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
51 |
* @provides java.util.spi.ToolProvider |
44417
a431edba1629
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
43185
diff
changeset
|
52 |
* |
a431edba1629
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
43185
diff
changeset
|
53 |
* @moduleGraph |
a431edba1629
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
43185
diff
changeset
|
54 |
* @since 9 |
a431edba1629
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
43185
diff
changeset
|
55 |
*/ |
36511 | 56 |
module jdk.jlink { |
57 |
requires jdk.internal.opt; |
|
58 |
requires jdk.jdeps; |
|
59 |
||
39321
c60f34e8c057
8160641: PostProcessingPlugin and ExecutableImage should not be part of plugin API
sundar
parents:
38320
diff
changeset
|
60 |
uses jdk.tools.jlink.plugin.Plugin; |
36511 | 61 |
|
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
62 |
provides java.util.spi.ToolProvider with |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
63 |
jdk.tools.jmod.Main.JmodToolProvider, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
64 |
jdk.tools.jlink.internal.Main.JlinkToolProvider; |
41484
834b7539ada3
8164689: Retrofit jar, jlink, jmod as a ToolProvider
mchung
parents:
39491
diff
changeset
|
65 |
|
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
66 |
provides jdk.tools.jlink.plugin.Plugin with |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
67 |
jdk.tools.jlink.internal.plugins.StripDebugPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
68 |
jdk.tools.jlink.internal.plugins.ExcludePlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
69 |
jdk.tools.jlink.internal.plugins.ExcludeFilesPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
70 |
jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin, |
42670
d833113eb7d7
8169925: Organize licenses by module in source, JMOD file, and run-time image
mchung
parents:
42338
diff
changeset
|
71 |
jdk.tools.jlink.internal.plugins.LegalNoticeFilePlugin, |
42703
20c39ea4a507
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42338
diff
changeset
|
72 |
jdk.tools.jlink.internal.plugins.SystemModulesPlugin, |
42338
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
73 |
jdk.tools.jlink.internal.plugins.StripNativeCommandsPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
74 |
jdk.tools.jlink.internal.plugins.OrderResourcesPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
75 |
jdk.tools.jlink.internal.plugins.DefaultCompressPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
76 |
jdk.tools.jlink.internal.plugins.ExcludeVMPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
77 |
jdk.tools.jlink.internal.plugins.IncludeLocalesPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
78 |
jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
79 |
jdk.tools.jlink.internal.plugins.ReleaseInfoPlugin, |
a60f280f803c
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41561
diff
changeset
|
80 |
jdk.tools.jlink.internal.plugins.ClassForNamePlugin; |
39491 | 81 |
} |