List of usage examples for org.springframework.boot.autoconfigure.jndi TestableInitialContextFactory bind
public static void bind(String name, Object obj)
From source file:org.springframework.boot.autoconfigure.jdbc.JndiDataSourceAutoConfigurationTests.java
private void configureJndi(String name, DataSource dataSource) throws IllegalStateException, NamingException { TestableInitialContextFactory.bind(name, dataSource); }