org.eclipse.dirigible.commons.api.module.AbstractDirigibleModule Maven / Gradle / Ivy
/*
* Copyright (c) ${license.git.copyrightYears} SAP SE or an SAP affiliate company and Eclipse Dirigible contributors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* SPDX-FileCopyrightText: ${license.git.copyrightYears} SAP SE or an SAP affiliate company and Eclipse Dirigible contributors
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.dirigible.commons.api.module;
import com.google.inject.AbstractModule;
/**
* The AbstractDirigibleModule is the parent of the Dirigible's Guice Modules.
*/
public abstract class AbstractDirigibleModule extends AbstractModule {
protected int HIGH_PRIORITY = 10;
protected int DEFAULT_PRIORITY = 30;
protected int LOW_PRIORITY = 100;
/**
* Gets the name.
*
* @return the name
*/
public abstract String getName();
/**
* Gets the priority
* @return the priority
*/
public int getPriority() {
return DEFAULT_PRIORITY;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy