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