Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Hibernate OGM, Domain model persistence for NoSQL datastores
  *
  * License: GNU Lesser General Public License (LGPL), version 2.1 or later
  * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  */
 package org.hibernate.ogm.options.navigation.impl;
 
 import java.util.Map;
Initialize the org.hibernate.ogm.options.spi.OptionsService so that other components can access it using the org.hibernate.service.ServiceRegistry.

Author(s):
Emmanuel Bernard <emmanuel@hibernate.org>
	public static final String MAPPING = "hibernate.ogm.mapping";
	public static final OptionsServiceInitiator INSTANCE = new OptionsServiceInitiator();
		return OptionsService.class;
	}
	public OptionsService initiateService(Map configurationValuesServiceRegistryImplementor registry) {
		return new OptionsServiceImpl();
	}
New to GrepCode? Check out our FAQ X