@SuppressWarnings("unchecked")
	public void setFaultTolerantResourceAdaptorContext(
			FaultTolerantResourceAdaptorContext<Serializable, Serializable> context)
			throws IllegalArgumentException {

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

		if (isFaultTolerant()) {
			((FaultTolerantResourceAdaptor<Serializable, Serializable>) this.object)
					.setFaultTolerantResourceAdaptorContext(context);
		} else {
			throw new IllegalArgumentException(
					"RA Object is not fault tolerant!");
		}

	}
@SuppressWarnings("unchecked")
	public void setFaultTolerantResourceAdaptorContext(
			FaultTolerantResourceAdaptorContext<Serializable, Serializable> context)
			throws IllegalArgumentException {

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

		if (isFaultTolerant()) {
			((FaultTolerantResourceAdaptor<Serializable, Serializable>) this.object)
					.setFaultTolerantResourceAdaptorContext(context);
		} else {
			throw new IllegalArgumentException(
					"RA Object is not fault tolerant!");
		}

	}
@ SuppressWarnings ( "unchecked" ) public void setFaultTolerantResourceAdaptorContext ( FaultTolerantResourceAdaptorContext < Serializable , Serializable > context ) throws IllegalArgumentException { if ( doTraceLogs ) { logger . trace ( "setFaultTolerantResourceAdaptorContext( context = " + context + " )" ) ; } if ( isFaultTolerant ( ) ) { ( ( FaultTolerantResourceAdaptor < Serializable , Serializable > ) this . object ) . setFaultTolerantResourceAdaptorContext ( context ) ; } else { throw new IllegalArgumentException ( "RA Object is not fault tolerant!" ) ; } }
/*
(non-Javadoc)

@see org.mobicents.slee.container.resource.ResourceAdaptorObject#
setFaultTolerantResourceAdaptorContext
(org.mobicents.slee.resource.cluster.FaultTolerantResourceAdaptorContext)
/ * ( non - Javadoc )