return DatastoreServices.class;
}
@Override
public DatastoreServices initiateService(SessionFactoryImplementor sessionFactory, Configuration configuration, ServiceRegistryImplementor registry) {
GridDialectFactory dialectFactory = registry.getService( GridDialectFactory.class );
GridDialect gridDialect = dialectFactory.buildGridDialect( configuration.getProperties(), registry );
return new DatastoreServicesImpl( gridDialect );
}