|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.Seam
public class Seam
Convenience methods for accessing annotated information about Seam component classes.
| Field Summary | |
|---|---|
static String |
VERSION
|
| Constructor Summary | |
|---|---|
Seam()
|
|
| Method Summary | |
|---|---|
static void |
clearComponentNameCache()
|
static Component |
componentForName(String name)
Get the Seam component, even if no application context is associated with the current thread. |
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 EjbDescriptor |
getEjbDescriptor(Class clazz)
|
static String |
getEjbName(Class<?> clazz)
|
static Class |
getEntityClass(Class clazz)
Get the bean class from a container-generated proxy class |
static String |
getVersion()
|
static void |
invalidateSession()
Deprecated. use Session.instance().invalidate() |
static boolean |
isEntityClass(Class<?> clazz)
Is the class a container-generated proxy class for an entity bean? |
static boolean |
isInterceptionEnabled(Class<?> clazz)
|
static boolean |
isSessionInvalid()
Deprecated. use Session.instance().isInvalidated() |
static String |
searchComponentName(Class<?> clazz)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VERSION
| Constructor Detail |
|---|
public Seam()
| Method Detail |
|---|
public static EjbDescriptor getEjbDescriptor(Class clazz)
public static ScopeType getComponentScope(Class<?> clazz)
Scope
public static ScopeType getComponentRoleScope(Class clazz,
Role role)
Scopepublic static ComponentType getComponentType(Class<?> clazz)
public static String getComponentName(Class<?> clazz)
Namepublic static String searchComponentName(Class<?> clazz)
public static Class getEntityClass(Class clazz)
public static boolean isEntityClass(Class<?> clazz)
public static String getEjbName(Class<?> clazz)
public static boolean isInterceptionEnabled(Class<?> clazz)
public static void invalidateSession()
public static boolean isSessionInvalid()
public static Component componentForName(String name)
public static String getVersion()
public static void clearComponentNameCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||