geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r125987 - /geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java
Date Sat, 22 Jan 2005 00:17:50 GMT
Author: djencks
Date: Fri Jan 21 16:17:48 2005
New Revision: 125987

URL: http://svn.apache.org/viewcvs?view=rev&rev=125987
Log:
remove component context from server side gbean, it can't be deserialized. GERONIMO-545 (requires
some changes in AppClientModuleBuilder, in subsequent commit)
Modified:
   geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java

Modified: geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java
Url: http://svn.apache.org/viewcvs/geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java?view=diff&rev=125987&p1=geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java&r1=125986&p2=geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java&r2=125987
==============================================================================
--- geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java
(original)
+++ geronimo/trunk/modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/J2EEAppClientModuleImpl.java
Fri Jan 21 16:17:48 2005
@@ -33,11 +33,9 @@
     private final String deploymentDescriptor;
     private final J2EEServer server;
     private final J2EEApplication application;
-    private final Context componentContext;
     private final ClassLoader classLoader;
 
-    public J2EEAppClientModuleImpl(Context componentContext, String objectName, J2EEServer
server, J2EEApplication application, String deploymentDescriptor, ClassLoader classLoader)
{
-        this.componentContext = componentContext;
+    public J2EEAppClientModuleImpl(String objectName, J2EEServer server, J2EEApplication
application, String deploymentDescriptor, ClassLoader classLoader) {
         ObjectName myObjectName = JMXUtil.getObjectName(objectName);
         verifyObjectName(myObjectName);
 
@@ -93,10 +91,6 @@
         return server.getJavaVMs();
     }
 
-    public Context getComponentContext() {
-        return componentContext;
-    }
-
     public ClassLoader getClassLoader() {
         return classLoader;
     }
@@ -108,7 +102,6 @@
         infoFactory.addReference("J2EEServer", J2EEServer.class);
         infoFactory.addReference("J2EEApplication", J2EEApplication.class);
 
-        infoFactory.addAttribute("componentContext", Context.class, true);
         infoFactory.addAttribute("deploymentDescriptor", String.class, true);
 
         infoFactory.addAttribute("objectName", String.class, false);
@@ -119,7 +112,6 @@
 
 
         infoFactory.setConstructor(new String[]{
-            "componentContext",
             "objectName",
             "J2EEServer",
             "J2EEApplication",

Mime
View raw message