Code example for SessionDelegatorBaseImpl

Methods: sessionWithOptions

0
		return searchFactory;
	} 
 
	@Override 
	public FullTextSharedSessionBuilder sessionWithOptions() { 
		return new FullTextSharedSessionBuilderDelegator( super.sessionWithOptions() ); 
	} 
 
	private MassIndexerFactory createMassIndexerFactory() { 
		MassIndexerFactory factory;
		Properties properties = getSearchFactoryImplementor().getConfigurationProperties();
		String factoryClassName = properties.getProperty( MassIndexerFactory.MASS_INDEXER_FACTORY_CLASSNAME );
 
		if ( factoryClassName != null ) {
			SearchFactoryImplementor searchFactoryImplementor = getSearchFactoryImplementor();
			ServiceManager serviceManager = searchFactoryImplementor.getServiceManager();
			factory = ClassLoaderHelper.instanceFromName(
					MassIndexerFactory.class, factoryClassName, "Mass indexer factory", serviceManager
			); 
		} 
Experience pair programming with AI  Get Codota for Java