public class VaadinServiceClassLoaderUtil extends Object
VaadinService.setDefaultClassLoader().| Modifier and Type | Method and Description |
|---|---|
static ClassLoader |
findDefaultClassLoader()
Called by
VaadinService.setDefaultClassLoader() to acquire
appropriate class loader to load application's classes (e.g. |
public static ClassLoader findDefaultClassLoader() throws SecurityException
VaadinService.setDefaultClassLoader() to acquire
appropriate class loader to load application's classes (e.g. UI). Calls
should be guarded by try/catch block to catch SecurityException and log
appropriate message. The code for this method is modeled after
recommendations laid out by JEE 5 specification sections EE.6.2.4.7 and
EE.8.2.5ClassLoader that should be used by this
instance of VaadinServiceSecurityException - if current security policy doesn't allow acquiring current
thread's context class loaderCopyright © 2017 Vaadin Ltd. All rights reserved.