|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.test.entity.bmp.AllowedOperationsBmpBean
public class AllowedOperationsBmpBean
Constructor Summary | |
---|---|
AllowedOperationsBmpBean()
|
Method Summary | |
---|---|
java.lang.String |
businessMethod(java.lang.String text)
Maps to BasicBmpObject.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. |
java.lang.Integer |
ejbCreate(java.lang.String name)
Maps to BasicBmpHome.create |
java.util.Collection |
ejbFindByLastName(java.lang.String lastName)
|
java.lang.Integer |
ejbFindByPrimaryKey(java.lang.Integer primaryKey)
Maps to BasicBmpHome.findByPrimaryKey |
java.util.Collection |
ejbFindEmptyCollection()
Maps to BasicBmpHome.findEmptyCollection |
java.util.Enumeration |
ejbFindEmptyEnumeration()
|
int |
ejbHomeSum(int x,
int y)
Maps to BasicBmpHome.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(java.lang.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(java.lang.String methodName)
Maps to BasicBmpObject.getAllowedOperationsReport Returns a report of the allowed opperations for one of the bean's methods. |
java.util.Properties |
getPermissionsReport()
Maps to BasicBmpObject.getPermissionsReport Returns a report of the bean's runtime permissions |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context. |
protected void |
testAllowedOperations(java.lang.String methodName)
|
void |
throwApplicationException()
Throws an ApplicationException when invoked |
void |
throwSystemException_NullPointer()
Throws a java.lang.NullPointerException when invoked This is a system exception and should result in the destruction of the instance and invalidation of the remote reference. |
void |
unsetEntityContext()
Unset the associated entity context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AllowedOperationsBmpBean()
Method Detail |
---|
public int ejbHomeSum(int x, int y)
one
- two
-
BasicBmpHome.sum
public java.util.Collection ejbFindEmptyCollection() throws javax.ejb.FinderException, java.rmi.RemoteException
javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Enumeration ejbFindEmptyEnumeration() throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection ejbFindByLastName(java.lang.String lastName) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Integer ejbFindByPrimaryKey(java.lang.Integer primaryKey) throws javax.ejb.FinderException
primaryKey
-
javax.ejb.FinderException
public java.lang.Integer ejbCreate(java.lang.String name) throws javax.ejb.CreateException
name
-
javax.ejb.CreateException
public void ejbPostCreate(java.lang.String name) throws javax.ejb.CreateException
javax.ejb.CreateException
public java.lang.String businessMethod(java.lang.String text)
public void throwApplicationException() throws ApplicationException
ApplicationException
public void throwSystemException_NullPointer()
public java.util.Properties getPermissionsReport()
public OperationsPolicy getAllowedOperationsReport(java.lang.String methodName)
methodName
- The method for which to get the allowed opperations report
public void ejbLoad() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbLoad
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
setEntityContext
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void unsetEntityContext() throws javax.ejb.EJBException, java.rmi.RemoteException
unsetEntityContext
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbStore() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbStore
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove() throws javax.ejb.RemoveException, javax.ejb.EJBException, java.rmi.RemoteException
ejbRemove
in interface javax.ejb.EntityBean
javax.ejb.RemoveException
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbActivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbPassivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
protected void testAllowedOperations(java.lang.String methodName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |