PHP Класс AppserverIo\Appserver\PersistenceContainer\BeanLocator

Автор: Tim Wagner ([email protected])
Наследование: implements AppserverIo\Psr\EnterpriseBeans\ResourceLocatorInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
lookup ( AppserverIo\Psr\EnterpriseBeans\BeanContextInterface $beanManager, string $className, string $sessionId = null, array $args = [] ) : object Runs a lookup for the session bean with the passed class name and session ID.

Описание методов

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

If the passed class name is a session bean an instance will be returned.
public lookup ( AppserverIo\Psr\EnterpriseBeans\BeanContextInterface $beanManager, string $className, string $sessionId = null, array $args = [] ) : object
$beanManager AppserverIo\Psr\EnterpriseBeans\BeanContextInterface The bean manager instance
$className string The name of the session bean's class
$sessionId string The session ID
$args array The arguments passed to the session beans constructor
Результат object The requested session bean