geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r463091 - in /geronimo/plugins/spring/trunk: ./ configs/spring-deployer/src/resources/META-INF/ configs/spring-integration/src/resources/META-INF/ example/ modules/spring-integration-service/src/java/org/apache/geronimo/plugins/spring/
Date Thu, 12 Oct 2006 00:56:50 GMT
Author: ammulder
Date: Wed Oct 11 17:56:48 2006
New Revision: 463091

URL: http://svn.apache.org/viewvc?view=rev&rev=463091
Log:
Add examples to main build
Add plugin metadata files

Added:
    geronimo/plugins/spring/trunk/configs/spring-deployer/src/resources/META-INF/geronimo-plugin.xml
  (with props)
    geronimo/plugins/spring/trunk/configs/spring-integration/src/resources/META-INF/geronimo-plugin.xml
  (with props)
Modified:
    geronimo/plugins/spring/trunk/example/   (props changed)
    geronimo/plugins/spring/trunk/example/pom.xml
    geronimo/plugins/spring/trunk/modules/spring-integration-service/src/java/org/apache/geronimo/plugins/spring/SpringGBean.java
    geronimo/plugins/spring/trunk/pom.xml

Added: geronimo/plugins/spring/trunk/configs/spring-deployer/src/resources/META-INF/geronimo-plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/spring/trunk/configs/spring-deployer/src/resources/META-INF/geronimo-plugin.xml?view=auto&rev=463091
==============================================================================
--- geronimo/plugins/spring/trunk/configs/spring-deployer/src/resources/META-INF/geronimo-plugin.xml
(added)
+++ geronimo/plugins/spring/trunk/configs/spring-deployer/src/resources/META-INF/geronimo-plugin.xml
Wed Oct 11 17:56:48 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<geronimo-plugin xmlns="http://geronimo.apache.org/xml/ns/plugins-1.1">
+<name>Spring 2.0 Deployer for Geronimo</name>
+<module-id>org.apache.geronimo.plugins/spring-deployer/1.0-SNAPSHOT/car</module-id>
+<category>Core Geronimo</category>
+<description>With this plugin, Spring contexts can be deployed as Geronimo applications.
 Simply package the Spring context config file(s) and any necessary classes into a JAR file.</description>
+<url>http://geronimo.apache.org/</url>
+<author>The Apache Geronimo Development Team</author>
+<license osi-approved="true">BSD -- Apache Software License 2.0</license>
+<geronimo-version>1.1.1</geronimo-version>
+<dependency>org.apache.geronimo.plugins/spring-integration/1.0-SNAPSHOT/car</dependency>
+<dependency>org.apache.geronimo.plugins/spring-deployer-service/1.0-SNAPSHOT/jar</dependency>
+<dependency>geronimo/geronimo-gbean-deployer//car</dependency>
+<dependency>gplugins/common//jar</dependency>
+<dependency>geronimo/j2ee-server//car</dependency>
+<dependency>geronimo/j2ee-deployer//car</dependency>
+<obsoletes>org.apache.geronimo.plugins/spring-deployer//car</obsoletes>
+<source-repository>http://geronimoplugins.com/repository/geronimo-1.1/</source-repository>
+<source-repository>http://www.ibiblio.org/maven2/</source-repository>
+</geronimo-plugin>

Propchange: geronimo/plugins/spring/trunk/configs/spring-deployer/src/resources/META-INF/geronimo-plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/plugins/spring/trunk/configs/spring-integration/src/resources/META-INF/geronimo-plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/spring/trunk/configs/spring-integration/src/resources/META-INF/geronimo-plugin.xml?view=auto&rev=463091
==============================================================================
--- geronimo/plugins/spring/trunk/configs/spring-integration/src/resources/META-INF/geronimo-plugin.xml
(added)
+++ geronimo/plugins/spring/trunk/configs/spring-integration/src/resources/META-INF/geronimo-plugin.xml
Wed Oct 11 17:56:48 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<geronimo-plugin xmlns="http://geronimo.apache.org/xml/ns/plugins-1.1">
+<name>Spring 2.0 Integration for Geronimo</name>
+<module-id>org.apache.geronimo.plugins/spring-integration/1.0-SNAPSHOT/car</module-id>
+<category>Core Geronimo</category>
+<description>This integration package provides the foundation of Spring support in
Geronimo.  It includes the Spring 2.0 dependency and certain component definitions.  It is
not terribly useful on its own; see the Spring Deployer for Geronimo (which uses this) in
order to deploy Spring contexts as Geronimo applications.</description>
+<url>http://geronimo.apache.org/</url>
+<author>The Apache Geronimo Development Team</author>
+<license osi-approved="true">BSD -- Apache Software License 2.0</license>
+<geronimo-version>1.1.1</geronimo-version>
+<dependency>org.apache.geronimo.plugins/spring-integration-service/1.0-SNAPSHOT/jar</dependency>
+<dependency>geronimo/rmi-naming//car</dependency>
+<dependency>org.springframework/spring/2.0/jar</dependency>
+<obsoletes>org.apache.geronimo.plugins/spring-integration//car</obsoletes>
+<source-repository>http://geronimoplugins.com/repository/geronimo-1.1</source-repository>
+<source-repository>http://www.ibiblio.org/maven2</source-repository>
+</geronimo-plugin>

