Class GetResources
- java.lang.Object
-
- org.hibernate.validator.internal.util.privilegedactions.GetResources
-
- All Implemented Interfaces:
PrivilegedAction<Enumeration<URL>>
public final class GetResources extends Object implements PrivilegedAction<Enumeration<URL>>
APrivilegedActionwrapping aroundClassLoader.getResources(String).- Author:
- Hardy Ferentschik
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourcesaction(ClassLoader classLoader, String resourceName)Enumeration<URL>run()
-
-
-
Method Detail
-
action
public static GetResources action(ClassLoader classLoader, String resourceName)
-
run
public Enumeration<URL> run()
- Specified by:
runin interfacePrivilegedAction<Enumeration<URL>>
-
-