@Singleton
@Requires(classes=org.grails.orm.hibernate.HibernateDatastore.class) @Requires(property="data-source")
public class GormMigrationRunner
extends java.lang.Object
implements io.micronaut.context.event.BeanCreatedEventListener<org.grails.orm.hibernate.HibernateDatastore>
Modifier and Type | Field and Description |
---|---|
protected io.micronaut.context.ApplicationContext |
applicationContext |
Modifier and Type | Method and Description |
---|---|
org.grails.orm.hibernate.HibernateDatastore |
onCreated(io.micronaut.context.event.BeanCreatedEvent<org.grails.orm.hibernate.HibernateDatastore> event) |
protected final io.micronaut.context.ApplicationContext applicationContext
public org.grails.orm.hibernate.HibernateDatastore onCreated(io.micronaut.context.event.BeanCreatedEvent<org.grails.orm.hibernate.HibernateDatastore> event)
onCreated
in interface io.micronaut.context.event.BeanCreatedEventListener<org.grails.orm.hibernate.HibernateDatastore>