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