AppserverIo\Appserver\PersistenceContainer\BeanManager::newSingletonSessionBeanInstance PHP Метод

newSingletonSessionBeanInstance() публичный Метод

Returns a new instance of the SSB with the passed class name.
public newSingletonSessionBeanInstance ( string $className, string | null $sessionId = null, array $args = [] ) : object
$className string The fully qualified class name to return the instance for
$sessionId string | null The session-ID, necessary to inject stateful session beans (SFBs)
$args array Arguments to pass to the constructor of the instance
Результат object The instance itself
    public function newSingletonSessionBeanInstance($className, $sessionId = null, array $args = array())
    {
        return $this->getObjectFactory()->newInstance($className, $sessionId, $args);
    }