<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Folks, <br>
<br>
here is an update on <a
href="https://issues.jboss.org/browse/AS7-2777">AS7-2777</a><br>
<br>
I added deployment operations start/stop and the ability in the
DeploymentPlanBuilder to say<br>
<br>
andDeploy().andNoStart()<br>
<br>
Following the INSTALL phase there is a new ACTIVATE phase. When
the 'deploy' operation is marked with StartPolicy.DEFERRED the
DeploymentPhaseService for ACTIVATE is created with initial
Mode.NEVER, which causes no execution of DUPs in ACTIVATE and
beyond.<br>
<br>
The 'start' operation, triggers continuation of DUP execution by
setting the DeploymentPhaseService for ACTIVATE to Mode.ACTIVE.<br>
<br>
The 'stop' operation sets the DeploymentPhaseService for ACTIVATE
to Mode.NEVER<br>
<br>
In this way start/stop can be called repeatedly<br>
<br>
Test coverage in<br>
<br>
[tdiesler@tdvaio smoke]$ mvn
-Dtest=StandaloneDeploymentTestCase install<br>
<br>
Running
org.jboss.as.test.smoke.osgi.StandaloneDeploymentTestCase<br>
Tests run: 12, Failures: 0, Errors: 0, Skipped: 3, Time
elapsed: 20.721 sec<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/tdiesler/jboss-as/tree/as2777">https://github.com/tdiesler/jboss-as/tree/as2777</a><br>
<br>
cheers<br>
-thomas<br>
</tt>
<pre class="moz-signature" cols="72">--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
</pre>
</body>
</html>