01: /* ParticipantMappingMgrAdminEJBBean.java */
02: package org.enhydra.shark.ejb;
03:
04: import java.rmi.RemoteException;
05:
06: import javax.ejb.EJBException;
07: import javax.ejb.EJBObject;
08: import javax.ejb.SessionBean;
09: import javax.ejb.SessionContext;
10:
11: import org.enhydra.shark.ws.ParticipantMappingMgrAdminWrapper;
12:
13: /**
14: * @ejb.bean
15: * name="ParticipantMappingMgrAdminEJB"
16: * type="Stateless"
17: * display-name="Participant Mapping Manager Admin"
18: * jndi-name="org/enhydra/shark/ejb/ParticipantMappingMgrAdminEJB"
19: * local-jndi-name="org/enhydra/shark/ejb/ParticipantMappingMgrAdminEJBLocal"
20: * transaction-type="Container"
21: * view-type="all"
22: * local-business-interface="org.enhydra.shark.api.admin.ParticipantMappingManagerAdmin"
23: *
24: * @ejb.interface
25: * extends="org.enhydra.shark.api.admin.ParticipantMappingManagerAdmin,javax.ejb.EJBObject"
26: * generate="local,remote,service-endpoint"
27: * service-endpoint-class="org.enhydra.shark.ejb.ParticipantMappingMgrAdminEJBEndpoint"
28: *
29: * @ejb:transaction
30: * type="Required"
31: *
32: * @jonas:bean
33: * ejb-name="ParticipantMappingMgrAdminEJB"
34: * jndi-name="org/enhydra/shark/ejb/ParticipantMappingMgrAdminEJB"
35: *
36: * @wsee.port-component
37: * name="ParticipantMappingMgrAdminEJBEndpoint"
38: *
39: * @wsee.jaxrpc-mapping
40: * root-type-qname="ParticipantMappingMgrAdminEJBEndpoint"
41: *
42: * @author V.Puskas
43: * @author S.Bojanic
44: * @author T.Jovanovic
45: * @version 0.1
46: */
47: public abstract class ParticipantMappingMgrAdminEJBBean extends
48: ParticipantMappingMgrAdminWrapper implements SessionBean {
49:
50: private SessionContext context;
51:
52: /**
53: *
54: * @ejb.interface-method
55: * view-type="both"
56: **/
57: public EJBObject getPassedEJBObject() throws EJBException {
58: try {
59: return context.getEJBObject();
60: } catch (Exception ex) {
61: throw new EJBException(ex);
62: }
63: }
64:
65: public void setSessionContext(SessionContext ctx)
66: throws EJBException, RemoteException {
67: context = ctx;
68: }
69:
70: /**
71: * @ejb:create-method
72: */
73: public void ejbCreate() {
74: }
75:
76: /* (non-Javadoc)
77: * @see javax.ejb.SessionBean#ejbActivate()
78: */
79: public void ejbActivate() throws EJBException, RemoteException {
80: }
81:
82: /* (non-Javadoc)
83: * @see javax.ejb.SessionBean#ejbPassivate()
84: */
85: public void ejbPassivate() throws EJBException, RemoteException {
86: }
87:
88: /* (non-Javadoc)
89: * @see javax.ejb.SessionBean#ejbRemove()
90: */
91: public void ejbRemove() throws EJBException, RemoteException {
92: }
93:
94: }
|