/** * <copyright> * * Copyright (c) 2005, 2006, 2007, 2008 Springsite BV (The Netherlands) and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Martin Taal * </copyright> * * $Id: HibernateResourceFactory.java,v 1.3 2008/02/28 07:08:24 mtaal Exp $ */ package org.eclipse.emf.teneo.hibernate.resource; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.resource.Resource; /** * Creates hibernate resources based on an uri. * * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> * @version $Revision: 1.3 $ */ public class HibernateResourceFactory implements Resource.Factory { /* * (non-Javadoc) * * @see org.eclipse.emf.ecore.resource.Resource.Factory#createResource(org.eclipse.emf.common.util.URI) */ public Resource createResource(URI uri) { return new HibernateResource(uri); } }