public class org.springframework.context.support.GenericApplicationContext extends org.springframework.context.support.AbstractApplicationContext implements org.springframework.beans.factory.support.BeanDefinitionRegistry
{
private final org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory;
private org.springframework.core.io.ResourceLoader resourceLoader;
private boolean customClassLoader;
private final java.util.concurrent.atomic.AtomicBoolean refreshed;
public void <init>()
{
java.util.concurrent.atomic.AtomicBoolean v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: void <init>()>();
v.<org.springframework.context.support.GenericApplicationContext: boolean customClassLoader> = 0;
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>()>();
v.<org.springframework.context.support.GenericApplicationContext: java.util.concurrent.atomic.AtomicBoolean refreshed> = v;
v = new org.springframework.beans.factory.support.DefaultListableBeanFactory;
specialinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void <init>()>();
v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory> = v;
return;
}
public void <init>(org.springframework.beans.factory.support.DefaultListableBeanFactory)
{
java.util.concurrent.atomic.AtomicBoolean v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: org.springframework.beans.factory.support.DefaultListableBeanFactory;
specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: void <init>()>();
v.<org.springframework.context.support.GenericApplicationContext: boolean customClassLoader> = 0;
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>()>();
v.<org.springframework.context.support.GenericApplicationContext: java.util.concurrent.atomic.AtomicBoolean refreshed> = v;
staticinvoke <org.springframework.util.Assert: void notNull(java.lang.Object,java.lang.String)>(v, "BeanFactory must not be null");
v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory> = v;
return;
}
public void <init>(org.springframework.context.ApplicationContext)
{
org.springframework.context.ApplicationContext v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: org.springframework.context.ApplicationContext;
specialinvoke v.<org.springframework.context.support.GenericApplicationContext: void <init>()>();
virtualinvoke v.<org.springframework.context.support.GenericApplicationContext: void setParent(org.springframework.context.ApplicationContext)>(v);
return;
}
public void <init>(org.springframework.beans.factory.support.DefaultListableBeanFactory, org.springframework.context.ApplicationContext)
{
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.ApplicationContext v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: org.springframework.beans.factory.support.DefaultListableBeanFactory;
v := @parameter: org.springframework.context.ApplicationContext;
specialinvoke v.<org.springframework.context.support.GenericApplicationContext: void <init>(org.springframework.beans.factory.support.DefaultListableBeanFactory)>(v);
virtualinvoke v.<org.springframework.context.support.GenericApplicationContext: void setParent(org.springframework.context.ApplicationContext)>(v);
return;
}
public void setParent(org.springframework.context.ApplicationContext)
{
org.springframework.beans.factory.BeanFactory v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.ApplicationContext v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: org.springframework.context.ApplicationContext;
specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: void setParent(org.springframework.context.ApplicationContext)>(v);
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
v = virtualinvoke v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.BeanFactory getInternalParentBeanFactory()>();
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void setParentBeanFactory(org.springframework.beans.factory.BeanFactory)>(v);
return;
}
public void setAllowBeanDefinitionOverriding(boolean)
{
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
boolean v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: boolean;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void setAllowBeanDefinitionOverriding(boolean)>(v);
return;
}
public void setAllowCircularReferences(boolean)
{
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
boolean v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: boolean;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void setAllowCircularReferences(boolean)>(v);
return;
}
public void setResourceLoader(org.springframework.core.io.ResourceLoader)
{
org.springframework.core.io.ResourceLoader v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: org.springframework.core.io.ResourceLoader;
v.<org.springframework.context.support.GenericApplicationContext: org.springframework.core.io.ResourceLoader resourceLoader> = v;
return;
}
public org.springframework.core.io.Resource getResource(java.lang.String)
{
org.springframework.core.io.ResourceLoader v, v;
java.lang.String v;
org.springframework.context.support.GenericApplicationContext v;
org.springframework.core.io.Resource v, v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.core.io.ResourceLoader resourceLoader>;
if v == null goto label;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.core.io.ResourceLoader resourceLoader>;
v = interfaceinvoke v.<org.springframework.core.io.ResourceLoader: org.springframework.core.io.Resource getResource(java.lang.String)>(v);
return v;
label:
v = specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: org.springframework.core.io.Resource getResource(java.lang.String)>(v);
return v;
}
public org.springframework.core.io.Resource[] getResources(java.lang.String) throws java.io.IOException
{
org.springframework.core.io.Resource[] v, v;
org.springframework.core.io.ResourceLoader v, v;
java.lang.String v;
org.springframework.context.support.GenericApplicationContext v;
boolean v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.core.io.ResourceLoader resourceLoader>;
v = v instanceof org.springframework.core.io.support.ResourcePatternResolver;
if v == 0 goto label;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.core.io.ResourceLoader resourceLoader>;
v = interfaceinvoke v.<org.springframework.core.io.support.ResourcePatternResolver: org.springframework.core.io.Resource[] getResources(java.lang.String)>(v);
return v;
label:
v = specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: org.springframework.core.io.Resource[] getResources(java.lang.String)>(v);
return v;
}
public void setClassLoader(java.lang.ClassLoader)
{
java.lang.ClassLoader v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.ClassLoader;
specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: void setClassLoader(java.lang.ClassLoader)>(v);
v.<org.springframework.context.support.GenericApplicationContext: boolean customClassLoader> = 1;
return;
}
public java.lang.ClassLoader getClassLoader()
{
org.springframework.core.io.ResourceLoader v, v;
java.lang.ClassLoader v, v;
org.springframework.context.support.GenericApplicationContext v;
boolean v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.core.io.ResourceLoader resourceLoader>;
if v == null goto label;
v = v.<org.springframework.context.support.GenericApplicationContext: boolean customClassLoader>;
if v != 0 goto label;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.core.io.ResourceLoader resourceLoader>;
v = interfaceinvoke v.<org.springframework.core.io.ResourceLoader: java.lang.ClassLoader getClassLoader()>();
return v;
label:
v = specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: java.lang.ClassLoader getClassLoader()>();
return v;
}
protected final void refreshBeanFactory() throws java.lang.IllegalStateException
{
java.lang.IllegalStateException v;
java.util.concurrent.atomic.AtomicBoolean v;
java.lang.String v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
boolean v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v = v.<org.springframework.context.support.GenericApplicationContext: java.util.concurrent.atomic.AtomicBoolean refreshed>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicBoolean: boolean compareAndSet(boolean,boolean)>(0, 1);
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("GenericApplicationContext does not support multiple refresh attempts: just call \'refresh\' once");
throw v;
label:
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
v = virtualinvoke v.<org.springframework.context.support.GenericApplicationContext: java.lang.String getId()>();
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void setSerializationId(java.lang.String)>(v);
return;
}
protected void cancelRefresh(org.springframework.beans.BeansException)
{
org.springframework.beans.BeansException v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: org.springframework.beans.BeansException;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void setSerializationId(java.lang.String)>(null);
specialinvoke v.<org.springframework.context.support.AbstractApplicationContext: void cancelRefresh(org.springframework.beans.BeansException)>(v);
return;
}
protected final void closeBeanFactory()
{
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void setSerializationId(java.lang.String)>(null);
return;
}
public final org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
{
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
return v;
}
public final org.springframework.beans.factory.support.DefaultListableBeanFactory getDefaultListableBeanFactory()
{
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
return v;
}
public org.springframework.beans.factory.config.AutowireCapableBeanFactory getAutowireCapableBeanFactory() throws java.lang.IllegalStateException
{
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
virtualinvoke v.<org.springframework.context.support.GenericApplicationContext: void assertBeanFactoryActive()>();
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
return v;
}
public void registerBeanDefinition(java.lang.String, org.springframework.beans.factory.config.BeanDefinition) throws org.springframework.beans.factory.BeanDefinitionStoreException
{
org.springframework.beans.factory.config.BeanDefinition v;
java.lang.String v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v := @parameter: org.springframework.beans.factory.config.BeanDefinition;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void registerBeanDefinition(java.lang.String,org.springframework.beans.factory.config.BeanDefinition)>(v, v);
return;
}
public void removeBeanDefinition(java.lang.String) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
{
java.lang.String v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void removeBeanDefinition(java.lang.String)>(v);
return;
}
public org.springframework.beans.factory.config.BeanDefinition getBeanDefinition(java.lang.String) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
{
org.springframework.beans.factory.config.BeanDefinition v;
java.lang.String v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
v = virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: org.springframework.beans.factory.config.BeanDefinition getBeanDefinition(java.lang.String)>(v);
return v;
}
public boolean isBeanNameInUse(java.lang.String)
{
java.lang.String v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
boolean v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
v = virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: boolean isBeanNameInUse(java.lang.String)>(v);
return v;
}
public void registerAlias(java.lang.String, java.lang.String)
{
java.lang.String v, v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void registerAlias(java.lang.String,java.lang.String)>(v, v);
return;
}
public void removeAlias(java.lang.String)
{
java.lang.String v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: void removeAlias(java.lang.String)>(v);
return;
}
public boolean isAlias(java.lang.String)
{
java.lang.String v;
org.springframework.beans.factory.support.DefaultListableBeanFactory v;
org.springframework.context.support.GenericApplicationContext v;
boolean v;
v := @this: org.springframework.context.support.GenericApplicationContext;
v := @parameter: java.lang.String;
v = v.<org.springframework.context.support.GenericApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory>;
v = virtualinvoke v.<org.springframework.beans.factory.support.DefaultListableBeanFactory: boolean isAlias(java.lang.String)>(v);
return v;
}
}