public class org.springframework.context.access.ContextJndiBeanFactoryLocator extends org.springframework.jndi.JndiLocatorSupport implements org.springframework.beans.factory.access.BeanFactoryLocator
{
public static final java.lang.String BEAN_FACTORY_PATH_DELIMITERS;
public void <init>()
{
org.springframework.context.access.ContextJndiBeanFactoryLocator v;
v := @this: org.springframework.context.access.ContextJndiBeanFactoryLocator;
specialinvoke v.<org.springframework.jndi.JndiLocatorSupport: void <init>()>();
return;
}
public org.springframework.beans.factory.access.BeanFactoryReference useBeanFactory(java.lang.String) throws org.springframework.beans.BeansException
{
org.springframework.beans.factory.access.BootstrapException v;
java.lang.String[] v;
javax.naming.NamingException v;
org.springframework.beans.factory.access.BeanFactoryReference v;
org.springframework.context.access.ContextJndiBeanFactoryLocator v;
java.lang.Object v;
org.apache.commons.logging.Log v, v;
java.lang.String v, v, v;
boolean v;
v := @this: org.springframework.context.access.ContextJndiBeanFactoryLocator;
v := @parameter: java.lang.String;
label:
v = virtualinvoke v.<org.springframework.context.access.ContextJndiBeanFactoryLocator: java.lang.Object lookup(java.lang.String,java.lang.Class)>(v, class "Ljava/lang/String;");
v = v.<org.springframework.context.access.ContextJndiBeanFactoryLocator: org.apache.commons.logging.Log logger>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isTraceEnabled()>();
if v == 0 goto label;
v = v.<org.springframework.context.access.ContextJndiBeanFactoryLocator: org.apache.commons.logging.Log logger>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(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[])>("Bean factory path from JNDI environment variable [\u] is: \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void trace(java.lang.Object)>(v);
label:
v = staticinvoke <org.springframework.util.StringUtils: java.lang.String[] tokenizeToStringArray(java.lang.String,java.lang.String)>(v, ",; \t\n");
v = virtualinvoke v.<org.springframework.context.access.ContextJndiBeanFactoryLocator: org.springframework.beans.factory.access.BeanFactoryReference createBeanFactory(java.lang.String[])>(v);
label:
return v;
label:
v := @caughtexception;
v = new org.springframework.beans.factory.access.BootstrapException;
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[])>("Define an environment variable [\u] containing the class path locations of XML bean definition files");
specialinvoke v.<org.springframework.beans.factory.access.BootstrapException: void <init>(java.lang.String,java.lang.Throwable)>(v, v);
throw v;
catch javax.naming.NamingException from label to label with label;
}
protected org.springframework.beans.factory.access.BeanFactoryReference createBeanFactory(java.lang.String[]) throws org.springframework.beans.BeansException
{
org.springframework.context.access.ContextBeanFactoryReference v;
org.springframework.context.access.ContextJndiBeanFactoryLocator v;
java.lang.String[] v;
org.springframework.context.ApplicationContext v;
v := @this: org.springframework.context.access.ContextJndiBeanFactoryLocator;
v := @parameter: java.lang.String[];
v = virtualinvoke v.<org.springframework.context.access.ContextJndiBeanFactoryLocator: org.springframework.context.ApplicationContext createApplicationContext(java.lang.String[])>(v);
v = new org.springframework.context.access.ContextBeanFactoryReference;
specialinvoke v.<org.springframework.context.access.ContextBeanFactoryReference: void <init>(org.springframework.context.ApplicationContext)>(v);
return v;
}
protected org.springframework.context.ApplicationContext createApplicationContext(java.lang.String[]) throws org.springframework.beans.BeansException
{
org.springframework.context.support.ClassPathXmlApplicationContext v;
java.lang.String[] v;
org.springframework.context.access.ContextJndiBeanFactoryLocator v;
v := @this: org.springframework.context.access.ContextJndiBeanFactoryLocator;
v := @parameter: java.lang.String[];
v = new org.springframework.context.support.ClassPathXmlApplicationContext;
specialinvoke v.<org.springframework.context.support.ClassPathXmlApplicationContext: void <init>(java.lang.String[])>(v);
return v;
}
}