|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.annotations.helper.bean.session.SessionBeanInterface
public final class SessionBeanInterface
This class analyze interfaces of the session bean. If the session bean implements javax.ejb.SessionBean interface, add lifecycle callbacks and add resource injection for setSessionContext method.
Field Summary | |
---|---|
private static JMethod |
EJBACTIVATE_METHOD
ejbActivate() method. |
private static JMethod |
EJBPASSIVATE_METHOD
ejbPassivate() method. |
private static JMethod |
EJBREMOVE_METHOD
ejbRemove() method. |
private static java.lang.String |
SESSION_BEAN_INTERFACE
SessionBean interface. |
private static JMethod |
SETSESSIONCONTEXT_METHOD
setSessionContext() method. |
Constructor Summary | |
---|---|
private |
SessionBeanInterface()
Helper class, no public constructor. |
Method Summary | |
---|---|
static void |
resolve(ClassAnnotationMetadata sessionBean)
Try to see if bean implements javax.ejb.SessionBean interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String SESSION_BEAN_INTERFACE
private static final JMethod SETSESSIONCONTEXT_METHOD
private static final JMethod EJBREMOVE_METHOD
private static final JMethod EJBACTIVATE_METHOD
private static final JMethod EJBPASSIVATE_METHOD
Constructor Detail |
---|
private SessionBeanInterface()
Method Detail |
---|
public static void resolve(ClassAnnotationMetadata sessionBean)
sessionBean
- Session bean to analyze
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |