public void raStopping ( ) throws InvalidStateException { if ( doTraceLogs ) { logger . trace ( "raStopping()" ) ; } if ( state == ResourceAdaptorObjectState . ACTIVE ) { state = ResourceAdaptorObjectState . STOPPING ; object . raStopping ( ) ; } else { throw new InvalidStateException ( "ra object is in state " + state ) ; } }
Requests the stopping of the ra object . If the operation succeeds the ra will transition to STOPPING state .