public function removeStatefulSessionBean($sessionId, $className)
    {

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

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

        // query whether the SFSB with the passed identifier exists
        if ($sessionBeans->exists($identifier)) {
            $sessionBeans->remove($identifier, array($this, 'destroyBeanInstance'));
        }
    }
public function removeStatefulSessionBean($sessionId, $className)
    {

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

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

        // query whether the SFSB with the passed identifier exists
        if ($sessionBeans->exists($identifier)) {
            $sessionBeans->remove($identifier, array($this, 'destroyBeanInstance'));
        }
    }
public function removeStatefulSessionBean ( $ sessionId , $ className ) { // create a unique SFSB identifier $ identifier = SessionBeanUtil :: createIdentifier ( $ sessionId , $ className ) ; // load the map with the SFSBs $ sessionBeans = $ this -> getStatefulSessionBeans ( ) ; // query whether the SFSB with the passed identifier exists if ( $ sessionBeans -> exists ( $ identifier ) ) { $ sessionBeans -> remove ( $ identifier , array ( $ this , 'destroyBeanInstance' ) ) ; } }
Removes the stateful session bean with the passed session-ID and class name
from the bean manager.

@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 void
Removes the stateful session bean with the passed session - ID and class name from the bean manager .