站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.0.1 API 英文版文档

Seam (JBoss Seam API Documentation) - JBoss Seam 1.0.1 API 英文版文档


org.jboss.seam
Class Seam

java.lang.Object
  extended by org.jboss.seam.Seam

public class Seam
extends Object

Convenience methods for accessing annotated information about Seam component classes.

Author:
Gavin King

Constructor Summary
Seam()
           
 
Method Summary
static Class getBeanClass(Class<?> clazz)
          Get the bean class from a container-generated proxy class
static String getComponentName(Class<?> clazz)
          Get the component name
static ScopeType getComponentRoleScope(Class clazz, Role role)
          Get the scope for a role
static ScopeType getComponentScope(Class<?> clazz)
          Get the default scope
static ComponentType getComponentType(Class<?> clazz)
          Get the component type
static String getEjbName(Class<?> clazz)
           
static InterceptionType getInterceptionType(Class<?> clazz)
           
static void invalidateSession()
          Mark the session for invalidation at the end of the request cycle
static boolean isSessionInvalid()
          Is the session marked for invalidation?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Seam

public Seam()
Method Detail

getComponentScope

public static ScopeType getComponentScope(Class<?> clazz)
Get the default scope

See Also:
Scope

getComponentRoleScope

public static ScopeType getComponentRoleScope(Class clazz,
                                              Role role)
Get the scope for a role

See Also:
Scope

getComponentType

public static ComponentType getComponentType(Class<?> clazz)
Get the component type


getComponentName

public static String getComponentName(Class<?> clazz)
Get the component name

See Also:
Name

getBeanClass

public static Class getBeanClass(Class<?> clazz)
Get the bean class from a container-generated proxy class


getEjbName

public static String getEjbName(Class<?> clazz)

getInterceptionType

public static InterceptionType getInterceptionType(Class<?> clazz)

invalidateSession

public static void invalidateSession()
Mark the session for invalidation at the end of the request cycle


isSessionInvalid

public static boolean isSessionInvalid()
Is the session marked for invalidation?