[jboss-cvs] JBossAS SVN: r90926 - projects/jboss-osgi/projects/integration/deployers/trunk/src/main/java/org/jboss/osgi/deployer.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jul 8 06:16:16 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-07-08 06:16:16 -0400 (Wed, 08 Jul 2009)
New Revision: 90926

Modified:
   projects/jboss-osgi/projects/integration/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java
Log:
[JBOSGI-99] No explicit control over bundle.start()

Modified: projects/jboss-osgi/projects/integration/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java
===================================================================
--- projects/jboss-osgi/projects/integration/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java	2009-07-08 10:12:31 UTC (rev 90925)
+++ projects/jboss-osgi/projects/integration/deployers/trunk/src/main/java/org/jboss/osgi/deployer/BundleStartStopDeployer.java	2009-07-08 10:16:16 UTC (rev 90926)
@@ -67,7 +67,7 @@
    public void deploy(DeploymentUnit unit, Bundle bundle) throws DeploymentException
    {
       Boolean propAutoStart = unit.getAttachment(Constants.PROPERTY_AUTO_START, Boolean.class);
-      if (propAutoStart == Boolean.TRUE)
+      if (propAutoStart == null || propAutoStart == Boolean.TRUE)
       {
          String propDeferredStart = systemContext.getProperty(Constants.PROPERTY_DEFERRED_START);
          if (Boolean.parseBoolean(propDeferredStart != null ? propDeferredStart : "true") == true)




More information about the jboss-cvs-commits mailing list