/**
  * Initializes the configuration with the values found in
  * the passed server configuration node.
  *
  * @param \AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $node The server node instance
  */
 public function __construct(ServerNodeInterface $node)
 {
     // set the node itself
     $this->node = $node;
     // pre-load the nodes data
     $this->analytics = $node->getAnalyticsAsArray();
     $this->virtualHosts = $node->getVirtualHostsAsArray();
     $this->handlers = $node->getFileHandlersAsArray();
     $this->headers = $node->getHeadersAsArray();
     $this->connectionHandlers = $node->getConnectionHandlersAsArray();
     $this->authentications = $node->getAuthenticationsAsArray();
     $this->modules = $node->getModulesAsArray();
     $this->rewrites = $node->getRewritesAsArray();
     $this->rewriteMaps = $node->getRewriteMapsAsArray();
     $this->accesses = $node->getAccessesAsArray();
     $this->environmentVariables = $node->getEnvironmentVariablesAsArray();
     $this->locations = $node->getLocationsAsArray();
     $this->certificates = $node->getCertificatesAsArray();
 }