|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.easybeans.examples.maven.jpa2.bean.FacadeStatelessSessionBean
public class FacadeStatelessSessionBean
Stateless session bean that is using JPA 2.0.
| Constructor Summary | |
|---|---|
FacadeStatelessSessionBean()
|
|
| Method Summary | |
|---|---|
List<org.ow2.easybeans.examples.maven.jpa2.entity.Employee> |
findEmployees()
Find all employees. |
org.ow2.easybeans.examples.maven.jpa2.entity.Employee |
findEmployeeWithItsGivenName(String name)
Allows to find an employee by its name. |
void |
init()
Initialize the Database with new entities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FacadeStatelessSessionBean()
| Method Detail |
|---|
public void init()
init in interface org.ow2.easybeans.examples.maven.jpa2.api.BusinessInterfacepublic List<org.ow2.easybeans.examples.maven.jpa2.entity.Employee> findEmployees()
findEmployees in interface org.ow2.easybeans.examples.maven.jpa2.api.BusinessInterfacepublic org.ow2.easybeans.examples.maven.jpa2.entity.Employee findEmployeeWithItsGivenName(String name)
findEmployeeWithItsGivenName in interface org.ow2.easybeans.examples.maven.jpa2.api.BusinessInterfacename - the given name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||