Package org.eclipse.e4.core.di
Interface IBinding
-
public interface IBindingDescribes binding between object description and its implementation to be used by the dependency injection.- Since:
- 1.7
- See Also:
IInjector.addBinding(Class),IInjector.addBinding(IBinding)- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBindingimplementedBy(java.lang.Class<?> clazz)Creates a binding for the specified classIBindingnamed(java.lang.String name)Creates a binding for the specified name.
-
-
-
Method Detail
-
named
IBinding named(java.lang.String name)
Creates a binding for the specified name.- Parameters:
name- name for this binding- Returns:
- binding for the specified name
-
implementedBy
IBinding implementedBy(java.lang.Class<?> clazz)
Creates a binding for the specified class- Parameters:
clazz- class for this binding- Returns:
- binding for the specified class
-
-