public function lookupStatefulSessionBean($sessionId, $className)
    {

        // create a unique SFSB identifier
        $identifier = SessionBeanUtil::createIdentifier($sessionId, $className);

        // load the map with the SFSBs
        $sessionBeans = $this->getStatefulSessionBeans();

        // if the SFSB exists, return it
        if ($sessionBeans->exists($identifier)) {
            return $sessionBeans->get($identifier);
        }
    }
public function lookupStatefulSessionBean($sessionId, $className)
    {

        // create a unique SFSB identifier
        $identifier = SessionBeanUtil::createIdentifier($sessionId, $className);

        // load the map with the SFSBs
        $sessionBeans = $this->getStatefulSessionBeans();

        // if the SFSB exists, return it
        if ($sessionBeans->exists($identifier)) {
            return $sessionBeans->get($identifier);
        }
    }
public function lookupStatefulSessionBean ( $ sessionId , $ className ) { // create a unique SFSB identifier $ identifier = SessionBeanUtil :: createIdentifier ( $ sessionId , $ className ) ; // load the map with the SFSBs $ sessionBeans = $ this -> getStatefulSessionBeans ( ) ; // if the SFSB exists, return it if ( $ sessionBeans -> exists ( $ identifier ) ) { return $ sessionBeans -> get ( $ identifier ) ; } }
Retrieves the requested stateful session bean.

@param string $sessionId The session-ID of the stateful session bean to retrieve
@param string $className The class name of the session bean to retrieve

@return object|null The stateful session bean if available
Retrieves the requested stateful session bean .