Return-Path: Delivered-To: apmail-openwebbeans-commits-archive@www.apache.org Received: (qmail 28496 invoked from network); 30 Jan 2010 00:08:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jan 2010 00:08:07 -0000 Received: (qmail 75334 invoked by uid 500); 30 Jan 2010 00:08:07 -0000 Delivered-To: apmail-openwebbeans-commits-archive@openwebbeans.apache.org Received: (qmail 75305 invoked by uid 500); 30 Jan 2010 00:08:07 -0000 Mailing-List: contact commits-help@openwebbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwebbeans.apache.org Delivered-To: mailing list commits@openwebbeans.apache.org Received: (qmail 75295 invoked by uid 99); 30 Jan 2010 00:08:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jan 2010 00:08:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jan 2010 00:08:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9071E23888C2; Sat, 30 Jan 2010 00:07:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: 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/... Date: Sat, 30 Jan 2010 00:07:43 -0000 To: commits@openwebbeans.apache.org From: gerdogdu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100130000743.9071E23888C2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 @@ - org.apache.openwebbeans - openwebbeans-geronimo - ${project.version} - - - - - org.apache.geronimo.specs geronimo-interceptor_1.1_spec provided - - org.apache.geronimo.specs geronimo-jpa_2.0_spec provided - + + + + + + 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 @@ - org.apache.openwebbeans - openwebbeans-geronimo - ${project.version} - - - - - org.apache.geronimo.specs geronimo-interceptor_1.1_spec provided - - org.apache.geronimo.specs geronimo-jpa_2.0_spec provided - + + + + + + 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