Propchange: geronimo/plugins/spring/trunk/configs/spring-integration/src/resources/META-INF/geronimo-plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/plugins/spring/trunk/example/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Oct 11 17:56:48 2006
@@ -0,0 +1,4 @@
+target
+svn-*
+velocity*
+*.i??

Modified: geronimo/plugins/spring/trunk/example/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/spring/trunk/example/pom.xml?view=diff&rev=463091&r1=463090&r2=463091
==============================================================================
--- geronimo/plugins/spring/trunk/example/pom.xml (original)
+++ geronimo/plugins/spring/trunk/example/pom.xml Wed Oct 11 17:56:48 2006
@@ -9,7 +9,7 @@
         <groupId>org.apache.geronimo.plugins</groupId>
         <artifactId>spring-parent</artifactId>
         <version>1.0-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
+        <relativePath>../pom.xml</relativePath>
     </parent>
 
     <artifactId>spring-plugin-example</artifactId>

Modified: geronimo/plugins/spring/trunk/modules/spring-integration-service/src/java/org/apache/geronimo/plugins/spring/SpringGBean.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/spring/trunk/modules/spring-integration-service/src/java/org/apache/geronimo/plugins/spring/SpringGBean.java?view=diff&rev=463091&r1=463090&r2=463091
==============================================================================
--- geronimo/plugins/spring/trunk/modules/spring-integration-service/src/java/org/apache/geronimo/plugins/spring/SpringGBean.java
(original)
+++ geronimo/plugins/spring/trunk/modules/spring-integration-service/src/java/org/apache/geronimo/plugins/spring/SpringGBean.java
Wed Oct 11 17:56:48 2006
@@ -21,9 +21,8 @@
 import org.apache.geronimo.gbean.GBeanInfo;
 import org.apache.geronimo.gbean.GBeanInfoBuilder;
 import org.apache.geronimo.gbean.GBeanLifecycle;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
 import org.springframework.context.ApplicationContext;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
 
 /**
  * A GBean that starts up configurations from the <a href="http://springframework.org/">Spring
Framework</a>
@@ -34,7 +33,7 @@
  *
  * @version $Rev$ $Date: 2005-12-10 19:48:27 -0700 (Sat, 10 Dec 2005) $
  */
-public class SpringGBean implements GBeanLifecycle {
+public class SpringGBean implements GBeanLifecycle, SpringContextWrapper {
 
     private static final Log log = LogFactory.getLog("SpringGBean");
 
@@ -94,6 +93,7 @@
         GBeanInfoBuilder infoFactory = GBeanInfoBuilder.createStatic("Spring GBean", SpringGBean.class);
         infoFactory.addAttribute("configFileName", String.class, true, true);
         infoFactory.addAttribute("contextName", String.class, true, true);
+        infoFactory.addInterface(SpringContextWrapper.class);
         GBEAN_INFO = infoFactory.getBeanInfo();
     }
 }

Modified: geronimo/plugins/spring/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/spring/trunk/pom.xml?view=diff&rev=463091&r1=463090&r2=463091
==============================================================================
--- geronimo/plugins/spring/trunk/pom.xml (original)
+++ geronimo/plugins/spring/trunk/pom.xml Wed Oct 11 17:56:48 2006
@@ -20,6 +20,7 @@
         <module>modules/spring-deployer-service</module>
         <module>configs</module>
         <module>dependencies</module>
+        <module>example</module>
     </modules>
 
     <repositories>



Mime
View raw message