-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WFCORE-7127] Replace Attachments.CLASS_PATH_ENTRIES
- Loading branch information
1 parent
1983240
commit 8a0a619
Showing
4 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,6 @@ | |
/** | ||
* @author <a href="mailto:[email protected]">David M. Lloyd</a> | ||
*/ | ||
@SuppressWarnings("deprecation") | ||
public final class Attachments { | ||
|
||
// | ||
|
@@ -125,14 +124,12 @@ public final class Attachments { | |
* <p/> | ||
* <strong>Note: This is only meant for use within the server kernel.</strong> | ||
* | ||
* @deprecated this will either be changed incompatibly (to provide a string) or removed altogether in the next WildFly Core major. | ||
*/ | ||
@Deprecated(forRemoval = true) | ||
public static final AttachmentKey<AttachmentList<ModuleIdentifier>> CLASS_PATH_ENTRIES = AttachmentKey.createList(ModuleIdentifier.class); | ||
public static final AttachmentKey<AttachmentList<String>> CLASS_PATH_MODULES = AttachmentKey.createList(String.class); | ||
|
||
/** | ||
* Resource roots for additional modules referenced via Class-Path. | ||
* | ||
* <p/> | ||
* These are attached to the resource root that actually defined the class path entry, and are used to transitively resolve | ||
* the annotation index for class path items. | ||
*/ | ||
|
@@ -231,7 +228,7 @@ public final class Attachments { | |
|
||
/** | ||
* A service target that can be used to install services outside the scope of the deployment. | ||
* | ||
* <p/> | ||
* These services will not be removed automatically on undeploy, so if this is used some other strategy must be used | ||
* to handle undeployment. | ||
*/ | ||
|
@@ -296,7 +293,7 @@ public final class Attachments { | |
|
||
/** | ||
* Sub deployments that are visible from this deployments module loader, in the order they are accessible. | ||
* | ||
* <p/> | ||
* This list includes the current deployment, which under normal circumstances will be the first item in the list | ||
*/ | ||
public static final AttachmentKey<AttachmentList<DeploymentUnit>> ACCESSIBLE_SUB_DEPLOYMENTS = AttachmentKey.createList(DeploymentUnit.class); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters