org.jboss.seam.transaction.util
Class EjbApi

java.lang.Object
  extended by org.jboss.seam.transaction.util.EjbApi

public class EjbApi
extends Object

Utility class that provides access to some annotations from the Java Enterprise Edition specs if they are present on the classpath


Nested Class Summary
static interface EjbApi.Dummy
           
 
Field Summary
static Class<? extends Annotation> APPLICATION_EXCEPTION
           
static boolean INVOCATION_CONTEXT_AVAILABLE
           
static Object MANDATORY
           
static Class<? extends Annotation> MESSAGE_DRIVEN
           
static Object NEVER
           
static Object NOT_SUPPORTED
           
static Object REQUIRED
           
static Object REQUIRES_NEW
           
static Class<? extends Annotation> SINGLETON
           
static Class<? extends Annotation> STATEFUL
           
static Class<? extends Annotation> STATELESS
           
static Object SUPPORTS
           
static Class<? extends Annotation> TRANSACTION_ATTRIBUTE
           
static Class<? extends Enum> TRANSACTION_ATTRIBUTE_TYPE
           
 
Constructor Summary
EjbApi()
           
 
Method Summary
static
<X> boolean
isEjb(javax.enterprise.inject.spi.AnnotatedType<X> type)
           
static String name(Annotation annotation)
           
static boolean rollback(Annotation annotation)
           
static Class[] value(Annotation annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSACTION_ATTRIBUTE

public static final Class<? extends Annotation> TRANSACTION_ATTRIBUTE

TRANSACTION_ATTRIBUTE_TYPE

public static final Class<? extends Enum> TRANSACTION_ATTRIBUTE_TYPE

APPLICATION_EXCEPTION

public static final Class<? extends Annotation> APPLICATION_EXCEPTION

STATEFUL

public static final Class<? extends Annotation> STATEFUL

STATELESS

public static final Class<? extends Annotation> STATELESS

MESSAGE_DRIVEN

public static final Class<? extends Annotation> MESSAGE_DRIVEN

SINGLETON

public static final Class<? extends Annotation> SINGLETON

MANDATORY

public static final Object MANDATORY

REQUIRED

public static final Object REQUIRED

REQUIRES_NEW

public static final Object REQUIRES_NEW

SUPPORTS

public static final Object SUPPORTS

NOT_SUPPORTED

public static final Object NOT_SUPPORTED

NEVER

public static final Object NEVER

INVOCATION_CONTEXT_AVAILABLE

public static final boolean INVOCATION_CONTEXT_AVAILABLE
Constructor Detail

EjbApi

public EjbApi()
Method Detail

name

public static String name(Annotation annotation)

value

public static Class[] value(Annotation annotation)

rollback

public static boolean rollback(Annotation annotation)

isEjb

public static <X> boolean isEjb(javax.enterprise.inject.spi.AnnotatedType<X> type)


Copyright © 2011 Seam Framework. All Rights Reserved.