org.hibernate.validator.internal.util.privilegedactions

## Class GetClassLoader

- java.lang.Object
- - org.hibernate.validator.internal.util.privilegedactions.GetClassLoader

- All Implemented Interfaces:
    PrivilegedAction<ClassLoader>

      public final class GetClassLoader
      extends Object
      implements PrivilegedAction<ClassLoader>

  Author:
    Emmanuel Bernard

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2014 Red Hat, Inc. All Rights Reserved