org.simantics.databoard.binding.reflection
Interface BindingSubFactory

All Known Implementing Classes:
JavaUtilBindingsFactory, TroveBindingsFactory

public interface BindingSubFactory


Method Summary
 Binding construct(ClassBindingFactory mainFactory, BindingRequest request)
          Construct a binding request.
 

Method Detail

construct

Binding construct(ClassBindingFactory mainFactory,
                  BindingRequest request)
                  throws BindingConstructionException
Construct a binding request. This method returns null if construction is not supported by this factory. Exception is thrown if construction is expected to success but fails for a reason. If this class constructs a compositive type: Array, Map, Optional, Record or Union, the composite types/fields need not be filled, and should be left null. They are filled by the caller.

Parameters:
request -
mainFactory - master factory
Returns:
binding or null
Throws:
BindingConstructionException