Package restx.exceptions

Source Code of restx.exceptions.ErrorsAdminModule

package restx.exceptions;

import restx.admin.AdminPage;
import restx.factory.Module;
import restx.factory.Provides;

import javax.inject.Named;

/**
* User: xavierhanin
* Date: 4/7/13
* Time: 2:59 PM
*/
@Module
public class ErrorsAdminModule {
    @Provides @Named("Errors")
    public AdminPage getErrorAdminPage() {
        return new AdminPage("/@/ui/errors/", "Errors");
    }
}
TOP

Related Classes of restx.exceptions.ErrorsAdminModule

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.