public class BasicBmp2DataSourcesBean extends Object implements javax.ejb.EntityBean
| Modifier and Type | Field and Description |
|---|---|
Hashtable |
allowedOperationsTable |
javax.ejb.EntityContext |
ejbContext |
String |
firstName |
String |
lastName |
static int |
primaryKey |
| Constructor and Description |
|---|
BasicBmp2DataSourcesBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
businessMethod(String text)
Maps to BasicBmp2DataSourcesObject.businessMethod
|
void |
ejbActivate()
A container invokes this method when the instance
is taken out of the pool of available instances to become associated
with a specific EJB object.
|
Integer |
ejbCreate(String name)
Maps to BasicBmp2DataSourcesHome.create
|
Integer |
ejbFindByPrimaryKey(Integer primaryKey)
Maps to BasicBmp2DataSourcesHome.findByPrimaryKey
|
Collection |
ejbFindEmptyCollection()
Maps to BasicBmp2DataSourcesHome.findEmptyCollection
|
int |
ejbHomeSum(int x,
int y)
Maps to BasicBmp2DataSourcesHome.sum
Adds x and y and returns the result.
|
void |
ejbLoad()
A container invokes this method to instruct the
instance to synchronize its state by loading it state from the
underlying database.
|
void |
ejbPassivate()
A container invokes this method on an instance before the instance
becomes disassociated with a specific EJB object.
|
void |
ejbPostCreate(String name) |
void |
ejbRemove()
A container invokes this method before it removes the EJB object
that is currently associated with the instance.
|
void |
ejbStore()
A container invokes this method to instruct the
instance to synchronize its state by storing it to the underlying
database.
|
OperationsPolicy |
getAllowedOperationsReport(String methodName)
Maps to BasicBmp2DataSourcesObject.getAllowedOperationsReport
Returns a report of the allowed opperations
for one of the bean's methods.
|
Properties |
getPermissionsReport()
Maps to BasicBmp2DataSourcesObject.getPermissionsReport
Returns a report of the bean's
runtime permissions
|
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context.
|
protected void |
testAllowedOperations(String methodName) |
void |
unsetEntityContext()
Unset the associated entity context.
|
public static int primaryKey
public String firstName
public String lastName
public javax.ejb.EntityContext ejbContext
public Hashtable allowedOperationsTable
public int ejbHomeSum(int x,
int y)
one - two - BasicBmp2DataSourcesHome.sum(int, int)public Collection ejbFindEmptyCollection() throws javax.ejb.FinderException, RemoteException
javax.ejb.FinderExceptionRemoteExceptionpublic Integer ejbFindByPrimaryKey(Integer primaryKey) throws javax.ejb.FinderException
primaryKey - javax.ejb.FinderExceptionpublic Integer ejbCreate(String name) throws javax.ejb.CreateException
name - javax.ejb.CreateExceptionpublic void ejbPostCreate(String name) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic String businessMethod(String text)
public Properties getPermissionsReport()
public OperationsPolicy getAllowedOperationsReport(String methodName)
methodName - The method for which to get the allowed opperations reportpublic void ejbLoad()
throws javax.ejb.EJBException,
RemoteException
ejbLoad in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void setEntityContext(javax.ejb.EntityContext ctx)
throws javax.ejb.EJBException,
RemoteException
setEntityContext in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void unsetEntityContext()
throws javax.ejb.EJBException,
RemoteException
unsetEntityContext in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbStore()
throws javax.ejb.EJBException,
RemoteException
ejbStore in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbRemove()
throws javax.ejb.RemoveException,
javax.ejb.EJBException,
RemoteException
ejbRemove in interface javax.ejb.EntityBeanjavax.ejb.RemoveExceptionjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbActivate()
throws javax.ejb.EJBException,
RemoteException
ejbActivate in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbPassivate()
throws javax.ejb.EJBException,
RemoteException
ejbPassivate in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionprotected void testAllowedOperations(String methodName)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.