Package deltix.qsrv.hf.pub
Class SimpleTypeLoader
- java.lang.Object
-
- deltix.qsrv.hf.pub.SimpleTypeLoader
-
- All Implemented Interfaces:
TypeLoader
public class SimpleTypeLoader extends java.lang.Object implements TypeLoader
A simple implementation of theTypeLoader
interface, which maps class names to pre-existing classes.
-
-
Constructor Summary
Constructors Constructor Description SimpleTypeLoader(java.lang.Object... params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
load(ClassDescriptor cd)
-
-
-
Method Detail
-
load
public java.lang.Class<?> load(ClassDescriptor cd) throws java.lang.ClassNotFoundException
- Specified by:
load
in interfaceTypeLoader
- Returns:
- Class for type specified by given descriptor (never null). Implementation of this function must return the same class for identical class descriptors (i.e. must be "pure function").
- Throws:
java.lang.ClassNotFoundException
-
-