container/resource/src/main/java/org/mobicents/slee/container/management/ResourceManagementImpl.java
public void uninstallResourceAdaptorType(final ResourceAdaptorTypeComponent component) {
		if (logger.isDebugEnabled()) {
			logger.debug("Uninstalling " + component);

		}
		final ResourceAdaptorTypeID resourceAdaptorTypeID = component.getResourceAdaptorTypeID();
		final TransactionContext txContext = sleeContainer.getTransactionManager().getTransactionContext();
		TransactionalAction action1 = new TransactionalAction() {
			public void execute() {
				entitiesPerType.remove(resourceAdaptorTypeID);
			}
		};
		if (txContext != null) {
			txContext.getAfterCommitActions().add(action1);
		}
		else {
			action1.execute();
		}		
		
		// if we are in cluster mode we need to remove the RA class loader domain from the replication class loader
		if (!sleeContainer.getCluster().getMobicentsCache().isLocalMode()) {
			final ReplicationClassLoader replicationClassLoader = sleeContainer.getReplicationClassLoader();
			TransactionalAction action2 = new TransactionalAction() {
				public void execute() {
					replicationClassLoader.removeDomain(component.getClassLoaderDomain());
				}
			};
			if (txContext != null) {
				txContext.getAfterCommitActions().add(action2);
			}
			else {
				action2.execute();
			}
		}
		
	}
public void uninstallResourceAdaptorType(final ResourceAdaptorTypeComponent component) {
		if (logger.isDebugEnabled()) {
			logger.debug("Uninstalling " + component);

		}
		final ResourceAdaptorTypeID resourceAdaptorTypeID = component.getResourceAdaptorTypeID();
		final TransactionContext txContext = sleeContainer.getTransactionManager().getTransactionContext();
		TransactionalAction action1 = new TransactionalAction() {
			public void execute() {
				entitiesPerType.remove(resourceAdaptorTypeID);
			}
		};
		if (txContext != null) {
			txContext.getAfterCommitActions().add(action1);
		}
		else {
			action1.execute();
		}		
		
		// if we are in cluster mode we need to remove the RA class loader domain from the replication class loader
		if (!sleeContainer.getCluster().getMobicentsCache().isLocalMode()) {
			final ReplicationClassLoader replicationClassLoader = sleeContainer.getReplicationClassLoader();
			TransactionalAction action2 = new TransactionalAction() {
				public void execute() {
					replicationClassLoader.removeDomain(component.getClassLoaderDomain());
				}
			};
			if (txContext != null) {
				txContext.getAfterCommitActions().add(action2);
			}
			else {
				action2.execute();
			}
		}
		
	}
Uninstalls the specified {@link ResourceAdaptorTypeComponent} from the container
@param component