Set < TraceeBackendProvider > getDefaultTraceeBackendProvider ( ) { try { final ClassLoader classLoader = GetClassLoader . fromContext ( ) ; final Class < ? > slf4jTraceeBackendProviderClass = Class . forName ( "io.tracee.backend.slf4j.Slf4jTraceeBackendProvider" , true , classLoader ) ; final TraceeBackendProvider instance = ( TraceeBackendProvider ) slf4jTraceeBackendProviderClass . newInstance ( ) ; updatedCache ( classLoader , Collections . singleton ( instance ) ) ; return Collections . singleton ( instance ) ; } catch ( ClassNotFoundException | InstantiationException | IllegalAccessException | ClassCastException e ) { return Collections . emptySet ( ) ; } }
Loads the default implementation