Class DefaultContextClassResolver

  • All Implemented Interfaces:
    org.jboss.marshalling.ClassResolver
    Direct Known Subclasses:
    CheckedClassResolver

    public class DefaultContextClassResolver
    extends org.jboss.marshalling.ContextClassResolver
    This class refines ContextClassLoader to add a default class loader. The context class loader is only used when the default is null.
    Since:
    4.2
    Author:
    Dan Berindei <dberinde@redhat.com>
    • Constructor Detail

      • DefaultContextClassResolver

        public DefaultContextClassResolver​(ClassLoader defaultClassLoader)
    • Method Detail

      • getClassLoader

        protected ClassLoader getClassLoader()
        Overrides:
        getClassLoader in class org.jboss.marshalling.ContextClassResolver