protected void setConfigurationProvider ( ConfigurationProvider p ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "setConfigurationProvider" , p ) ; try { ConfigurationProviderManager . setConfigurationProvider ( p ) ; // in an osgi environment we may get unconfigured and then reconfigured as bundles are // started/stopped. If we were previously unconfigured, then we would have shutdown and // our state will be 'stopped' (rather than inactive). If so, then re-start now. // The alternative would perhaps be to modify the checkTMState method to re-start for this state? if ( _state == TMService . TMStates . STOPPED ) { start ( ) ; } } catch ( Exception e ) { FFDCFilter . processException ( e , "com.ibm.tx.jta.util.impl.TxTMHelper.setConfigurationProvider" , "37" , this ) ; } if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "setConfigurationProvider" ) ; }
Called by DS to inject reference to Config Provider