org.hibernate.validator.util.privilegedactions
Class GetClassLoader

java.lang.Object
  extended by org.hibernate.validator.util.privilegedactions.GetClassLoader
All Implemented Interfaces:
PrivilegedAction<ClassLoader>

public final class GetClassLoader
extends Object
implements PrivilegedAction<ClassLoader>

Author:
Emmanuel Bernard

Method Summary
static GetClassLoader fromClass(Class<?> clazz)
           
static GetClassLoader fromContext()
           
 ClassLoader run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fromContext

public static GetClassLoader fromContext()

fromClass

public static GetClassLoader fromClass(Class<?> clazz)

run

public ClassLoader run()
Specified by:
run in interface PrivilegedAction<ClassLoader>


Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved