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

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

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

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

		if (state == ResourceAdaptorObjectState.INACTIVE) {
			state = ResourceAdaptorObjectState.UNCONFIGURED;
			object.raUnconfigure();
		} else {
			throw new InvalidStateException("ra object is in state " + state);
		}
	}
Unconfigures the ra object

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