@ -61,7 +61,6 @@ public class WebSocketHandlerInvoker implements WebSocketHandler {
@@ -61,7 +61,6 @@ public class WebSocketHandlerInvoker implements WebSocketHandler {
}
try{
Assert.isTrue(this.sessionCount.compareAndSet(0,1),"Unexpected new session");
@ -34,14 +34,14 @@ public class BeanCreatingHandlerProvider<T> implements BeanFactoryAware {
@@ -34,14 +34,14 @@ public class BeanCreatingHandlerProvider<T> implements BeanFactoryAware {
Assert.notNull(handlerType,"handlerType is required");
this.handlerType=handlerType;
}
@ -52,24 +52,20 @@ public class BeanCreatingHandlerProvider<T> implements BeanFactoryAware {
@@ -52,24 +52,20 @@ public class BeanCreatingHandlerProvider<T> implements BeanFactoryAware {
}
}
publicbooleanisSingleton(){
returnfalse;
}
publicClass<?extendsT>getHandlerType(){
returnthis.handlerClass;
returnthis.handlerType;
}
publicTgetHandler(){
if(logger.isTraceEnabled()){
logger.trace("Creating instance for handler type "+this.handlerClass);
logger.trace("Creating instance for handler type "+this.handlerType);
}
if(this.beanFactory==null){
logger.warn("No BeanFactory available, attempting to use default constructor");
@ -84,7 +80,7 @@ public class BeanCreatingHandlerProvider<T> implements BeanFactoryAware {
@@ -84,7 +80,7 @@ public class BeanCreatingHandlerProvider<T> implements BeanFactoryAware {