public final SfFailoverKey getFailoverKey()
    {
        //we only need to initialize failoverKey if this bean is failover-enabled
        if (ivFailoverKey == null)
        {
            ivFailoverKey = EJSContainer.getDefaultContainer().getEJBRuntime().createFailoverKey(this);
        }
        return ivFailoverKey;
    }
public final SfFailoverKey getFailoverKey ( ) { if ( ivFailoverKey == null ) { ivFailoverKey = EJSContainer . getDefaultContainer ( ) . getEJBRuntime ( ) . createFailoverKey ( this ) ; } return ivFailoverKey ; }
d536149
<br/>
Returns the failover key for this BeanId. This key is used in various
maps to reference failover data for Stateful Bean Failover.
<br/>
Precondition: This method must only be called for stateful beans
with failover enabled. If this condition is not met, unpredictable
exceptions could occur, as a failover key would be created for a bean
that is unable to be replicated via failover.
<br/>

@return the failover key for this beanId instance. This method will never
return null (see precondition)