You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory.java
+17-11Lines changed: 17 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2013 the original author or authors.
2
+
* Copyright 2002-2015 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -32,11 +32,14 @@
32
32
* for JSR-236's "java:comp/DefaultManagedThreadFactory" in a Java EE 7 environment,
33
33
* falling back to the local {@link CustomizableThreadFactory} setup if not found.
34
34
*
35
-
* <p>This is a convenient way to use managed threads when running in a Java EE 7 environment,
36
-
* simply using regular local threads otherwise - without conditional setup (like profiles).
35
+
* <p>This is a convenient way to use managed threads when running in a Java EE 7
36
+
* environment, simply using regular local threads otherwise - without conditional
37
+
* setup (i.e. without profiles).
37
38
*
38
39
* <p>Note: This class is not strictly JSR-236 based; it can work with any regular
39
-
* {@link java.util.concurrent.ThreadFactory} that can be found in JNDI.
40
+
* {@link java.util.concurrent.ThreadFactory} that can be found in JNDI. Therefore,
41
+
* the default JNDI name "java:comp/DefaultManagedThreadFactory" can be customized
42
+
* through the {@link #setJndiName "jndiName"} bean property.
40
43
*
41
44
* @author Juergen Hoeller
42
45
* @since 4.0
@@ -50,7 +53,7 @@ public class DefaultManagedAwareThreadFactory extends CustomizableThreadFactory
0 commit comments