public abstract class org.springframework.context.support.ApplicationObjectSupport extends java.lang.Object implements org.springframework.context.ApplicationContextAware
{
protected final org.apache.commons.logging.Log logger;
private org.springframework.context.ApplicationContext applicationContext;
private org.springframework.context.support.MessageSourceAccessor messageSourceAccessor;
public void <init>()
{
java.lang.Class v;
org.apache.commons.logging.Log v;
org.springframework.context.support.ApplicationObjectSupport v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
specialinvoke v.<java.lang.Object: void <init>()>();
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = staticinvoke <org.apache.commons.logging.LogFactory: org.apache.commons.logging.Log getLog(java.lang.Class)>(v);
v.<org.springframework.context.support.ApplicationObjectSupport: org.apache.commons.logging.Log logger> = v;
return;
}
public final void setApplicationContext(org.springframework.context.ApplicationContext) throws org.springframework.beans.BeansException
{
org.springframework.context.ApplicationContextException v, v;
org.springframework.context.support.ApplicationObjectSupport v;
org.springframework.context.ApplicationContext v, v, v, v;
org.springframework.context.support.MessageSourceAccessor v;
java.lang.Class v, v;
java.lang.String v, v, v;
boolean v, v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
v := @parameter: org.springframework.context.ApplicationContext;
if v != null goto label;
v = virtualinvoke v.<org.springframework.context.support.ApplicationObjectSupport: boolean isContextRequired()>();
if v != 0 goto label;
v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.ApplicationContext applicationContext> = null;
v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.support.MessageSourceAccessor messageSourceAccessor> = null;
goto label;
label:
v = v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.ApplicationContext applicationContext>;
if v != null goto label;
v = virtualinvoke v.<org.springframework.context.support.ApplicationObjectSupport: java.lang.Class requiredContextClass()>();
v = virtualinvoke v.<java.lang.Class: boolean isInstance(java.lang.Object)>(v);
if v != 0 goto label;
v = new org.springframework.context.ApplicationContextException;
v = virtualinvoke v.<org.springframework.context.support.ApplicationObjectSupport: java.lang.Class requiredContextClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Invalid application context: needs to be of type [\u]");
specialinvoke v.<org.springframework.context.ApplicationContextException: void <init>(java.lang.String)>(v);
throw v;
label:
v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.ApplicationContext applicationContext> = v;
v = new org.springframework.context.support.MessageSourceAccessor;
specialinvoke v.<org.springframework.context.support.MessageSourceAccessor: void <init>(org.springframework.context.MessageSource)>(v);
v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.support.MessageSourceAccessor messageSourceAccessor> = v;
virtualinvoke v.<org.springframework.context.support.ApplicationObjectSupport: void initApplicationContext(org.springframework.context.ApplicationContext)>(v);
goto label;
label:
v = v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.ApplicationContext applicationContext>;
if v == v goto label;
v = new org.springframework.context.ApplicationContextException;
v = v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.ApplicationContext applicationContext>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.springframework.context.ApplicationContext,org.springframework.context.ApplicationContext)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot reinitialize with different application context: current one is [\u], passed-in one is [\u]");
specialinvoke v.<org.springframework.context.ApplicationContextException: void <init>(java.lang.String)>(v);
throw v;
label:
return;
}
protected boolean isContextRequired()
{
org.springframework.context.support.ApplicationObjectSupport v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
return 0;
}
protected java.lang.Class requiredContextClass()
{
org.springframework.context.support.ApplicationObjectSupport v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
return class "Lorg/springframework/context/ApplicationContext;";
}
protected void initApplicationContext(org.springframework.context.ApplicationContext) throws org.springframework.beans.BeansException
{
org.springframework.context.support.ApplicationObjectSupport v;
org.springframework.context.ApplicationContext v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
v := @parameter: org.springframework.context.ApplicationContext;
virtualinvoke v.<org.springframework.context.support.ApplicationObjectSupport: void initApplicationContext()>();
return;
}
protected void initApplicationContext() throws org.springframework.beans.BeansException
{
org.springframework.context.support.ApplicationObjectSupport v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
return;
}
public final org.springframework.context.ApplicationContext getApplicationContext() throws java.lang.IllegalStateException
{
java.lang.IllegalStateException v;
java.lang.String v;
org.springframework.context.support.ApplicationObjectSupport v;
org.springframework.context.ApplicationContext v, v;
boolean v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
v = v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.ApplicationContext applicationContext>;
if v != null goto label;
v = virtualinvoke v.<org.springframework.context.support.ApplicationObjectSupport: boolean isContextRequired()>();
if v == 0 goto label;
v = new java.lang.IllegalStateException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.springframework.context.support.ApplicationObjectSupport)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("ApplicationObjectSupport instance [\u] does not run in an ApplicationContext");
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.ApplicationContext applicationContext>;
return v;
}
protected final org.springframework.context.support.MessageSourceAccessor getMessageSourceAccessor() throws java.lang.IllegalStateException
{
java.lang.IllegalStateException v;
org.springframework.context.support.MessageSourceAccessor v, v;
java.lang.String v;
org.springframework.context.support.ApplicationObjectSupport v;
boolean v;
v := @this: org.springframework.context.support.ApplicationObjectSupport;
v = v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.support.MessageSourceAccessor messageSourceAccessor>;
if v != null goto label;
v = virtualinvoke v.<org.springframework.context.support.ApplicationObjectSupport: boolean isContextRequired()>();
if v == 0 goto label;
v = new java.lang.IllegalStateException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.springframework.context.support.ApplicationObjectSupport)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("ApplicationObjectSupport instance [\u] does not run in an ApplicationContext");
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v.<org.springframework.context.support.ApplicationObjectSupport: org.springframework.context.support.MessageSourceAccessor messageSourceAccessor>;
return v;
}
}