|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.examples.entitybean.SessionFacade
public class SessionFacade
Simple stateless bean acting as session facade bean.
Constructor Summary | |
---|---|
SessionFacade()
|
Method Summary | |
---|---|
void |
addEmployee(int id,
java.lang.String name)
Adds an employee. |
Employee |
findEmployee(int id)
Finds the Employee with its given id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionFacade()
Method Detail |
---|
public void addEmployee(int id, java.lang.String name)
addEmployee
in interface SessionFacadeRemote
id
- of the employeename
- of the employeepublic Employee findEmployee(int id)
findEmployee
in interface SessionFacadeRemote
id
- to find the employee
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |