Class AppManagedNoTxVehicleBean
java.lang.Object
com.sun.ts.tests.common.vehicle.ejb3share.EJB3ShareBaseBean
com.sun.ts.tests.common.vehicle.appmanagedNoTx.AppManagedNoTxVehicleBean
- All Implemented Interfaces:
- AppManagedNoTxVehicleIF,- EJB3ShareIF
- 
Field SummaryFields inherited from class com.sun.ts.tests.common.vehicle.ejb3share.EJB3ShareBaseBeanAPPMANAGED, APPMANAGEDNOTX, entityManager, entityManagerFactory, FINDER_TEST_NAME_KEY, sessionContext, STATEFUL3, STATELESS3
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor for AppManagedNoTxVehicleBean.
- 
Method SummaryModifier and TypeMethodDescriptionprotected jakarta.persistence.EntityTransactionReturns the EntityTransaction.protected StringReturns the type of the vehicle.runTest(String[] args, Properties props) Runs the test with the given arguments and properties.voidsetEntityManager(jakarta.persistence.EntityManager entityManager) Sets the EntityManager.voidsetEntityManagerFactory(jakarta.persistence.EntityManagerFactory emf) Sets the EntityManagerFactory.voidsetSessionContext(jakarta.ejb.SessionContext sessionContext) Sets the session context.Methods inherited from class com.sun.ts.tests.common.vehicle.ejb3share.EJB3ShareBaseBeangetEntityManager, getEntityManagerFactory, getSessionContext, getTestName
- 
Constructor Details- 
AppManagedNoTxVehicleBeanpublic AppManagedNoTxVehicleBean()Default constructor for AppManagedNoTxVehicleBean. Calls the superclass constructor.
 
- 
- 
Method Details- 
getVehicleTypeReturns the type of the vehicle.- Specified by:
- getVehicleTypein class- EJB3ShareBaseBean
- Returns:
- the vehicle type as a String
 
- 
runTestRuns the test with the given arguments and properties.- Specified by:
- runTestin interface- EJB3ShareIF
- Overrides:
- runTestin class- EJB3ShareBaseBean
- Parameters:
- args- the arguments for the test
- props- the properties for the test
- Returns:
- the RemoteStatus of the test run
 
- 
setSessionContextpublic void setSessionContext(jakarta.ejb.SessionContext sessionContext) Sets the session context.- Specified by:
- setSessionContextin class- EJB3ShareBaseBean
- Parameters:
- sessionContext- the SessionContext to be set
 
- 
setEntityManagerFactorypublic void setEntityManagerFactory(jakarta.persistence.EntityManagerFactory emf) Sets the EntityManagerFactory.- Overrides:
- setEntityManagerFactoryin class- EJB3ShareBaseBean
- Parameters:
- emf- the EntityManagerFactory to be set
 
- 
setEntityManagerpublic void setEntityManager(jakarta.persistence.EntityManager entityManager) Sets the EntityManager.- Specified by:
- setEntityManagerin class- EJB3ShareBaseBean
- Parameters:
- entityManager- the EntityManager to be set
 
- 
getEntityTransactionprotected jakarta.persistence.EntityTransaction getEntityTransaction()Returns the EntityTransaction.- Specified by:
- getEntityTransactionin class- EJB3ShareBaseBean
- Returns:
- the EntityTransaction
 
 
-