Java Code Examples for ch.qos.logback.core.util.Loader#getResource()
The following examples show how to use
ch.qos.logback.core.util.Loader#getResource() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ContextInitializer.java From stategen with GNU Affero General Public License v3.0 | 5 votes |
private URL getResource(String filename, ClassLoader myClassLoader, boolean updateStatus) { URL url = Loader.getResource(filename, myClassLoader); if (updateStatus) { statusOnResourceSearch(filename, myClassLoader, url); } return url; }
Example 2
Source File: KonkerContextInitializer.java From konker-platform with Apache License 2.0 | 5 votes |
private URL getResource(String filename, ClassLoader myClassLoader, boolean updateStatus) { URL url = Loader.getResource(filename, myClassLoader); if (updateStatus) { this.statusOnResourceSearch(filename, myClassLoader, url); } return url; }
Example 3
Source File: LogbackConfigurator.java From cuba with Apache License 2.0 | 5 votes |
private URL getResource(String filename, ClassLoader myClassLoader, boolean updateStatus) { URL url = Loader.getResource(filename, myClassLoader); if (updateStatus) { statusOnResourceSearch(filename, myClassLoader, url); } return url; }
Example 4
Source File: LogSetting.java From ns4_frame with Apache License 2.0 | 4 votes |
private URL getResource(String filename, ClassLoader myClassLoader) { URL url = Loader.getResource(filename, myClassLoader); return url; }
Example 5
Source File: NsLog.java From ns4_frame with Apache License 2.0 | 4 votes |
private static URL getResource(String filename, ClassLoader myClassLoader) { URL url = Loader.getResource(filename, myClassLoader); return url; }