jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java
public void registerResourceManager(final JtxResourceManager resourceManager) {
		if ((oneResourceManager) && (!resourceManagers.isEmpty())) {
			throw new JtxException("TX manager allows only one resource manager");
		}
		this.resourceManagers.put(resourceManager.getResourceType(), resourceManager);
	}
public void registerResourceManager(final JtxResourceManager resourceManager) {
		if ((oneResourceManager) && (!resourceManagers.isEmpty())) {
			throw new JtxException("TX manager allows only one resource manager");
		}
		this.resourceManagers.put(resourceManager.getResourceType(), resourceManager);
	}
public void registerResourceManager ( final JtxResourceManager resourceManager ) { if ( ( oneResourceManager ) && ( ! resourceManagers . isEmpty ( ) ) ) { throw new JtxException ( "TX manager allows only one resource manager" ) ; } this . resourceManagers . put ( resourceManager . getResourceType ( ) , resourceManager ) ; }
Registers new {@link JtxResourceManager resource manager}.
Registers new {