Package org.dspace.storage.rdbms
Class EntityTypeServiceInitializer
- java.lang.Object
-
- org.dspace.storage.rdbms.EntityTypeServiceInitializer
-
- All Implemented Interfaces:
org.flywaydb.core.api.callback.Callback
public class EntityTypeServiceInitializer extends Object implements org.flywaydb.core.api.callback.Callback
Callback method to ensure that the default EntityTypes are created in the database AFTER the database migration completes.- Author:
- Mykhaylo Boychuk (mykhaylo.boychuk at 4science.it)
-
-
Constructor Summary
Constructors Constructor Description EntityTypeServiceInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandleInTransaction(org.flywaydb.core.api.callback.Event event, org.flywaydb.core.api.callback.Context context)voidhandle(org.flywaydb.core.api.callback.Event event, org.flywaydb.core.api.callback.Context context)booleansupports(org.flywaydb.core.api.callback.Event event, org.flywaydb.core.api.callback.Context context)
-
-
-
Method Detail
-
supports
public boolean supports(org.flywaydb.core.api.callback.Event event, org.flywaydb.core.api.callback.Context context)- Specified by:
supportsin interfaceorg.flywaydb.core.api.callback.Callback
-
canHandleInTransaction
public boolean canHandleInTransaction(org.flywaydb.core.api.callback.Event event, org.flywaydb.core.api.callback.Context context)- Specified by:
canHandleInTransactionin interfaceorg.flywaydb.core.api.callback.Callback
-
handle
public void handle(org.flywaydb.core.api.callback.Event event, org.flywaydb.core.api.callback.Context context)- Specified by:
handlein interfaceorg.flywaydb.core.api.callback.Callback
-
-