KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > marshal > ejb > MarshalSessionBean


1 package org.jboss.test.marshal.ejb;
2
3 import org.jboss.logging.Logger;
4
5 import javax.ejb.CreateException JavaDoc;
6 import javax.ejb.SessionBean JavaDoc;
7 import javax.ejb.SessionContext JavaDoc;
8
9 /**
10  * Bean to accept payload that cannot be unmarshalled
11  *
12  * @author <a HREF="mailto:tom@jboss.org">Tom Elrod</a>
13  * @version $Revision: 43739 $
14  */

15 public class MarshalSessionBean implements SessionBean JavaDoc
16 {
17    private static final Logger log = Logger.getLogger(MarshalSessionBean.class);
18
19    public MarshalSessionBean()
20    {
21    }
22
23    public int testMethod(Object JavaDoc payload)
24    {
25       return 0;
26    }
27
28    // Container callbacks -------------------------------------------
29

30    public void setSessionContext(SessionContext JavaDoc ctx)
31    {
32    }
33
34    public void ejbCreate() throws CreateException JavaDoc
35    {
36    }
37
38    public void ejbRemove()
39    {
40    }
41
42    public void ejbActivate()
43    {
44    }
45
46    public void ejbPassivate()
47    {
48    }
49 }
50
Popular Tags