public enum SessionBeanType extends Enum<SessionBeanType>
Enum Constant and Description |
---|
SINGLETON
A singleton session bean
|
STATEFUL
A stateful session bean
|
STATELESS
A stateless session bean
|
Modifier and Type | Method and Description |
---|---|
static SessionBeanType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionBeanType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionBeanType STATELESS
public static final SessionBeanType STATEFUL
public static final SessionBeanType SINGLETON
public static SessionBeanType[] values()
for (SessionBeanType c : SessionBeanType.values()) System.out.println(c);
public static SessionBeanType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullComments to: cdi-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.