|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionFactory
Create sessions on an EJB. Usually this would be a stateful session bean.
Method Summary | |
---|---|
Serializable |
createSession(Class<?>[] initTypes,
Object[] initValues)
Create a session on an EJB. |
void |
destroySession(Serializable session)
Destroy a session on an EJB. |
Method Detail |
---|
Serializable createSession(Class<?>[] initTypes, Object[] initValues)
initTypes
- the argument types for the init method or null if its a EJB3 viewinitValues
- the arguments for the init method or null if its a EJB3 view
void destroySession(Serializable session)
session
- the session to destroy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |