|
||||||||||
| 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 java.lang.String |
VERSION
|
| Constructor Summary | |
|---|---|
Seam()
|
|
| Method Summary | |
|---|---|
static void |
clearComponentNameCache()
|
static Component |
componentForName(java.lang.String name)
Get the Seam component, even if no application context is associated with the current thread. |
static java.lang.String |
getComponentName(java.lang.Class<?> clazz)
Get the component name |
static ScopeType |
getComponentRoleScope(java.lang.Class clazz,
Role role)
Get the scope for a role |
static ScopeType |
getComponentScope(java.lang.Class<?> clazz)
Get the default scope |
static ComponentType |
getComponentType(java.lang.Class<?> clazz)
Get the component type |
static EjbDescriptor |
getEjbDescriptor(java.lang.Class clazz)
|
static java.lang.String |
getEjbName(java.lang.Class<?> clazz)
|
static java.lang.Class |
getEntityClass(java.lang.Class clazz)
Get the bean class from a container-generated proxy class |
static java.lang.String |
getVersion()
|
static void |
invalidateSession()
Deprecated. use Session.instance().invalidate() |
static boolean |
isEntityClass(java.lang.Class<?> clazz)
Is the class a container-generated proxy class for an entity bean? |
static boolean |
isInterceptionEnabled(java.lang.Class<?> clazz)
|
static boolean |
isSessionInvalid()
Deprecated. use Session.instance().isInvalidated() |
static java.lang.String |
searchComponentName(java.lang.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 java.lang.String VERSION
| Constructor Detail |
|---|
public Seam()
| Method Detail |
|---|
public static EjbDescriptor getEjbDescriptor(java.lang.Class clazz)
public static ScopeType getComponentScope(java.lang.Class<?> clazz)
Scope
public static ScopeType getComponentRoleScope(java.lang.Class clazz,
Role role)
Scopepublic static ComponentType getComponentType(java.lang.Class<?> clazz)
public static java.lang.String getComponentName(java.lang.Class<?> clazz)
Namepublic static java.lang.String searchComponentName(java.lang.Class<?> clazz)
public static java.lang.Class getEntityClass(java.lang.Class clazz)
public static boolean isEntityClass(java.lang.Class<?> clazz)
public static java.lang.String getEjbName(java.lang.Class<?> clazz)
public static boolean isInterceptionEnabled(java.lang.Class<?> clazz)
public static void invalidateSession()
public static boolean isSessionInvalid()
public static Component componentForName(java.lang.String name)
public static java.lang.String getVersion()
public static void clearComponentNameCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||