public interface NodeLoaderFactory<L,K>
NodeLoader
:s for a given key domain.Modifier and Type | Method and Description |
---|---|
NodeLoader<? extends L> |
createNodeLoader(K key)
Create a node loader that knows how to load nodes for items
that are specified by the given key.
|
NodeLoader<? extends L> createNodeLoader(K key)
key
- A key that can be used to identify which items the node
loader should loadItemNotFoundException
- If a node loader for the given key
can't be found. NOTE! Instead of throwing an exception it is possible
to return a NullNodeLoader
or any other "generic" implementation.BaseException
- If there is any other problem creating the
node loader