All Downloads are FREE. Search and download functionalities are using the official Maven repository.

forklift.deployment.Deployment Maven / Gradle / Ivy

package forklift.deployment;

import java.util.Set;

/**
 * Defines the methods required for a Forklift Deployment.
 *
 * Created by afrieze on 10/28/16.
 */
public interface Deployment {

    /**
     * @return clases in this Deployment annotated with the {@link forklift.decorators.CoreService} annotation
     */
    Set> getCoreServices();

    /**
     * @return clases in this Deployment annotated with the {@link forklift.decorators.Service} annotation
     */
    Set> getServices();

    /**
     * @return clases in this Deployment annotated with the {@link forklift.decorators.Queue} annotation
     */
    Set> getQueues();

    /**
     * @return clases in this Deployment annotated with the {@link forklift.decorators.Topics} annotation
     */
    Set> getTopics();

    /**
     * Returns a {@link ClassLoader} capable of loading the classes encapsulated by this deployment
     *
     * @return {@link ClassLoader}
     */
    ClassLoader getClassLoader();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy