public abstract class org.springframework.web.jsf.FacesContextUtils
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.web.jsf.FacesContextUtils
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/jsf/FacesContextUtils;
public static org.springframework.web.context.WebApplicationContext getWebApplicationContext(javax.faces.context.FacesContext);
descriptor: (Ljavax/faces/context/FacesContext;)Lorg/springframework/web/context/WebApplicationContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "FacesContext must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
invokevirtual javax.faces.context.FacesContext.getExternalContext:()Ljavax/faces/context/ExternalContext;
invokevirtual javax.faces.context.ExternalContext.getApplicationMap:()Ljava/util/Map;
2: getstatic org.springframework.web.context.WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE:Ljava/lang/String;
3: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 4: aload 1
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: java.lang.Object
StackMap stack:
aload 1
instanceof java.lang.RuntimeException
ifeq 8
7: aload 1
checkcast java.lang.RuntimeException
athrow
8: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Error
ifeq 10
9: aload 1
checkcast java.lang.Error
athrow
10: StackMap locals:
StackMap stack:
aload 1
instanceof org.springframework.web.context.WebApplicationContext
ifne 12
11: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Root context attribute is not of type WebApplicationContext: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
checkcast org.springframework.web.context.WebApplicationContext
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fc Ljavax/faces/context/FacesContext;
4 13 1 attr Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
fc
public static org.springframework.web.context.WebApplicationContext getRequiredWebApplicationContext(javax.faces.context.FacesContext);
descriptor: (Ljavax/faces/context/FacesContext;)Lorg/springframework/web/context/WebApplicationContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.web.jsf.FacesContextUtils.getWebApplicationContext:(Ljavax/faces/context/FacesContext;)Lorg/springframework/web/context/WebApplicationContext;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "No WebApplicationContext found: no ContextLoaderListener registered?"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.springframework.web.context.WebApplicationContext
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fc Ljavax/faces/context/FacesContext;
1 4 1 wac Lorg/springframework/web/context/WebApplicationContext;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
fc
public static java.lang.Object getSessionMutex(javax.faces.context.FacesContext);
descriptor: (Ljavax/faces/context/FacesContext;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ldc "FacesContext must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
invokevirtual javax.faces.context.FacesContext.getExternalContext:()Ljavax/faces/context/ExternalContext;
astore 1
start local 1 2: aload 1
invokevirtual javax.faces.context.ExternalContext.getSessionMap:()Ljava/util/Map;
getstatic org.springframework.web.util.WebUtils.SESSION_MUTEX_ATTRIBUTE:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aload 1
iconst_1
invokevirtual javax.faces.context.ExternalContext.getSession:(Z)Ljava/lang/Object;
astore 2
5: StackMap locals: javax.faces.context.ExternalContext java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 fc Ljavax/faces/context/FacesContext;
2 6 1 ec Ljavax/faces/context/ExternalContext;
3 6 2 mutex Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
fc
}
SourceFile: "FacesContextUtils.java"