Map getTrmProperties ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , "getTrmProperties" ) ; } final Map trmProperties = new HashMap ( ) ; final String trmBusName = getBusName ( ) ; if ( ( trmBusName != null ) && ( ! trmBusName . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . BUSNAME , trmBusName ) ; } final String trmTarget = getTarget ( ) ; if ( ( trmTarget != null ) && ( ! trmTarget . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . TARGET_GROUP , trmTarget ) ; } final String trmTargetType = getTargetType ( ) ; if ( ( trmTargetType != null ) && ( ! trmTargetType . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . TARGET_TYPE , trmTargetType ) ; } final String trmTargetSignificance = getTargetSignificance ( ) ; if ( ( trmTargetSignificance != null ) && ( ! trmTargetSignificance . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . TARGET_SIGNIFICANCE , trmTargetSignificance ) ; } final String trmTargetTransportChain = getTargetTransportChain ( ) ; if ( ( trmTargetTransportChain != null ) && ( ! trmTargetTransportChain . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . TARGET_TRANSPORT_CHAIN , trmTargetTransportChain ) ; } final String trmProviderEndpoints = getRemoteServerAddress ( ) ; if ( ( trmProviderEndpoints != null ) && ( ! trmProviderEndpoints . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . PROVIDER_ENDPOINTS , trmProviderEndpoints ) ; } final String trmTargetTransport = getTargetTransport ( ) ; if ( ( trmTargetTransport != null ) && ( ! trmTargetTransport . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . TARGET_TRANSPORT_TYPE , trmTargetTransport ) ; } final String trmConnectionProximity = getConnectionProximity ( ) ; if ( ( trmConnectionProximity != null ) && ( ! trmConnectionProximity . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . CONNECTION_PROXIMITY , trmConnectionProximity ) ; } final String trmSubscriptionProtocol = getSubscriptionProtocol ( ) ; if ( ( trmSubscriptionProtocol != null ) && ( ! trmSubscriptionProtocol . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . SUBSCRIPTION_PROTOCOL , trmSubscriptionProtocol ) ; } final String trmMulticastInterface = getMulticastInterface ( ) ; if ( ( trmMulticastInterface != null ) && ( ! trmMulticastInterface . equals ( "" ) ) ) { trmProperties . put ( SibTrmConstants . MULTICAST_INTERFACE , trmMulticastInterface ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . exit ( this , TRACE , "getTrmProperties" , trmProperties ) ; } return trmProperties ; }
Returns the map of properties required by TRM .