public void set ( BridgeFactory factory ) { if ( factory . getNearType ( ) != nearType ) { throw new IllegalArgumentException ( "Type mismatch: " + nearType + ": " + factory . getNearType ( ) ) ; } factorySetting . set ( factory ) ; }
Sets the bridge factory to use with this accessor . The near type of the given bridge factory has to match the near type of this bridge accessor .