FileDocCategorySizeDatePackage
ClassLoadContext.javaAPI DocAndroid 1.5 API1790Wed May 06 22:41:16 BST 2009com.vladium.util

ClassLoadContext

public class ClassLoadContext extends Object
Information context for {@link IClassLoadStrategy#getClassLoader(ClassLoadContext)}.
author
Vlad Roubtsov, (C) 2003

Fields Summary
private final Class
m_caller
Constructors Summary
ClassLoadContext(Class caller)
This constructor is package-private to restrict instantiation to {@link ClassLoaderResolver} only.

param
caller [can be null]

        m_caller = caller;
    
Methods Summary
public final java.lang.ClassgetCallerClass()
Returns the class representing the caller of {@link ClassLoaderResolver} API. Can be used to retrieve the caller's classloader etc (which may be different from the ClassLoaderResolver's own classloader) ['null' if caller resolver could be instantiated due to security restrictions].

        return m_caller;