forked from Archives/Athou_commafeed
override dropwizard's getname
This commit is contained in:
@@ -66,6 +66,11 @@ public class CommaFeedApplication extends Application<CommaFeedConfiguration> {
|
||||
|
||||
private HibernateBundle<CommaFeedConfiguration> hibernateBundle;
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "CommaFeed";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initialize(Bootstrap<CommaFeedConfiguration> bootstrap) {
|
||||
bootstrap.addBundle(hibernateBundle = new HibernateBundle<CommaFeedConfiguration>(AbstractModel.class, Feed.class,
|
||||
|
||||
Reference in New Issue
Block a user