Class GlobalObjectTransformerLoader
- java.lang.Object
-
- org.zalando.sprocwrapper.globalobjecttransformer.GlobalObjectTransformerLoader
-
public class GlobalObjectTransformerLoader extends Object
-
-
Constructor Summary
Constructors Constructor Description GlobalObjectTransformerLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
changeNamespaceToScan(String newNamespace)
Use this static function to set the namespace to scan.static <T> ObjectMapper<T>
getObjectMapperForClass(Class<T> genericType)
-
-
-
Method Detail
-
getObjectMapperForClass
public static <T> ObjectMapper<T> getObjectMapperForClass(Class<T> genericType) throws InstantiationException, IllegalAccessException, InvocationTargetException, SecurityException, IllegalArgumentException, NoSuchMethodException
-
changeNamespaceToScan
public static void changeNamespaceToScan(String newNamespace)
Use this static function to set the namespace to scan.- Parameters:
newNamespace
- the new namespace to be searched forGlobalValueTransformer
-
-