public class ClassLoaderAccessImpl extends Object implements ClassLoaderAccess
Constructor and Description |
---|
ClassLoaderAccessImpl(ClassLoader jpaTempClassLoader,
ClassLoaderService classLoaderService) |
ClassLoaderAccessImpl(ClassLoaderService classLoaderService) |
ClassLoaderAccessImpl(ClassLoader tempClassLoader,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
classForName(String name)
Obtain a Class reference by name
|
URL |
locateResource(String resourceName)
Locate a resource by name
|
public ClassLoaderAccessImpl(ClassLoader jpaTempClassLoader, ClassLoaderService classLoaderService)
public ClassLoaderAccessImpl(ClassLoader tempClassLoader, ServiceRegistry serviceRegistry)
public ClassLoaderAccessImpl(ClassLoaderService classLoaderService)
public Class<?> classForName(String name)
ClassLoaderAccess
classForName
in interface ClassLoaderAccess
name
- The name of the Class to get a reference to.public URL locateResource(String resourceName)
ClassLoaderAccess
locateResource
in interface ClassLoaderAccess
resourceName
- The name of the resource to resolve.null
to indicate the resource was not foundCopyright © 2017 JBoss by Red Hat. All rights reserved.