You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2010/01/30 01:07:43 UTC
svn commit: r904683 - in /openwebbeans/trunk/samples: ejb-sample/
ejb-sample/src/main/resources/META-INF/openwebbeans/ ejb-telephone/
ejb-telephone/src/main/resources/META-INF/openwebbeans/
standalone-sample/src/main/java/org/apache/webbeans/se/sample/...
Author: gerdogdu
Date: Sat Jan 30 00:07:43 2010
New Revision: 904683
URL: http://svn.apache.org/viewvc?rev=904683&view=rev
Log:
Update for reflecting SPI module
Modified:
openwebbeans/trunk/samples/ejb-sample/pom.xml
openwebbeans/trunk/samples/ejb-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
openwebbeans/trunk/samples/ejb-telephone/pom.xml
openwebbeans/trunk/samples/ejb-telephone/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
openwebbeans/trunk/samples/standalone-sample/src/main/java/org/apache/webbeans/se/sample/Boot.java
openwebbeans/trunk/samples/standalone-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
Modified: openwebbeans/trunk/samples/ejb-sample/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/ejb-sample/pom.xml?rev=904683&r1=904682&r2=904683&view=diff
==============================================================================
--- openwebbeans/trunk/samples/ejb-sample/pom.xml (original)
+++ openwebbeans/trunk/samples/ejb-sample/pom.xml Sat Jan 30 00:07:43 2010
@@ -137,25 +137,20 @@
<!-- Geronimo PLugin-->
<dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-geronimo</artifactId>
- <version>${project.version}</version>
- </dependency>
-
-
- <!-- Interceptor API -->
- <dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-interceptor_1.1_spec</artifactId>
<scope>provided</scope>
</dependency>
-
- <!-- JPA API -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jpa_2.0_spec</artifactId>
<scope>provided</scope>
- </dependency>
+ </dependency>
+
+
+ <!-- Interceptor API -->
+
+ <!-- JPA API -->
</dependencies>
Modified: openwebbeans/trunk/samples/ejb-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/ejb-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties?rev=904683&r1=904682&r2=904683&view=diff
==============================================================================
--- openwebbeans/trunk/samples/ejb-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties (original)
+++ openwebbeans/trunk/samples/ejb-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties Sat Jan 30 00:07:43 2010
@@ -33,4 +33,4 @@
org.apache.webbeans.spi.deployer.UseEjbMetaDataDiscoveryService=true
#use resource service
-org.apache.webbeans.resource.spi.ResourceService=org.apache.webbeans.spi.ee.openejb.resource.OpenEjbResourceServiceImpl
\ No newline at end of file
+org.apache.webbeans.spi.ResourceService=org.apache.webbeans.ejb.resource.OpenEjbResourceServiceImpl
\ No newline at end of file
Modified: openwebbeans/trunk/samples/ejb-telephone/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/ejb-telephone/pom.xml?rev=904683&r1=904682&r2=904683&view=diff
==============================================================================
--- openwebbeans/trunk/samples/ejb-telephone/pom.xml (original)
+++ openwebbeans/trunk/samples/ejb-telephone/pom.xml Sat Jan 30 00:07:43 2010
@@ -130,25 +130,20 @@
<!-- Geronimo PLugin-->
<dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-geronimo</artifactId>
- <version>${project.version}</version>
- </dependency>
-
-
- <!-- Interceptor API -->
- <dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-interceptor_1.1_spec</artifactId>
<scope>provided</scope>
</dependency>
-
- <!-- JPA API -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jpa_2.0_spec</artifactId>
<scope>provided</scope>
- </dependency>
+ </dependency>
+
+
+ <!-- Interceptor API -->
+
+ <!-- JPA API -->
</dependencies>
Modified: openwebbeans/trunk/samples/ejb-telephone/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/ejb-telephone/src/main/resources/META-INF/openwebbeans/openwebbeans.properties?rev=904683&r1=904682&r2=904683&view=diff
==============================================================================
--- openwebbeans/trunk/samples/ejb-telephone/src/main/resources/META-INF/openwebbeans/openwebbeans.properties (original)
+++ openwebbeans/trunk/samples/ejb-telephone/src/main/resources/META-INF/openwebbeans/openwebbeans.properties Sat Jan 30 00:07:43 2010
@@ -28,4 +28,4 @@
org.apache.webbeans.application.useJSF2Extensions=false
#use resource service
-org.apache.webbeans.resource.spi.ResourceService=org.apache.webbeans.spi.ee.openejb.resource.OpenEjbResourceServiceImpl
\ No newline at end of file
+org.apache.webbeans.spi.ResourceService=org.apache.webbeans.ejb.resource.OpenEjbResourceServiceImpl
\ No newline at end of file
Modified: openwebbeans/trunk/samples/standalone-sample/src/main/java/org/apache/webbeans/se/sample/Boot.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/standalone-sample/src/main/java/org/apache/webbeans/se/sample/Boot.java?rev=904683&r1=904682&r2=904683&view=diff
==============================================================================
--- openwebbeans/trunk/samples/standalone-sample/src/main/java/org/apache/webbeans/se/sample/Boot.java (original)
+++ openwebbeans/trunk/samples/standalone-sample/src/main/java/org/apache/webbeans/se/sample/Boot.java Sat Jan 30 00:07:43 2010
@@ -23,11 +23,11 @@
import org.apache.webbeans.lifecycle.LifecycleFactory;
import org.apache.webbeans.se.sample.gui.LoginWindow;
-import org.apache.webbeans.spi.Lifecycle;
+import org.apache.webbeans.spi.ContainerLifecycle;
public class Boot
{
- private static Lifecycle lifecycle = null;
+ private static ContainerLifecycle lifecycle = null;
private static JFrame frame = null;
@@ -36,7 +36,7 @@
try
{
lifecycle = LifecycleFactory.getInstance().getLifecycle();
- lifecycle.applicationStarted(startupObject);
+ lifecycle.start(startupObject);
}catch(Exception e)
{
@@ -49,7 +49,7 @@
try
{
lifecycle = LifecycleFactory.getInstance().getLifecycle();
- lifecycle.applicationEnded(endObject);
+ lifecycle.stop(endObject);
}catch(Exception e)
{
Modified: openwebbeans/trunk/samples/standalone-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/standalone-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties?rev=904683&r1=904682&r2=904683&view=diff
==============================================================================
--- openwebbeans/trunk/samples/standalone-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties (original)
+++ openwebbeans/trunk/samples/standalone-sample/src/main/resources/META-INF/openwebbeans/openwebbeans.properties Sat Jan 30 00:07:43 2010
@@ -36,7 +36,7 @@
org.apache.webbeans.spi.TransactionService=org.apache.webbeans.spi.se.TransactionServiceNonJTA
#use the web metadata as default
-org.apache.webbeans.spi.deployer.MetaDataDiscoveryService=org.apache.webbeans.spi.se.deployer.MetaDataDiscoveryStandard
+org.apache.webbeans.spi.ScannerService=org.apache.webbeans.spi.se.deployer.MetaDataDiscoveryStandard
#Lifecycle to start container
-org.apache.webbeans.spi.Lifecycle=org.apache.webbeans.lifecycle.StandaloneLifeCycle
\ No newline at end of file
+org.apache.webbeans.spi.ContainerLifecycle=org.apache.webbeans.lifecycle.StandaloneLifeCycle
\ No newline at end of file