@ Override public XAResource getRRSXAResource ( String activationSpecId , Xid xid ) throws XAResourceNotAvailableException { RRSXAResourceFactory factory = rrsXAResFactorySvcRef . getService ( ) ; if ( factory == null ) { return null ; } else { return factory . getTwoPhaseXAResource ( xid ) ; } }
Method to get the XAResource corresponding to an ActivationSpec from the RRSXAResourceFactory