Class DefaultContextClassResolver

java.lang.Object
org.jboss.marshalling.AbstractClassResolver
org.jboss.marshalling.ContextClassResolver
org.infinispan.jboss.marshalling.commons.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>
  • Field Summary

    Fields inherited from class org.jboss.marshalling.AbstractClassResolver

    enforceSerialVersionUid
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected ClassLoader
     

    Methods inherited from class org.jboss.marshalling.AbstractClassResolver

    annotateClass, annotateProxyClass, getClassName, getProxyInterfaces, loadClass, resolveClass, resolveProxyClass

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultContextClassResolver

      public DefaultContextClassResolver(ClassLoader defaultClassLoader)
  • Method Details

    • getClassLoader

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