djencks 2005/10/11 22:32:45
Modified: modules/openejb-builder/src/test/org/openejb/deployment
DeploymentTestSuite.java
Log:
GERONIMO-1060 step 1. Rearrange the use of the attribute store
Revision Changes Path
1.16 +5 -2
openejb/modules/openejb-builder/src/test/org/openejb/deployment/DeploymentTestSuite.java
Index: DeploymentTestSuite.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/deployment/DeploymentTestSuite.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- DeploymentTestSuite.java 6 Sep 2005 08:29:36 -0000 1.15
+++ DeploymentTestSuite.java 12 Oct 2005 02:32:45 -0000 1.16
@@ -71,6 +71,7 @@
import org.apache.geronimo.kernel.GBeanNotFoundException;
import org.apache.geronimo.kernel.Kernel;
import org.apache.geronimo.kernel.config.ConfigurationData;
+import org.apache.geronimo.kernel.config.ManageableAttributeStore;
import org.apache.geronimo.kernel.management.State;
import org.apache.geronimo.system.configuration.ExecutableConfigurationUtil;
import org.apache.geronimo.system.serverinfo.BasicServerInfo;
@@ -234,9 +235,11 @@
// load the configuration
kernel.loadGBean(config, cl);
+ kernel.startGBean(CONFIGURATION_OBJECT_NAME);
// start the configuration
- kernel.startRecursiveGBean(CONFIGURATION_OBJECT_NAME);
+ kernel.invoke(CONFIGURATION_OBJECT_NAME, "loadGBeans", new
Object[] {null}, new String[] {ManageableAttributeStore.class.getName()});
+ kernel.invoke(CONFIGURATION_OBJECT_NAME, "startRecursiveGBeans");
assertRunning(kernel, CONFIGURATION_OBJECT_NAME);
applicationClassLoader = (ClassLoader)
kernel.getAttribute(CONFIGURATION_OBJECT_NAME, "configurationClassLoader");