public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Class<T> |
classForName(String name)
Returns the actual class with the specified name
|
static void |
initializeWeldSingletonProvider()
Starts the singleton provider for weld.
|
static <T> T |
newInstance(String className)
Creates and returns a new instance of the specified class using a no-argument constructor
|
public static <T> T newInstance(String className)
T - className - InstantiationExceptionIllegalAccessExceptionpublic static <T> Class<T> classForName(String name)
T - name - The full name of the class i.e. java.lang.Stringpublic static void initializeWeldSingletonProvider()
This will be ACLSingletonProvider if there is ear support, otherwise TCCLSingletonProvider
Copyright © 2019. All rights reserved.