blob: cc8e3013437fede693848210d60fe2f413db4bc3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2013 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Stuart McCulloch (Sonatype, Inc.) - initial API and implementation
*******************************************************************************/
package org.eclipse.sisu.inject;
import com.google.inject.Binder;
/**
* Binding source locations should implement this interface to supply descriptions to the {@link BeanLocator}.
*
* @see Binder#withSource(Object)
*/
public interface DescribedBinding
{
/**
* @return Human-readable description
*/
String getDescription();
}