Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.util
Class ClassResolverImpl

    java.lang.Object
      org.apache.openjpa.util.ClassResolverImpl

All Implemented Interfaces:
  ClassResolver

    public class ClassResolverImpl

extends Object
implements ClassResolver

Default class resolver implementation.

Since:
  0.3.0
Author:
  Abe White

Constructor Summary
`ClassResolverImpl()`

Method Summary
`ClassLoader` | `getClassLoader(Class contextClass, ClassLoader envLoader)` Return a class loader that can be used to load classes and resources.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ClassResolverImpl

    public ClassResolverImpl()

Method Detail

### getClassLoader

    public ClassLoader getClassLoader(Class contextClass,
                                      ClassLoader envLoader)

  Description copied from interface: `ClassResolver`
  Return a class loader that can be used to load classes and resources. This can be a standard class loader, or a customized loader such as a `MultiClassLoader`.

  Specified by:
    `getClassLoader` in interface `ClassResolver`
  Parameters:
    `contextClass` - the context class; may be null if no context class
    `envLoader` - the thread's context class loader when the persistence environment (i.e. broker) was obtained; may be null if operating outside the context of persistence environment

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Apache Software Foundation. All Rights Reserved.