|  | @@ -20,11 +20,11 @@ import org.springframework.stereotype.Service;
 | 
												
													
														
															|  |   */
 |  |   */
 | 
												
													
														
															|  |  @Service
 |  |  @Service
 | 
												
													
														
															|  |  @Lazy(false)
 |  |  @Lazy(false)
 | 
												
													
														
															|  | -public class SpringContextHolder implements ApplicationContextAware, DisposableBean {
 |  | 
 | 
												
													
														
															|  | 
 |  | +public class SecuritySpringContextHolder implements ApplicationContextAware, DisposableBean {
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  	private static ApplicationContext applicationContext = null;
 |  |  	private static ApplicationContext applicationContext = null;
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  | -	private static Logger logger = LoggerFactory.getLogger(SpringContextHolder.class);
 |  | 
 | 
												
													
														
															|  | 
 |  | +	private static Logger logger = LoggerFactory.getLogger(SecuritySpringContextHolder.class);
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  	/**
 |  |  	/**
 | 
												
													
														
															|  |  	 * 取得存储在静态变量中的ApplicationContext.
 |  |  	 * 取得存储在静态变量中的ApplicationContext.
 | 
												
											
												
													
														
															|  | @@ -66,7 +66,7 @@ public class SpringContextHolder implements ApplicationContextAware, DisposableB
 | 
												
													
														
															|  |  	 */
 |  |  	 */
 | 
												
													
														
															|  |  	@Override
 |  |  	@Override
 | 
												
													
														
															|  |  	public void setApplicationContext(ApplicationContext applicationContext) {
 |  |  	public void setApplicationContext(ApplicationContext applicationContext) {
 | 
												
													
														
															|  | -		SpringContextHolder.applicationContext = applicationContext;
 |  | 
 | 
												
													
														
															|  | 
 |  | +		SecuritySpringContextHolder.applicationContext = applicationContext;
 | 
												
													
														
															|  |  	}
 |  |  	}
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  	/**
 |  |  	/**
 | 
												
											
												
													
														
															|  | @@ -74,7 +74,7 @@ public class SpringContextHolder implements ApplicationContextAware, DisposableB
 | 
												
													
														
															|  |  	 */
 |  |  	 */
 | 
												
													
														
															|  |  	@Override
 |  |  	@Override
 | 
												
													
														
															|  |  	public void destroy() throws Exception {
 |  |  	public void destroy() throws Exception {
 | 
												
													
														
															|  | -		SpringContextHolder.clearHolder();
 |  | 
 | 
												
													
														
															|  | 
 |  | +		SecuritySpringContextHolder.clearHolder();
 | 
												
													
														
															|  |  	}
 |  |  	}
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  	/**
 |  |  	/**
 |