private void preloadContextCache ( List < Class < ? > > classes ) throws JAXBException { if ( classes != null && ! classes . isEmpty ( ) ) { for ( Class < ? > clazz : classes ) { getContext ( clazz ) ; } } }
Will preload factory s cache with JAXBContext for provided classes