container/resource/src/main/java/org/mobicents/slee/container/management/ResourceManagementImpl.java
public void installResourceAdaptor(final ResourceAdaptorComponent component) throws DeploymentException {
		if (logger.isDebugEnabled()) {
			logger.debug("Installing " + component);

		}
		new ResourceAdaptorClassCodeGenerator().process(component);
		// if we are in cluster mode we need to add the RA class loader domain to the replication class loader
		if (!sleeContainer.getCluster().getMobicentsCache().isLocalMode()) {
			final ReplicationClassLoader replicationClassLoader = sleeContainer.getReplicationClassLoader();
			replicationClassLoader.addDomain(component.getClassLoaderDomain());
			final TransactionContext txContext = sleeContainer.getTransactionManager().getTransactionContext();
			if (txContext != null) {
				TransactionalAction action = new TransactionalAction() {
					public void execute() {
						replicationClassLoader.removeDomain(component.getClassLoaderDomain());
					}
				};
				txContext.getAfterRollbackActions().add(action);
			}
		}
	}
public void installResourceAdaptor(final ResourceAdaptorComponent component) throws DeploymentException {
		if (logger.isDebugEnabled()) {
			logger.debug("Installing " + component);

		}
		new ResourceAdaptorClassCodeGenerator().process(component);
		// if we are in cluster mode we need to add the RA class loader domain to the replication class loader
		if (!sleeContainer.getCluster().getMobicentsCache().isLocalMode()) {
			final ReplicationClassLoader replicationClassLoader = sleeContainer.getReplicationClassLoader();
			replicationClassLoader.addDomain(component.getClassLoaderDomain());
			final TransactionContext txContext = sleeContainer.getTransactionManager().getTransactionContext();
			if (txContext != null) {
				TransactionalAction action = new TransactionalAction() {
					public void execute() {
						replicationClassLoader.removeDomain(component.getClassLoaderDomain());
					}
				};
				txContext.getAfterRollbackActions().add(action);
			}
		}
	}
Installs the specified {@link ResourceAdaptorComponent} in the container
@param component
@throws DeploymentException