public function getFactory()
    {
        $nb_engine = CNabuEngine::getEngine();

        if (!($this->nb_messaging_pool_manager instanceof CNabuMessagingPoolManager)) {
            $this->nb_messaging_pool_manager = CNabuEngine::getEngine()->getMessagingPoolManager();
        }

        if (!($this->nb_messaging_factory instanceof CNabuMessagingFactory)) {
            $this->nb_messaging_factory = $this->nb_messaging_pool_manager->getFactory($this);
        }

        return $this->nb_messaging_factory;
    }
public function getFactory()
    {
        $nb_engine = CNabuEngine::getEngine();

        if (!($this->nb_messaging_pool_manager instanceof CNabuMessagingPoolManager)) {
            $this->nb_messaging_pool_manager = CNabuEngine::getEngine()->getMessagingPoolManager();
        }

        if (!($this->nb_messaging_factory instanceof CNabuMessagingFactory)) {
            $this->nb_messaging_factory = $this->nb_messaging_pool_manager->getFactory($this);
        }

        return $this->nb_messaging_factory;
    }
public function getFactory ( ) { $ nb_engine = CNabuEngine :: getEngine ( ) ; if ( ! ( $ this -> nb_messaging_pool_manager instanceof CNabuMessagingPoolManager ) ) { $ this -> nb_messaging_pool_manager = CNabuEngine :: getEngine ( ) -> getMessagingPoolManager ( ) ; } if ( ! ( $ this -> nb_messaging_factory instanceof CNabuMessagingFactory ) ) { $ this -> nb_messaging_factory = $ this -> nb_messaging_pool_manager -> getFactory ( $ this ) ; } return $ this -> nb_messaging_factory ; }
Get the Factory to produce and send messages. If she is not instantiates, then instantiates one and catches it.
@return CNabuMessagingFactory Returns the instance of the Factory.
@throws ENabuCoreException Raises an exception if Customer instance is not available or not matches with
@throws ENabuMessagingException Raises an exception if none Pool Manager available.
Get the Factory to produce and send messages . If she is not instantiates then instantiates one and catches it .