|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cinecolombia.interfases.control.ejb.InterfasesControllerEJB
Session Bean implementation for InterfasesController EJB. This is the EJB-tier controller of the MVC for interfases module. It is implemented as a session EJB. It controls all activities that happen in a client session (managing update events through handleEvent() method) It also provides mechanisms to access other session EJBs and variables: get services for obtaining session variables and for contacting EJBs (entity or session) which are instanced for the user.
Field Summary | |
private Debug |
debug
|
private javax.ejb.SessionContext |
sc
|
private StateMachine |
sm
|
private Interfases |
varInterfases
|
Constructor Summary | |
InterfasesControllerEJB()
Constructor for the InterfasesControllerEJB object |
Method Summary | |
void |
ejbActivate()
activation after swapping |
void |
ejbCreate()
after creation of ejb instance |
void |
ejbPassivate()
before swappping |
void |
ejbRemove()
before remove ejb instance |
Interfases |
getInterfases(java.lang.String companyId,
java.lang.Long userId,
java.lang.String[] ordenProcs)
get reference to Interfases EJB |
java.lang.String |
getW()
|
java.util.Collection |
handleEvent(InterfasesEvent ese)
Principal service: Feeds the specified event to the state machine of the business logic. |
void |
setSessionContext(javax.ejb.SessionContext sc)
Sets the sessionContext attribute of the InterfasesControllerEJB object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private StateMachine sm
private Interfases varInterfases
private javax.ejb.SessionContext sc
private Debug debug
Constructor Detail |
public InterfasesControllerEJB()
Method Detail |
public void setSessionContext(javax.ejb.SessionContext sc)
setSessionContext
in interface javax.ejb.SessionBean
sc
- The new sessionContext valuepublic void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void ejbCreate()
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public java.util.Collection handleEvent(InterfasesEvent ese) throws InterfasesEventException
ese
- event corresponding to user request
InterfasesEventException
public Interfases getInterfases(java.lang.String companyId, java.lang.Long userId, java.lang.String[] ordenProcs)
companyId
- Description of the ParameteruserId
- Description of the ParameterordenProcs
- Description of the Parameter
public java.lang.String getW()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |