public class SimpleClassResolver extends AbstractClassResolver
enforceSerialVersionUid
Constructor and Description |
---|
SimpleClassResolver(boolean enforceSerialVersionUid,
ClassLoader classLoader)
Construct a new instance, specifying a classloader and a flag which determines whether
serialVersionUID
matching will be enforced. |
SimpleClassResolver(ClassLoader classLoader)
Construct a new instance, specifying a classloader.
|
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
getClassLoader()
Get the classloader to use to resolve classes for this resolver.
|
annotateClass, annotateProxyClass, getClassName, getProxyInterfaces, loadClass, resolveClass, resolveProxyClass
public SimpleClassResolver(ClassLoader classLoader)
classLoader
- the classloader to usepublic SimpleClassResolver(boolean enforceSerialVersionUid, ClassLoader classLoader)
serialVersionUID
matching will be enforced.enforceSerialVersionUid
- true
to throw an exception on unmatched serialVersionUID
classLoader
- the classloader to useprotected ClassLoader getClassLoader()
getClassLoader
in class AbstractClassResolver
Copyright © 2019 JBoss by Red Hat. All rights reserved.