public class org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory extends org.springframework.scheduling.concurrent.CustomizableThreadFactory implements org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory
super_class: org.springframework.scheduling.concurrent.CustomizableThreadFactory
{
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private org.springframework.jndi.JndiLocatorDelegate jndiLocator;
descriptor: Lorg/springframework/jndi/JndiLocatorDelegate;
flags: (0x0002) ACC_PRIVATE
private java.lang.String jndiName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.util.concurrent.ThreadFactory threadFactory;
descriptor: Ljava/util/concurrent/ThreadFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.scheduling.concurrent.CustomizableThreadFactory.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.logger:Lorg/apache/commons/logging/Log;
2: aload 0
new org.springframework.jndi.JndiLocatorDelegate
dup
invokespecial org.springframework.jndi.JndiLocatorDelegate.<init>:()V
putfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiLocator:Lorg/springframework/jndi/JndiLocatorDelegate;
3: aload 0
ldc "java:comp/DefaultManagedThreadFactory"
putfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiName:Ljava/lang/String;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory;
public void setJndiTemplate(org.springframework.jndi.JndiTemplate);
descriptor: (Lorg/springframework/jndi/JndiTemplate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiLocator:Lorg/springframework/jndi/JndiLocatorDelegate;
aload 1
invokevirtual org.springframework.jndi.JndiLocatorDelegate.setJndiTemplate:(Lorg/springframework/jndi/JndiTemplate;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory;
0 2 1 jndiTemplate Lorg/springframework/jndi/JndiTemplate;
MethodParameters:
Name Flags
jndiTemplate
public void setJndiEnvironment(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiLocator:Lorg/springframework/jndi/JndiLocatorDelegate;
aload 1
invokevirtual org.springframework.jndi.JndiLocatorDelegate.setJndiEnvironment:(Ljava/util/Properties;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory;
0 2 1 jndiEnvironment Ljava/util/Properties;
MethodParameters:
Name Flags
jndiEnvironment
public void setResourceRef(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiLocator:Lorg/springframework/jndi/JndiLocatorDelegate;
iload 1
invokevirtual org.springframework.jndi.JndiLocatorDelegate.setResourceRef:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory;
0 2 1 resourceRef Z
MethodParameters:
Name Flags
resourceRef
public void setJndiName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory;
0 2 1 jndiName Ljava/lang/String;
MethodParameters:
Name Flags
jndiName
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiName:Ljava/lang/String;
ifnull 7
1: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiLocator:Lorg/springframework/jndi/JndiLocatorDelegate;
aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiName:Ljava/lang/String;
ldc Ljava/util/concurrent/ThreadFactory;
invokevirtual org.springframework.jndi.JndiLocatorDelegate.lookup:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.util.concurrent.ThreadFactory
putfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.threadFactory:Ljava/util/concurrent/ThreadFactory;
2: goto 7
3: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 1
start local 1 4: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 6
5: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Failed to retrieve ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.jndiName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] from JNDI"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;Ljava/lang/Throwable;)V
6: StackMap locals: javax.naming.NamingException
StackMap stack:
aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.logger:Lorg/apache/commons/logging/Log;
ldc "Could not find default managed thread factory in JNDI - proceeding with default local thread factory"
invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;)V
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory;
4 7 1 ex Ljavax/naming/NamingException;
Exception table:
from to target type
1 2 3 Class javax.naming.NamingException
Exceptions:
throws javax.naming.NamingException
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.threadFactory:Ljava/util/concurrent/ThreadFactory;
ifnull 2
1: aload 0
getfield org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory.threadFactory:Ljava/util/concurrent/ThreadFactory;
aload 1
invokeinterface java.util.concurrent.ThreadFactory.newThread:(Ljava/lang/Runnable;)Ljava/lang/Thread;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.springframework.scheduling.concurrent.CustomizableThreadFactory.newThread:(Ljava/lang/Runnable;)Ljava/lang/Thread;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scheduling/concurrent/DefaultManagedAwareThreadFactory;
0 3 1 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
runnable
}
SourceFile: "DefaultManagedAwareThreadFactory.java"