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

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

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

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

		if (state == ResourceAdaptorObjectState.UNCONFIGURED) {
			object.unsetResourceAdaptorContext();
			state = null;
		} else {
			throw new InvalidStateException("ra object is in state " + state);
		}
	}
Unsets the context of the ra object.

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