Lucio Lelii 2015-07-13 10:56:31 +00:00
parent 7da0346582
commit cb25f11f3d
2 changed files with 4 additions and 4 deletions

View File

@ -24,13 +24,13 @@ public class AuthorizationProvider {
public UserInfo get(){
UserInfo info = threadAuth.get();
logger.info("getting "+info+" in thread "+Thread.currentThread().getId() );
logger.trace("getting "+info+" in thread "+Thread.currentThread().getId() );
return info;
}
public void set(UserInfo authorizationToken){
threadAuth.set(authorizationToken);
logger.info("setting "+authorizationToken+" in thread "+Thread.currentThread().getId() );
logger.trace("setting "+authorizationToken+" in thread "+Thread.currentThread().getId() );
}
public void reset(){

View File

@ -23,13 +23,13 @@ public static CalledMethodProvider instance = new CalledMethodProvider();
public String get(){
String calledMethod = threadMethod.get();
logger.info("getting "+calledMethod+" in thread "+Thread.currentThread().getId() );
logger.trace("getting calledMethod as "+calledMethod+" in thread "+Thread.currentThread().getId() );
return calledMethod;
}
public void set(String calledMethod){
threadMethod.set(calledMethod);
logger.info("setting "+calledMethod+" in thread "+Thread.currentThread().getId() );
logger.trace("setting calledMethod as "+calledMethod+" in thread "+Thread.currentThread().getId() );
}
public void reset(){