Marshalling API version 1.0.0.GA

org.jboss.marshalling
Class ContextClassResolver

java.lang.Object
  extended by org.jboss.marshalling.AbstractClassResolver
      extended by org.jboss.marshalling.ContextClassResolver
All Implemented Interfaces:
ClassResolver

public class ContextClassResolver
extends AbstractClassResolver

A class resolver which uses the context classloader to resolve classes.


Constructor Summary
ContextClassResolver()
          Construct a new instance.
 
Method Summary
protected  ClassLoader getClassLoader()
          Get the classloader to use to resolve classes for this resolver.
 
Methods inherited from class org.jboss.marshalling.AbstractClassResolver
annotateClass, annotateProxyClass, resolveClass, resolveProxyClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextClassResolver

public ContextClassResolver()
Construct a new instance.

Method Detail

getClassLoader

protected ClassLoader getClassLoader()
Get the classloader to use to resolve classes for this resolver.

Specified by:
getClassLoader in class AbstractClassResolver
Returns:
the classloader

Marshalling API version 1.0.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.