@ SuppressWarnings ( "unchecked" ) public BridgeFactory getBridgeFactory ( Class < ? > farType ) { if ( ! farToNearType . containsKey ( farType ) ) { throw new IllegalStateException ( "Far type not registered: " + ( farType == null ? "null" : farType . getSimpleName ( ) ) ) ; } return farTypeToFactory . get ( farType ) ; }
Returns the bridge factory that corresponds to the given far type