public function deploy(ContainerConfigurationInterface $containerNode, NodeInterface $appNode)
    {
        // prepare file name
        $extractor = $this->getExtractor();
        $fileName = $appNode->getName() . $extractor->getExtensionSuffix();

        // load the file info
        $archive = new \SplFileInfo($this->getDeployDir($containerNode) . DIRECTORY_SEPARATOR . $fileName);

        // flag the archive => deploy it with the next restart
        $extractor->flagArchive($archive, ExtractorInterface::FLAG_DODEPLOY);
    }
public function deploy(ContainerConfigurationInterface $containerNode, NodeInterface $appNode)
    {
        // prepare file name
        $extractor = $this->getExtractor();
        $fileName = $appNode->getName() . $extractor->getExtensionSuffix();

        // load the file info
        $archive = new \SplFileInfo($this->getDeployDir($containerNode) . DIRECTORY_SEPARATOR . $fileName);

        // flag the archive => deploy it with the next restart
        $extractor->flagArchive($archive, ExtractorInterface::FLAG_DODEPLOY);
    }
public function deploy ( ContainerConfigurationInterface $ containerNode , NodeInterface $ appNode ) { // prepare file name $ extractor = $ this -> getExtractor ( ) ; $ fileName = $ appNode -> getName ( ) . $ extractor -> getExtensionSuffix ( ) ; // load the file info $ archive = new \ SplFileInfo ( $ this -> getDeployDir ( $ containerNode ) . DIRECTORY_SEPARATOR . $ fileName ) ; // flag the archive => deploy it with the next restart $ extractor -> flagArchive ( $ archive , ExtractorInterface :: FLAG_DODEPLOY ) ; }
Adds the .dodeploy flag file in the deploy folder, therefore the
app will be deployed with the next restart.

@param \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $containerNode The container the app is bound to
@param \AppserverIo\Configuration\Interfaces\NodeInterface                              $appNode       The application node object

@return void
Adds the . dodeploy flag file in the deploy folder therefore the app will be deployed with the next restart .