Class JMSTopicReadAttributeHandler
- java.lang.Object
-
- org.jboss.as.controller.AbstractRuntimeOnlyHandler
-
- org.wildfly.extension.messaging.activemq.jms.JMSTopicReadAttributeHandler
-
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class JMSTopicReadAttributeHandler extends org.jboss.as.controller.AbstractRuntimeOnlyHandlerImplements theread-attributeoperation for runtime attributes exposed by a ActiveMQ Topic.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJMSTopicReadAttributeHandler.DurabilityType
-
Field Summary
Fields Modifier and Type Field Description static JMSTopicReadAttributeHandlerINSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)intgetDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)intgetNonDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)static List<org.apache.activemq.artemis.api.core.management.QueueControl>getQueues(JMSTopicReadAttributeHandler.DurabilityType durability, org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)intgetSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)
-
-
-
Field Detail
-
INSTANCE
public static final JMSTopicReadAttributeHandler INSTANCE
-
-
Method Detail
-
executeRuntimeStep
public void executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException- Specified by:
executeRuntimeStepin classorg.jboss.as.controller.AbstractRuntimeOnlyHandler- Throws:
org.jboss.as.controller.OperationFailedException
-
getSubscriptionCount
public int getSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)
-
getDurableSubscriptionCount
public int getDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)
-
getNonDurableSubscriptionCount
public int getNonDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)
-
getQueues
public static List<org.apache.activemq.artemis.api.core.management.QueueControl> getQueues(JMSTopicReadAttributeHandler.DurabilityType durability, org.apache.activemq.artemis.api.core.management.AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService)
-
-