org.sakaiproject.entitybroker.util
Interface ClassLoaderReporter
public interface ClassLoaderReporter
Allows a bean to report the classloader that is appropriate for it and will be used
for dispatching into this beans environment, this is only needed in advanced
cases and should not normally be implemented
The primary use case here is to allow someone to set their classloader when they
are using a proxied bean or the implementation class is in the wrong classloader
This is primarily used in the case of the HttpServletAccessProvider
or EntityViewAccessProvider
and the implementations of those should also implement this interface
to be able to specify the classloader
- Author:
- Aaron Zeckoski (aaron@caret.cam.ac.uk)
getSuitableClassLoader
ClassLoader getSuitableClassLoader()
- Returns:
- the classloader that is appropriate for executing methods against this bean
Copyright © 2007-2012 Sakai Project. All Rights Reserved.