AppserverIo\Appserver\Core\Api\AbstractService::getSystemConfiguration PHP Method

getSystemConfiguration() public method

(non-PHPdoc)
See also: AppserverIo\Appserver\Core\Api\ServiceInterface::getSystemConfiguration()
public getSystemConfiguration ( ) : AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface
return AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface The system configuration
    public function getSystemConfiguration()
    {
        return $this->getInitialContext()->getSystemConfiguration();
    }

Usage Example

 /**
  * Dummy test as there currently is now functionality behind the actual method
  *
  * @return null
  *
  * @expectedException \AppserverIo\Lang\NotImplementedException
  */
 public function testPersist()
 {
     $this->service->persist($this->service->getSystemConfiguration());
 }