org.onebusaway.users.impl
Class UserPropertiesMigrationImpl
java.lang.Object
org.onebusaway.users.impl.UserPropertiesMigrationImpl
- All Implemented Interfaces:
- UserPropertiesMigration
@Component
public class UserPropertiesMigrationImpl
- extends Object
- implements UserPropertiesMigration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserPropertiesMigrationImpl
public UserPropertiesMigrationImpl()
setUserDao
public void setUserDao(UserDao userDao)
stop
@PreDestroy
public void stop()
needsMigration
public boolean needsMigration(UserProperties properties,
Class<?> target)
- Specified by:
needsMigration
in interface UserPropertiesMigration
migrate
public <T extends UserProperties> T migrate(UserProperties properties,
Class<T> target)
- Specified by:
migrate
in interface UserPropertiesMigration
startUserPropertiesBulkMigration
public <T extends UserProperties> void startUserPropertiesBulkMigration(Class<T> target)
- Specified by:
startUserPropertiesBulkMigration
in interface UserPropertiesMigration
getUserPropertiesBulkMigrationStatus
public UserPropertiesMigrationStatus getUserPropertiesBulkMigrationStatus()
- Specified by:
getUserPropertiesBulkMigrationStatus
in interface UserPropertiesMigration
Copyright © 2012 OneBusAway. All Rights Reserved.