container/resource/src/main/java/org/mobicents/slee/resource/ResourceAdaptorObjectImpl.java
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);
		}
	}
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.

@throws InvalidStateException
if the ra object is not in ACTIVE state