Package org.adempiere.base
Interface IMappedByNameFactory<T>
-
- Type Parameters:
T
-
- All Known Subinterfaces:
IMappedFormFactory
,IMappedProcessFactory
- All Known Implementing Classes:
MappedByNameFactory
,MappedFormFactory
,MappedProcessFactory
public interface IMappedByNameFactory<T>
Generic base interface for factory service that provide name/classname to instance mapping service- Author:
- hengsin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addMapping(String name, Supplier<T> supplier)
add name to class mappingSupplier<T>
getSupplier(String name)
default T
newInstance(String name)
void
removeMapping(String name)
remove name to class mapping
-