Author: asoldano
Date: 2015-06-05 08:23:50 -0400 (Fri, 05 Jun 2015)
New Revision: 19780
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/MessagePropertySettingInterceptor.java
Log:
Minor perf change, no need to have an instance of EjbWSOneWayThreadInterceptor for each
interceptor chain
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/MessagePropertySettingInterceptor.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/MessagePropertySettingInterceptor.java 2015-06-05
12:22:23 UTC (rev 19779)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/MessagePropertySettingInterceptor.java 2015-06-05
12:23:50 UTC (rev 19780)
@@ -42,7 +42,7 @@
*/
public class MessagePropertySettingInterceptor extends
AbstractPhaseInterceptor<Message>
{
- private EjbWSOneWayThreadInterceptor ejbOneWayInterceptor = new
EjbWSOneWayThreadInterceptor();
+ private static EjbWSOneWayThreadInterceptor ejbOneWayInterceptor = new
EjbWSOneWayThreadInterceptor();
public MessagePropertySettingInterceptor()
{
@@ -61,7 +61,7 @@
//complete
}
- public class EjbWSOneWayThreadInterceptor extends
AbstractPhaseInterceptor<Message>
+ private static class EjbWSOneWayThreadInterceptor extends
AbstractPhaseInterceptor<Message>
{
public EjbWSOneWayThreadInterceptor()
{
Show replies by date