[seam-commits] Seam SVN: r11024 - in modules/trunk/bridge-api/src: test/java/org/jboss/seam/bridge and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu May 28 15:05:00 EDT 2009


Author: dan.j.allen
Date: 2009-05-28 15:05:00 -0400 (Thu, 28 May 2009)
New Revision: 11024

Modified:
   modules/trunk/bridge-api/src/main/java/org/jboss/seam/bridge/ManagerBridge.java
   modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeOverrideTest.java
   modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeTest.java
Log:
rename startup method

Modified: modules/trunk/bridge-api/src/main/java/org/jboss/seam/bridge/ManagerBridge.java
===================================================================
--- modules/trunk/bridge-api/src/main/java/org/jboss/seam/bridge/ManagerBridge.java	2009-05-28 15:36:40 UTC (rev 11023)
+++ modules/trunk/bridge-api/src/main/java/org/jboss/seam/bridge/ManagerBridge.java	2009-05-28 19:05:00 UTC (rev 11024)
@@ -89,7 +89,7 @@
     * 
     * @param manager The deployed Manager instance
     */
-   public void onManagerDeployed(@Observes @AfterBeanDiscovery BeanManager manager)
+   public void onStartup(@Observes @AfterBeanDiscovery BeanManager manager)
    {
       // intended for a mock environment, skip discovery
       if (!discover)

Modified: modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeOverrideTest.java
===================================================================
--- modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeOverrideTest.java	2009-05-28 15:36:40 UTC (rev 11023)
+++ modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeOverrideTest.java	2009-05-28 19:05:00 UTC (rev 11024)
@@ -26,7 +26,7 @@
       ManagerBridge bridge = new ManagerBridge();
       // no scanning should occur; ensure by forcing NullPointerException if it does
       bridge.setResolverClass(null);
-      bridge.onManagerDeployed(null);
+      bridge.onStartup(null);
       
       assertSame(ManagerBridge.getProvider(), provider);
    }

Modified: modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeTest.java
===================================================================
--- modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeTest.java	2009-05-28 15:36:40 UTC (rev 11023)
+++ modules/trunk/bridge-api/src/test/java/org/jboss/seam/bridge/ManagerBridgeTest.java	2009-05-28 19:05:00 UTC (rev 11024)
@@ -45,7 +45,7 @@
    {
       ManagerBridge bridge = new ManagerBridge();
       bridge.setResolverClass(ManagerProviderResolverStub.class);
-      bridge.onManagerDeployed(getCurrentManager());
+      bridge.onStartup(getCurrentManager());
       ManagerProvider provider = ManagerBridge.getProvider();
       assertTrue(provider instanceof ManagerProviderStub);
       assertSame(provider.getCurrentManager(), getCurrentManager());
@@ -62,7 +62,7 @@
    {
       ManagerBridge bridge = new ManagerBridge();
       bridge.setResolverClass(IncorrectManagerProviderResolverStub.class);
-      bridge.onManagerDeployed(getCurrentManager());
+      bridge.onStartup(getCurrentManager());
       ManagerBridge.getProvider();
    }
    




More information about the seam-commits mailing list