KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ejb > connector > EJBInvocation


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6
7 package org.jfox.ejb.connector;
8
9 import javax.ejb.EnterpriseBean JavaDoc;
10
11 import org.jfox.ioc.connector.AbstractInvocation;
12 import org.jfox.ioc.connector.ObjectId;
13
14 /**
15  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
16  */

17
18 public class EJBInvocation extends AbstractInvocation {
19
20     public EJBInvocation(ObjectId objectId, String JavaDoc methodHash, Object JavaDoc[] args) {
21         super(objectId, methodHash, args);
22     }
23
24     /**
25      * ִи EJBInvocation Enterprise Bean
26      */

27     public void setBean(EnterpriseBean JavaDoc instance) {
28        setTargetObject(instance);
29     }
30
31     public EnterpriseBean JavaDoc getBean() {
32         return (EnterpriseBean JavaDoc)getTargetObject();
33     }
34     public static void main(String JavaDoc[] args) {
35
36     }
37 }
38
Popular Tags