Exemplo n.º 1
0
 /**
  * Configures the server for handling a request.
  *
  * This method takes the instance of {@link ezcWebdavServer} in $server and
  * configures this instance according to the configuration represented.
  * After calling this method, the {@link ezcWebdavServer} instance in
  * $server is ready to handle a request.
  *
  * This method is not intended to be called directly, but by {@link
  * ezcWebdavServerConfigurationManager}, when requested to configure the
  * server.
  * 
  * @param ezcWebdavServer $server
  * @return void
  */
 public function configure(ezcWebdavServer $server)
 {
     $this->checkClasses();
     $xmlTool = new $this->xmlToolClass();
     $propertyHandler = new $this->propertyHandlerClass();
     $headerHandler = new $this->headerHandlerClass();
     $transport = new $this->transportClass();
     $pathFactory = $this->pathFactory;
     $server->init($pathFactory, $xmlTool, $propertyHandler, $headerHandler, $transport);
 }