/*******************************************************************************
 * Copyright (C) 2018 Kwaku Twumasi-Afriyie <kwaku.twumasi@quakearts.com>
 * 
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 * 
 * SPDX-License-Identifier: EPL-2.0
 ******************************************************************************/
package com.quakearts.webapp.orm.cdi;

import javax.enterprise.inject.Produces;

import com.quakearts.webapp.orm.DataStoreFactory;
import com.quakearts.webapp.orm.cdi.annotation.DataStoreHandle;

public class DataStoreFactoryProducer {
	@Produces
	public @DataStoreHandle DataStoreFactory getDataStoreHandle() {
		return DataStoreFactory.getInstance();
	}
}

/*******************************************************************************
 * Copyright (C) 2018 Kwaku Twumasi-Afriyie <kwaku.twumasi@quakearts.com>
 * 
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 * 
 * SPDX-License-Identifier: EPL-2.0
 ******************************************************************************/
package com.quakearts.webapp.orm.cdi;

import javax.enterprise.inject.Produces;

import com.quakearts.webapp.orm.DataStoreFactory;
import com.quakearts.webapp.orm.cdi.annotation.DataStoreFactoryHandle;

public class DataStoreFactoryProducer {
	@Produces
	public @DataStoreFactoryHandle DataStoreFactory getDataStoreHandle() {
		return DataStoreFactory.getInstance();
	}
}

Use @DataStoreFactoryHandle instead of @DataStoreHandle
Use @DataStoreFactoryHandle instead of @DataStoreHandle