protected void setUserTransaction ( ServiceReference < UserTransaction > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && LoggingUtil . SESSION_LOGGER_WAS . isLoggable ( Level . FINE ) ) { LoggingUtil . SESSION_LOGGER_WAS . logp ( Level . FINE , methodClassName , "setUserTransaction" , "setting " + ref ) ; } userTransactionRef . setReference ( ref ) ; }
Declarative Services method for setting the UserTransaction service reference