public class ClassLoaderClassSerializerFilter extends Object implements ClassSerializerFilter
ClassLoader to check for fields to be included or not in the serialization.| Constructor and Description |
|---|
ClassLoaderClassSerializerFilter(ClassLoader targetClassLoader)
Creates an instance of the filter class loader serializer with the target class loader to check if classes can be deserialized.
|
public ClassLoaderClassSerializerFilter(ClassLoader targetClassLoader)
targetClassLoader - ClassLoader to check if the class should be included in serialization.public boolean shouldInclude(Class type)
shouldInclude in interface ClassSerializerFiltertype - the Class type if it could be deserialized in the target class loader.true if it should be serialized or not.Copyright © 2022 MuleSoft, Inc.. All rights reserved.