Package com.persequor.extension.ioc
Interface ISingleImplementationBinder<T>
- Type Parameters:
T
- Interface of the particular implementations
public interface ISingleImplementationBinder<T>
Allows binding only single implementation of a particular interface in extension points
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the extension point implementation, and thus falling back to any default behaviorvoid
Registers an implementation without enabling it.void
Sets the implementation of the extension point
-
Method Details
-
set
Sets the implementation of the extension point- Parameters:
implementation
- the implementation class to be instantiated by SAGA
-
clear
void clear()Clears the extension point implementation, and thus falling back to any default behavior -
register
Registers an implementation without enabling it. Following activation of the implementation can be done through other mechanisms (e.g. interactive UI).- Parameters:
implementation
- the implementation class to be registered
-