public synchronized void registerEntityClasses ( final Collection < String > iClassNames , final ClassLoader iClassLoader ) { OLogManager . instance ( ) . debug ( this , "Discovering entity classes for class names: %s" , iClassNames ) ; try { registerEntityClasses ( OReflectionHelper . getClassesFor ( iClassNames , iClassLoader ) ) ; } catch ( ClassNotFoundException e ) { throw OException . wrapException ( new ODatabaseException ( "Entity class cannot be found" ) , e ) ; } }
Registers provided classes