org.apache.catalina.startup.CatalinaProperties Java Examples
The following examples show how to use
org.apache.catalina.startup.CatalinaProperties.
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: SecurityConfig.java From Tomcat8-Source-Read with MIT License | 6 votes |
/** * Create a single instance of this class. */ private SecurityConfig() { String definition = null; String access = null; try{ definition = CatalinaProperties.getProperty("package.definition"); access = CatalinaProperties.getProperty("package.access"); } catch (java.lang.Exception ex){ if (log.isDebugEnabled()){ log.debug("Unable to load properties using CatalinaProperties", ex); } } finally { packageDefinition = definition; packageAccess = access; } }
Example #2
Source File: SecurityConfig.java From Tomcat7.0.67 with Apache License 2.0 | 5 votes |
/** * Create a single instance of this class. */ private SecurityConfig(){ try{ packageDefinition = CatalinaProperties.getProperty("package.definition"); packageAccess = CatalinaProperties.getProperty("package.access"); } catch (java.lang.Exception ex){ if (log.isDebugEnabled()){ log.debug("Unable to load properties using CatalinaProperties", ex); } } }
Example #3
Source File: SecurityConfig.java From tomcatsrc with Apache License 2.0 | 5 votes |
/** * Create a single instance of this class. */ private SecurityConfig(){ try{ packageDefinition = CatalinaProperties.getProperty("package.definition"); packageAccess = CatalinaProperties.getProperty("package.access"); } catch (java.lang.Exception ex){ if (log.isDebugEnabled()){ log.debug("Unable to load properties using CatalinaProperties", ex); } } }
Example #4
Source File: TomcatLog.java From uavstack with Apache License 2.0 | 4 votes |
public TomcatLog(String name) { super(name); this.log = LogFactory.getLog(name); Boolean debugcheck = Boolean.valueOf(CatalinaProperties.getProperty("com.creditease.monitor.debug")); this.setDebugable(debugcheck); }