public function provision()
{
// invoke the provisioners and provision the application
/** @var \AppserverIo\Psr\Application\ProvisionerInterface $provisioner */
foreach ($this->getProvisioners() as $provisioner) {
// log the manager we want to initialize
$this->getInitialContext()->getSystemLogger()->info(sprintf('Now invoking provisioner %s for application %s', get_class($provisioner), $this->getName()));
// execute the provisioning steps
$provisioner->provision($this);
// log the manager we've successfully registered
$this->getInitialContext()->getSystemLogger()->info(sprintf('Successfully invoked provisioner %s for application %s', get_class($provisioner), $this->getName()));
}
}