public void foundDS()

in jpa-container/src/main/java/org/apache/aries/jpa/container/impl/AriesEntityManagerFactoryBuilder.java [497:512]


	public void foundDS(DataSource ds) {
		boolean build = false;
		Map<String,Object> props = null;
		synchronized (this) {
			if(activeConnectionProvider == null) {
				activeConnectionProvider = ds;
				build = true;
				props = activeProps == null ? new HashMap<String, Object>() :
					new HashMap<String, Object>(activeProps);
			}
		}
		
		if(build) {
			dataSourceReady(ds, props);
		}
	}