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);
    }