connector/src/main/java/org/jboss/as/connector/util/ConnectorServices.java
public static void registerResourceAdapterIdentifier(final String raName, final String raIdentifier) {
        synchronized (resourceAdapterRepositoryIdentifiers) {
            resourceAdapterRepositoryIdentifiers.put(raName, raIdentifier);
        }
    }
public static void registerResourceAdapterIdentifier(final String raName, final String raIdentifier) {
        synchronized (resourceAdapterRepositoryIdentifiers) {
            resourceAdapterRepositoryIdentifiers.put(raName, raIdentifier);
        }
    }
Makes a note of the resource adapter identifier with which a resource adapter named <code>raName</code> is registered in
the {@link org.jboss.jca.core.spi.rar.ResourceAdapterRepository}.
<p/>
Subsequent calls to {@link #getRegisteredResourceAdapterIdentifier(String)} with the passed <code>raName</code> return
the <code>raIdentifier</code>

@param raName The resource adapter name
@param raIdentifier The resource adapter identifier