object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java
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);
    }
  }
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);
    }
  }
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

@param iClassNames
to be registered
@param iClassLoader
Registers provided classes