All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.engine.common.impl.DelegatingBuildContext Maven / Gradle / Ivy

There is a newer version: 8.0.0.Alpha1
Show newest version
/*
 * Hibernate Search, full-text search for your domain model
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.search.engine.common.impl;

import org.hibernate.search.engine.cfg.ConfigurationPropertySource;
import org.hibernate.search.engine.common.resources.impl.EngineThreads;
import org.hibernate.search.engine.common.timing.spi.TimingSource;
import org.hibernate.search.engine.environment.bean.BeanResolver;
import org.hibernate.search.engine.environment.classpath.spi.ClassResolver;
import org.hibernate.search.engine.environment.classpath.spi.ResourceResolver;
import org.hibernate.search.engine.environment.thread.spi.ThreadPoolProvider;
import org.hibernate.search.engine.reporting.FailureHandler;

class DelegatingBuildContext {

	private final RootBuildContext delegate;

	DelegatingBuildContext(RootBuildContext delegate) {
		this.delegate = delegate;
	}

	public ClassResolver classResolver() {
		return delegate.getClassResolver();
	}

	public ResourceResolver resourceResolver() {
		return delegate.getResourceResolver();
	}

	public BeanResolver beanResolver() {
		return delegate.getBeanResolver();
	}

	public ConfigurationPropertySource configurationPropertySource() {
		return delegate.getConfigurationPropertySource();
	}

	public ThreadPoolProvider threadPoolProvider() {
		return delegate.getThreadPoolProvider();
	}

	public FailureHandler failureHandler() {
		return delegate.getFailureHandler();
	}

	public EngineThreads engineThreads() {
		return delegate.getEngineThreads();
	}

	public TimingSource timingSource() {
		return delegate.getTimingSource();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy