Java 类org.springframework.boot.autoconfigure.jndi.JndiPropertiesHidingClassLoader 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JndiDataSourceAutoConfigurationTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:MailSenderAutoConfigurationTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ConditionalOnJndiTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:spring-boot-concourse    文件:JndiDataSourceAutoConfigurationTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:spring-boot-concourse    文件:MailSenderAutoConfigurationTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:spring-boot-concourse    文件:ConditionalOnJndiTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:contestparser    文件:JndiDataSourceAutoConfigurationTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:contestparser    文件:MailSenderAutoConfigurationTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}
项目:contestparser    文件:ConditionalOnJndiTests.java   
@Before
public void setupThreadContextClassLoader() {
    this.threadContextClassLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(
            new JndiPropertiesHidingClassLoader(getClass().getClassLoader()));
}