PHP 클래스 AppserverIo\Appserver\PersistenceContainer\BeanLocator

상속: implements AppserverIo\Psr\EnterpriseBeans\ResourceLocatorInterface
파일 보기 프로젝트 열기: appserver-io/appserver

공개 메소드들

메소드 설명
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