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

		if (doTraceLogs) {
			logger.trace("setResourceAdaptorContext( context = " + context
					+ " )");
		}

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

		if (doTraceLogs) {
			logger.trace("setResourceAdaptorContext( context = " + context
					+ " )");
		}

		if (state == null) {
			state = ResourceAdaptorObjectState.UNCONFIGURED;
			object.setResourceAdaptorContext(context);
		} else {
			throw new InvalidStateException("ra object is in state " + state);
		}
	}
public void setResourceAdaptorContext ( ResourceAdaptorContext context ) throws InvalidStateException { if ( doTraceLogs ) { logger . trace ( "setResourceAdaptorContext( context = " + context + " )" ) ; } if ( state == null ) { state = ResourceAdaptorObjectState . UNCONFIGURED ; object . setResourceAdaptorContext ( context ) ; } else { throw new InvalidStateException ( "ra object is in state " + state ) ; } }
/*
(non-Javadoc)

@see org.mobicents.slee.container.resource.ResourceAdaptorObject#
setResourceAdaptorContext(javax.slee.resource.ResourceAdaptorContext)
/ * ( non - Javadoc )