Package ch.kk7.confij.binding.array
Class ArrayBindingFactory
java.lang.Object
ch.kk7.confij.binding.array.ArrayBindingFactory
- All Implemented Interfaces:
ConfigBindingFactory<ArrayBinding>
public class ArrayBindingFactory extends java.lang.Object implements ConfigBindingFactory<ArrayBinding>
-
Constructor Summary
Constructors Constructor Description ArrayBindingFactory() -
Method Summary
Modifier and Type Method Description java.util.Optional<ArrayBinding>maybeCreate(BindingType bindingType, ConfigBinder configBinder)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ArrayBindingFactory
public ArrayBindingFactory()
-
-
Method Details
-
maybeCreate
public java.util.Optional<ArrayBinding> maybeCreate(BindingType bindingType, ConfigBinder configBinder)- Specified by:
maybeCreatein interfaceConfigBindingFactory<ArrayBinding>- Parameters:
bindingType- java-type and binding context to be processedconfigBinder- the binder holding together all the factories- Returns:
- a binding if this factory can process this bindingType, empty otherwise
-