|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.cmu.mse.vault.customer.CustomerAgentSessionBean
| Constructor Summary | |
CustomerAgentSessionBean()
|
|
| Method Summary | |
Message |
createCustomer(MessageKey key,
Customer customer)
Business method Calls the entity bean method to create a cust entity bean. |
Message |
editCustomer(MessageKey key,
int custId,
Customer customer)
Business method |
void |
ejbActivate()
|
void |
ejbCreate()
Default create method |
void |
ejbPassivate()
|
void |
ejbRemove()
|
static javax.naming.Context |
getInitialContext()
|
boolean |
isAlive()
Business method |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CustomerAgentSessionBean()
| Method Detail |
public void ejbActivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
ejbActivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
ejbPassivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove()
throws javax.ejb.EJBException,
java.rmi.RemoteException
ejbRemove in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
java.rmi.RemoteException
setSessionContext in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateException
public static javax.naming.Context getInitialContext()
throws javax.naming.NamingException
javax.naming.NamingException
public Message createCustomer(MessageKey key,
Customer customer)
throws UnexpectedMessageSequenceNumberException,
VaultEntityCreateException
UnexpectedMessageSequenceNumberException
VaultEntityCreateException
public Message editCustomer(MessageKey key,
int custId,
Customer customer)
throws InvalidCustomerException,
UnexpectedMessageSequenceNumberException,
VaultEntityCreateException
java.rmi.RemoteException
InvalidCustomerException
UnexpectedMessageSequenceNumberException
VaultEntityCreateExceptionpublic boolean isAlive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||