modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml | 100 +++-------
1 file changed, 37 insertions(+), 63 deletions(-)
New commits:
commit 84fdfb65809c9e897ce3a841186181c9125edeb1
Author: Simeon Pinder <spinder(a)fulliautomatix.conchfritter.com>
Date: Sat Aug 31 02:38:31 2013 -0400
[BZ 998058] Adding blocking-bounded-queue-thread-pool and
blocking-queueless-thread-pool to list of supported templates.
diff --git a/modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml
b/modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml
index 07f9c59..0873c17 100644
--- a/modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml
+++ b/modules/plugins/jboss-as-7/src/main/resources/META-INF/rhq-plugin.xml
@@ -852,6 +852,37 @@
<c:simple-property name="queue-length:expr" required="false"
type="integer" readOnly="false" displayName="Queue Length"
description="The queue length. Required only for Bounded and Blocking Bounded Thread
Pools."/>
'>
+ <!ENTITY threadPoolTemplateResourceConfig '
+ <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool" displayName="Thread Pool Type"
description="Thread pool type">
+ <c:property-options>
+ <c:option value="blocking-bounded-queue-thread-pool"/>
+ <c:option value="blocking-queueless-thread-pool"/>
+ <c:option value="bounded-queue-thread-pool"/>
+ <c:option value="queueless-thread-pool"/>
+ <c:option value="unbounded-queue-thread-pool"/>
+ <c:option value="scheduled-thread-pool"/>
+ </c:property-options>
+ </c:simple-property>
+ <c:template name="Blocking Queueless Thread Pool"
description="Blocking Queueless Thread Pool">
+ <c:simple-property name="__type" readOnly="true"
default="blocking-queueless-thread-pool"/>
+ </c:template>
+ <c:template name="Blocking Bounded Queue Thread Pool"
description="Blocking Bounded Queue Thread Pool">
+ <c:simple-property name="__type" readOnly="true"
default="blocking-bounded-queue-thread-pool"/>
+ </c:template>
+ <c:template name="Bounded Queue Thread Pool"
description="Bounded Queue Thread Pool">
+ <c:simple-property name="__type" readOnly="true"
default="bounded-queue-thread-pool"/>
+ </c:template>
+ <c:template name="Queueless Thread Pool" description="Queueless
Thread Pool">
+ <c:simple-property name="__type" readOnly="true"
default="queueless-thread-pool"/>
+ </c:template>
+ <c:template name="Scheduled Thread Pool" description="Scheduled
Thread Pool">
+ <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool"/>
+ </c:template>
+ <c:template name="Unbounded Queue Thread Pool"
description="Unbounded Queue Thread Pool">
+ <c:simple-property name="__type" readOnly="true"
default="unbounded-queue-thread-pool"/>
+ </c:template>
+'>
+
<!ENTITY flagModuleResourceConfig '
<resource-configuration>
<c:simple-property name="code" required="true"
type="string" readOnly="false" description="Class name of the
module to be instantiated."/>
@@ -3158,7 +3189,7 @@
createDeletePolicy="neither">
<plugin-configuration>
- <c:simple-property name="path" readOnly="true"
default="bounded-queue-thread-pool|queueless-thread-pool|scheduled-thread-pool|unbounded-queue-thread-pool"/>
+ <c:simple-property name="path" readOnly="true"
default="bounded-queue-thread-pool|blocking-bounded-queue-thread-pool|blocking-queueless-thread-pool|queueless-thread-pool|scheduled-thread-pool|unbounded-queue-thread-pool"/>
</plugin-configuration>
<metric property="active-count" description="The approximate
number of threads that are actively executing tasks."/>
@@ -3178,26 +3209,7 @@
&queueLengthResourceConfig;
<c:simple-property name="thread-factory"
required="false" type="string" readOnly="false"
description="Specifies the name of a specific thread factory to use to create worker
threads. If not defined an appropriate default thread factory will be used."/>
- <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool" displayName="Thread Pool Type"
description="Thread pool type">
- <c:property-options>
- <c:option value="bounded-queue-thread-pool"/>
- <c:option value="queueless-thread-pool"/>
- <c:option value="unbounded-queue-thread-pool"/>
- <c:option value="scheduled-thread-pool"/>
- </c:property-options>
- </c:simple-property>
- <c:template name="Bounded Queue Thread Pool"
description="Bounded Queue Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="bounded-queue-thread-pool"/>
- </c:template>
- <c:template name="Queueless Thread Pool"
description="Queueless Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="queueless-thread-pool"/>
- </c:template>
- <c:template name="Scheduled Thread Pool"
description="Scheduled Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool"/>
- </c:template>
- <c:template name="Unbounded Queue Thread Pool"
description="Unbounded Queue Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="unbounded-queue-thread-pool"/>
- </c:template>
+ &threadPoolTemplateResourceConfig;
</resource-configuration>
</service>
</service>
@@ -6011,7 +6023,7 @@
createDeletePolicy="both">
<plugin-configuration>
- <c:simple-property name="path" readOnly="true"
default="bounded-queue-thread-pool|queueless-thread-pool|scheduled-thread-pool|unbounded-queue-thread-pool"/>
+ <c:simple-property name="path" readOnly="true"
default="bounded-queue-thread-pool|blocking-bounded-queue-thread-pool|blocking-queueless-thread-pool|queueless-thread-pool|scheduled-thread-pool|unbounded-queue-thread-pool"/>
</plugin-configuration>
<resource-configuration>
@@ -6024,26 +6036,7 @@
&queueLengthResourceConfig;
<c:simple-property name="thread-factory"
required="false" type="string" readOnly="false"
description="Specifies the name of a specific thread factory to use to create worker
threads. If not defined an appropriate default thread factory will be used."/>
- <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool" displayName="Thread Pool Type"
description="Thread pool type">
- <c:property-options>
- <c:option value="bounded-queue-thread-pool"/>
- <c:option value="queueless-thread-pool"/>
- <c:option value="unbounded-queue-thread-pool"/>
- <c:option value="scheduled-thread-pool"/>
- </c:property-options>
- </c:simple-property>
- <c:template name="Bounded Queue Thread Pool"
description="Bounded Queue Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="bounded-queue-thread-pool"/>
- </c:template>
- <c:template name="Queueless Thread Pool"
description="Queueless Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="queueless-thread-pool"/>
- </c:template>
- <c:template name="Scheduled Thread Pool"
description="Scheduled Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool"/>
- </c:template>
- <c:template name="Unbounded Queue Thread Pool"
description="Unbounded Queue Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="unbounded-queue-thread-pool"/>
- </c:template>
+ &threadPoolTemplateResourceConfig;
</resource-configuration>
</service>
</service>
@@ -10955,7 +10948,7 @@
createDeletePolicy="both">
<plugin-configuration>
- <c:simple-property name="path" readOnly="true"
default="bounded-queue-thread-pool|queueless-thread-pool|scheduled-thread-pool|unbounded-queue-thread-pool"/>
+ <c:simple-property name="path" readOnly="true"
default="bounded-queue-thread-pool|blocking-bounded-queue-thread-pool|blocking-queueless-thread-pool|queueless-thread-pool|scheduled-thread-pool|unbounded-queue-thread-pool"/>
</plugin-configuration>
<metric property="active-count" description="The approximate
number of threads that are actively executing tasks."/>
@@ -10975,26 +10968,7 @@
&queueLengthResourceConfig;
<c:simple-property name="thread-factory" required="false"
type="string" readOnly="false" description="Specifies the name of
a specific thread factory to use to create worker threads. If not defined an appropriate
default thread factory will be used."/>
- <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool" displayName="Thread Pool Type"
description="Thread pool type">
- <c:property-options>
- <c:option value="bounded-queue-thread-pool"/>
- <c:option value="queueless-thread-pool"/>
- <c:option value="unbounded-queue-thread-pool"/>
- <c:option value="scheduled-thread-pool"/>
- </c:property-options>
- </c:simple-property>
- <c:template name="Bounded Queue Thread Pool"
description="Bounded Queue Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="bounded-queue-thread-pool"/>
- </c:template>
- <c:template name="Queueless Thread Pool" description="Queueless
Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="queueless-thread-pool"/>
- </c:template>
- <c:template name="Scheduled Thread Pool" description="Scheduled
Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="scheduled-thread-pool"/>
- </c:template>
- <c:template name="Unbounded Queue Thread Pool"
description="Unbounded Queue Thread Pool">
- <c:simple-property name="__type" readOnly="true"
default="unbounded-queue-thread-pool"/>
- </c:template>
+ &threadPoolTemplateResourceConfig;
</resource-configuration>
</service>
Show replies by date