com.hazelcast.nio
Class ClassLoaderUtil

java.lang.Object
  extended by com.hazelcast.nio.ClassLoaderUtil

public final class ClassLoaderUtil
extends Object

Utility class to deal with classloaders.


Field Summary
static String HAZELCAST_ARRAY
           
static String HAZELCAST_BASE_PACKAGE
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HAZELCAST_BASE_PACKAGE

public static final String HAZELCAST_BASE_PACKAGE
See Also:
Constant Field Values

HAZELCAST_ARRAY

public static final String HAZELCAST_ARRAY
See Also:
Constant Field Values
Method Detail

newInstance

public static <T> T newInstance(ClassLoader classLoader,
                                String className)
                     throws Exception
Throws:
Exception

newInstance

public static <T> T newInstance(Class<T> klass,
                                ClassLoader classLoader,
                                String className)
                     throws Exception
Throws:
Exception

loadClass

public static Class<?> loadClass(ClassLoader classLoader,
                                 String className)
                          throws ClassNotFoundException
Throws:
ClassNotFoundException

isInternalType

public static boolean isInternalType(Class type)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.