public enum EjbJarVersion extends java.lang.Enum<EjbJarVersion>
| Enum Constant | Description |
|---|---|
EJB_1_1 |
1.1 version of EJB
|
EJB_2_0 |
2.0 version of EJB
|
EJB_2_1 |
2.1 version of EJB
|
EJB_3_0 |
3.0 version of EJB
|
EJB_3_1 |
3.1 version of EJB
|
EJB_3_2 |
3.2 version of EJB
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getVersion() |
|
static EjbJarVersion |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EjbJarVersion[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EjbJarVersion EJB_1_1
public static final EjbJarVersion EJB_2_0
public static final EjbJarVersion EJB_2_1
public static final EjbJarVersion EJB_3_0
public static final EjbJarVersion EJB_3_1
public static final EjbJarVersion EJB_3_2
public static EjbJarVersion[] values()
for (EjbJarVersion c : EjbJarVersion.values()) System.out.println(c);
public static EjbJarVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getVersion()
Copyright © 2018 JBoss by Red Hat. All rights reserved.