private Properties createJndiEnv()

in src/main/java/org/apache/sling/datasource/internal/JNDIDataSourceFactory.java [138:148]


    private Properties createJndiEnv(Map<String, ?> config) {
        Properties props = new Properties();

        //Copy the other properties first
        Map<String, String> otherProps = PropertiesUtil.toMap(config.get(PROP_JNDI_PROPS), new String[0]);
        for (Map.Entry<String, String> e : otherProps.entrySet()) {
            set(e.getKey(), e.getValue(), props);
        }

        return props;
    }