1 | <?php |
||
34 | class QueueConnectionFactory |
||
35 | { |
||
36 | |||
37 | /** |
||
38 | * Protected constructor to use class only in static context. |
||
39 | */ |
||
40 | protected function __construct() |
||
43 | |||
44 | /** |
||
45 | * Returns the queue connection instance as singleton. |
||
46 | * |
||
47 | * @param string $appName Name of the webapp using this client connection |
||
48 | * @param \AppserverIo\Properties\PropertiesInterface $properties The properties containing the connection parameters |
||
49 | * |
||
50 | * @return \AppserverIo\Messaging\QueueConnection The singleton instance |
||
51 | */ |
||
52 | public static function createQueueConnection($appName = '', PropertiesInterface $properties = null) |
||
56 | } |
||
57 |