container/resource/src/main/java/org/mobicents/slee/resource/ResourceAdaptorObjectImpl.java
public void raInactive() throws InvalidStateException {

		if (doTraceLogs) {
			logger.trace("raInactive()");
		}

		if (state == ResourceAdaptorObjectState.STOPPING) {
			state = ResourceAdaptorObjectState.INACTIVE;
			object.raInactive();
		} else {
			throw new InvalidStateException("ra object is in state " + state);
		}
	}
public void raInactive() throws InvalidStateException {

		if (doTraceLogs) {
			logger.trace("raInactive()");
		}

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

@throws InvalidStateException
if the ra object is not in STOPPING state
Requests the deactivation of the ra object . If the operation succeeds the ra will transition to INACTIVE state .