org.simantics.databoard.adapter
Class NewAdapterFactory
java.lang.Object
org.simantics.databoard.adapter.NewAdapterFactory
public abstract class NewAdapterFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewAdapterFactory
public NewAdapterFactory()
- Create a scheme factory.
NewAdapterFactory
public NewAdapterFactory(java.util.Map<Datatype,Binding> repository)
- Create scheme factory that appends constructed bindings to the user given
repository
- Parameters:
repository
- repository where bindings are placed
getRepository
public java.util.Map<Datatype,Binding> getRepository()
- Get adapter repository
- Returns:
- adapter repository
construct
public Binding construct(Datatype request)
throws BindingConstructionException
- Throws:
BindingConstructionException
getBinding
public Binding getBinding(Datatype type)
throws BindingConstructionException
- Throws:
BindingConstructionException
getBindingUnchecked
public Binding getBindingUnchecked(Datatype type)
throws RuntimeBindingConstructionException
- Throws:
RuntimeBindingConstructionException