|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2007 the original author or authors. |
|
|
|
* Copyright 2002-2009 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -93,6 +93,11 @@ class JcaListenerContainerParser extends AbstractListenerContainerParser { |
|
|
|
configDef.getPropertyValues().add("maxConcurrency", concurrency[1]); |
|
|
|
configDef.getPropertyValues().add("maxConcurrency", concurrency[1]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String phase = containerEle.getAttribute(PHASE_ATTRIBUTE); |
|
|
|
|
|
|
|
if (StringUtils.hasText(phase)) { |
|
|
|
|
|
|
|
containerDef.getPropertyValues().add("phase", phase); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
String prefetch = containerEle.getAttribute(PREFETCH_ATTRIBUTE); |
|
|
|
String prefetch = containerEle.getAttribute(PREFETCH_ATTRIBUTE); |
|
|
|
if (StringUtils.hasText(prefetch)) { |
|
|
|
if (StringUtils.hasText(prefetch)) { |
|
|
|
configDef.getPropertyValues().add("prefetchSize", new Integer(prefetch)); |
|
|
|
configDef.getPropertyValues().add("prefetchSize", new Integer(prefetch)); |
|
|
|
|