Search in sources :

Example 1 with DfVelocityContextFactory

use of org.dbflute.friends.velocity.DfVelocityContextFactory in project dbflute-core by dbflute.

the class DfReplaceSchemaTask method createVelocityContext.

protected VelocityContext createVelocityContext() {
    final DfVelocityContextFactory factory = createVelocityContextFactory();
    final AppData appData = AppData.createAsEmpty();
    return factory.createAsCore(appData, _documentSelector);
}
Also used : DfVelocityContextFactory(org.dbflute.friends.velocity.DfVelocityContextFactory) AppData(org.apache.torque.engine.database.model.AppData)

Example 2 with DfVelocityContextFactory

use of org.dbflute.friends.velocity.DfVelocityContextFactory in project dbflute-core by dbflute.

the class DfFreeGenTask method createVelocityContext.

protected VelocityContext createVelocityContext() {
    final DfVelocityContextFactory factory = createVelocityContextFactory();
    final DfFreeGenManager manager = DfFreeGenInitializer.getManager();
    return factory.createAsFreeGen(manager, _freeGenRequestList);
}
Also used : DfFreeGenManager(org.dbflute.logic.manage.freegen.DfFreeGenManager) DfVelocityContextFactory(org.dbflute.friends.velocity.DfVelocityContextFactory)

Aggregations

DfVelocityContextFactory (org.dbflute.friends.velocity.DfVelocityContextFactory)2 AppData (org.apache.torque.engine.database.model.AppData)1 DfFreeGenManager (org.dbflute.logic.manage.freegen.DfFreeGenManager)1