Class JMSOperationsProvider
java.lang.Object
org.jboss.as.test.integration.common.jms.JMSOperationsProvider
Utility class for getting implementations of JMSOperations interface
- Author:
- Jan Martiska
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JMSOperationsgetInstance(org.jboss.as.arquillian.container.ManagementClient client) Deprecated.static JMSOperationsgetInstance(org.jboss.as.controller.client.ModelControllerClient client) Gets an instance of a JMSOperations implementation for a particular Jakarta Messaging provider based on the classname given by property "jmsoperations.implementation.class" in jmsoperations.properties somewhere on the classpath The property should contain a fully qualified name of a class that implements JMSOperations interface The setting in that file can be overriden by a system property declaration
-
Constructor Details
-
JMSOperationsProvider
public JMSOperationsProvider()
-
-
Method Details
-
getInstance
@Deprecated public static JMSOperations getInstance(org.jboss.as.arquillian.container.ManagementClient client) Deprecated.usegetInstance(ModelControllerClient)insteadGets an instance of a JMSOperations implementation for a particular Jakarta Messaging provider based on the classname given by property "jmsoperations.implementation.class" in jmsoperations.properties somewhere on the classpath The property should contain a fully qualified name of a class that implements JMSOperations interface The setting in that file can be overriden by a system property declaration- Parameters:
client-ManagementClientto pass to the JMSOperations implementation class' constructor- Returns:
- a JMSOperations implementation that is JMS-provider-dependent
-
getInstance
public static JMSOperations getInstance(org.jboss.as.controller.client.ModelControllerClient client) Gets an instance of a JMSOperations implementation for a particular Jakarta Messaging provider based on the classname given by property "jmsoperations.implementation.class" in jmsoperations.properties somewhere on the classpath The property should contain a fully qualified name of a class that implements JMSOperations interface The setting in that file can be overriden by a system property declaration- Parameters:
client-ModelControllerClientto pass to the JMSOperations implementation class' constructor- Returns:
- a JMSOperations implementation that is JMS-provider-dependent
-
getInstance(ModelControllerClient)instead