@PrivateApi public final class ClassLoaderUtil extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | HAZELCAST_ARRAY | 
| static String | HAZELCAST_BASE_PACKAGE | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isClassAvailable(ClassLoader classLoader,
                String className) | 
| static boolean | isClassDefined(String className)Indicates whether or not the given class exists | 
| static boolean | isInternalType(Class type) | 
| static Class<?> | loadClass(ClassLoader classLoader,
         String className) | 
| static <T> T | newInstance(Class<T> klass,
           ClassLoader classLoader,
           String className) | 
| static <T> T | newInstance(ClassLoader classLoader,
           String className) | 
| static Class<?> | tryLoadClass(String className)Tries to load the given class. | 
public static final String HAZELCAST_BASE_PACKAGE
public static final String HAZELCAST_ARRAY
public static <T> T newInstance(ClassLoader classLoader, String className) throws Exception
Exceptionpublic static <T> T newInstance(Class<T> klass, ClassLoader classLoader, String className) throws Exception
Exceptionpublic static Class<?> loadClass(ClassLoader classLoader, String className) throws ClassNotFoundException
ClassNotFoundExceptionpublic static boolean isClassAvailable(ClassLoader classLoader, String className)
public static boolean isInternalType(Class type)
public static Class<?> tryLoadClass(String className) throws ClassNotFoundException
className - Name of the class to loadClassNotFoundException - when the class is not foundpublic static boolean isClassDefined(String className)
className - Name of the classtrue if the class exists, false otherwiseCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.