public enum EJBComponentType extends Enum<EJBComponentType>
Enum Constant and Description |
---|
ENTITY |
MESSAGE_DRIVEN |
SINGLETON |
STATEFUL |
STATELESS |
Modifier and Type | Method and Description |
---|---|
Class<? extends EJBComponent> |
getComponentClass() |
Class<? extends EJBComponentDescription> |
getComponentDescriptionClass() |
static EJBComponentType |
getComponentType(ComponentConfiguration componentConfiguration) |
Pool |
getPool(EJBComponent component) |
String |
getResourceType() |
AbstractEJBComponentRuntimeHandler<?> |
getRuntimeHandler() |
boolean |
hasPool() |
boolean |
hasTimer() |
protected PooledComponent<?> |
pooledComponent(EJBComponent component) |
static EJBComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EJBComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EJBComponentType ENTITY
public static final EJBComponentType MESSAGE_DRIVEN
public static final EJBComponentType SINGLETON
public static final EJBComponentType STATELESS
public static final EJBComponentType STATEFUL
public static EJBComponentType[] values()
for (EJBComponentType c : EJBComponentType.values()) System.out.println(c);
public static EJBComponentType 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 nullpublic String getResourceType()
public Class<? extends EJBComponent> getComponentClass()
public Class<? extends EJBComponentDescription> getComponentDescriptionClass()
public boolean hasPool()
public boolean hasTimer()
public Pool getPool(EJBComponent component)
public AbstractEJBComponentRuntimeHandler<?> getRuntimeHandler()
public static EJBComponentType getComponentType(ComponentConfiguration componentConfiguration)
protected PooledComponent<?> pooledComponent(EJBComponent component)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.