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

se.jbee.inject.service.ServiceProvider Maven / Gradle / Ivy

There is a newer version: 0.6
Show newest version
/*
 *  Copyright (c) 2012, Jan Bernitt 
 *			
 *  Licensed under the Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0
 */
package se.jbee.inject.service;

import se.jbee.inject.Type;

/**
 * A {@link ServiceProvider} resolves {@link ServiceMethod}s by {@link Type}.
 * 
 * @author Jan Bernitt ([email protected])
 */
public interface ServiceProvider {

	/**
	 * @return the {@link ServiceMethod} that implements a service having the given parameter and
	 *         return {@link Type}.
	 */
	 ServiceMethod provide( Type

parameterType, Type returnType ); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy