Enum ConnectionFactoryType
- java.lang.Object
-
- java.lang.Enum<ConnectionFactoryType>
-
- org.wildfly.extension.messaging.activemq.jms.ConnectionFactoryType
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectionFactoryType>
public enum ConnectionFactoryType extends Enum<ConnectionFactoryType>
Connection factory type enumeration and their respective value in ActiveMQ Artemis Jakarta Messaging API- Author:
- Jeff Mesnil (c) 2012 Red Hat Inc.
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.as.controller.operations.validation.ParameterValidatorVALIDATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.activemq.artemis.api.jms.JMSFactoryTypegetType()static ConnectionFactoryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionFactoryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERIC
public static final ConnectionFactoryType GENERIC
-
TOPIC
public static final ConnectionFactoryType TOPIC
-
QUEUE
public static final ConnectionFactoryType QUEUE
-
XA_GENERIC
public static final ConnectionFactoryType XA_GENERIC
-
XA_QUEUE
public static final ConnectionFactoryType XA_QUEUE
-
XA_TOPIC
public static final ConnectionFactoryType XA_TOPIC
-
-
Method Detail
-
values
public static ConnectionFactoryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConnectionFactoryType c : ConnectionFactoryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionFactoryType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getType
public org.apache.activemq.artemis.api.jms.JMSFactoryType getType()
-
-