tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r813190 - /openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/JNDIContext.java
Date Thu, 10 Sep 2009 01:33:56 GMT
Author: dblevins
Date: Thu Sep 10 01:33:55 2009
New Revision: 813190

URL: http://svn.apache.org/viewvc?rev=813190&view=rev
Log:
Removing cruft -- unused stuff

Modified:
    openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/JNDIContext.java

Modified: openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/JNDIContext.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/JNDIContext.java?rev=813190&r1=813189&r2=813190&view=diff
==============================================================================
--- openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/JNDIContext.java
(original)
+++ openejb/trunk/openejb3/server/openejb-client/src/main/java/org/apache/openejb/client/JNDIContext.java
Thu Sep 10 01:33:55 2009
@@ -47,22 +47,16 @@
 /** 
  * @version $Rev$ $Date$
  */
-public class JNDIContext implements Serializable, InitialContextFactory, Context {
+public class JNDIContext implements InitialContextFactory, Context {
 
     public static final String DEFAULT_PROVIDER_URL = "ejbd://localhost:4201";
 
-    private static final long serialVersionUID = 1L;
-
-    private transient String tail = "/";
-    private transient ServerMetaData server;
-    private transient ClientMetaData client;
-    private transient Hashtable env;
+    private String tail = "/";
+    private ServerMetaData server;
+    private ClientMetaData client;
+    private Hashtable env;
     private String moduleId;
 
-    JNDIContext(Hashtable environment) throws NamingException {
-        init(environment);
-    }
-
     public JNDIContext() {
     }
 
@@ -77,9 +71,6 @@
         this.env = (Hashtable) that.env.clone();
     }
 
-    public void init(Hashtable environment) throws NamingException {
-    }
-
     private JNDIResponse request(JNDIRequest req) throws Exception {
         req.setServerHash(server.buildHash());
         
@@ -91,14 +82,6 @@
         return response;
     }
 
-    public static void print(String s) {
-
-    }
-
-    public static void println(String s) {
-
-    }
-
     protected AuthenticationResponse requestAuthorization(AuthenticationRequest req) throws
RemoteException {
         return (AuthenticationResponse) Client.request(req, new AuthenticationResponse(),
server);
     }



Mime
View raw message