protected boolean isProducerTypeCheck ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "isProducerTypeCheck" ) ; boolean checking = true ; // We can carry out checking if there is no FRP, or the FRP has 0 size. StringArrayWrapper frp = ( StringArrayWrapper ) properties . get ( FORWARD_ROUTING_PATH ) ; if ( frp != null ) { List totalPath = frp . getMsgForwardRoutingPath ( ) ; if ( ( totalPath != null ) && ( totalPath . size ( ) > 0 ) ) checking = false ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "isProducerTypeCheck" , checking ) ; return checking ; }
This method informs us whether we can carry out type checking on the producer connect call .