geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r720902 - /geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
Date Wed, 26 Nov 2008 15:41:23 GMT
Author: vamsic007
Date: Wed Nov 26 07:41:22 2008
New Revision: 720902

URL: http://svn.apache.org/viewvc?rev=720902&view=rev
Log:
A little refactoring.

Modified:
    geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java

Modified: geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java?rev=720902&r1=720901&r2=720902&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
(original)
+++ geronimo/plugins/tuscany/trunk/geronimo-tuscany/src/main/java/org/apache/geronimo/tuscany/TuscanyModuleBuilderExtension.java
Wed Nov 26 07:41:22 2008
@@ -100,6 +100,13 @@
 
     public void addGBeans(EARContext earContext, Module module, ClassLoader cl, Collection
repository) throws DeploymentException {
         System.out.println("Inside TuscanyModuleBuilderExtension.addGBeans");
+        if(module instanceof WebModule) {
+            handleWebModule(earContext, module, cl, repository);
+        }
+    }
+
+    private void handleWebModule(EARContext earContext, Module module, ClassLoader cl, Collection
repository) throws DeploymentException {
+        System.out.println("Inside TuscanyModuleBuilderExtension.handleWebModule");
         Naming naming = earContext.getNaming();
         
         // Add EmbeddedRuntimeGBean to the application config.



Mime
View raw message