KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ioc > connector > local > LOCALConnectorRemote


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.ioc.connector.local;
8
9 import java.rmi.RemoteException JavaDoc;
10
11 import org.jfox.ioc.connector.AbstractConnectorRemote;
12
13 /**
14  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
15  */

16
17 public class LOCALConnectorRemote extends AbstractConnectorRemote {
18
19     private static LOCALConnectorRemote me = new LOCALConnectorRemote();
20
21     public static LOCALConnectorRemote getInstance() {
22         return me;
23     }
24
25     protected void doInit() throws Exception JavaDoc {
26     }
27
28     protected void doStart() throws Exception JavaDoc {
29     }
30
31     protected void doStop() throws Exception JavaDoc {
32     }
33
34     protected void doDestroy() throws Exception JavaDoc {
35     }
36
37     public String JavaDoc getProtocol() throws RemoteException JavaDoc {
38         return "LOCAL";
39     }
40
41     public static void main(String JavaDoc[] args) {
42
43     }
44 }
45
Popular Tags