
org.webpieces.plugins.backend.BackendPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-backend Show documentation
Show all versions of plugin-backend Show documentation
backend pluggable plugin that all backend plugins can plugin into or not
package org.webpieces.plugins.backend;
import java.util.List;
import org.webpieces.plugins.backend.login.BackendLoginRoutes;
import org.webpieces.router.api.plugins.Plugin;
import org.webpieces.router.api.routes.Routes;
import com.google.common.collect.Lists;
import com.google.inject.Module;
public class BackendPlugin implements Plugin {
public BackendPlugin(BackendConfig config) {
super();
}
@Override
public List getGuiceModules() {
return Lists.newArrayList(new BackendModule());
}
@Override
public List getRouteModules() {
return Lists.newArrayList(
new BackendLoginRoutes("/org/webpieces/plugins/backend/login/BackendLoginController",
BackendRoutes.BACKEND_ROUTE, BackendRoutes.BACKEND_ROUTE+"/secure.*")
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy