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

com.tobedevoured.command.spring.SpringCommandDependency Maven / Gradle / Ivy

There is a newer version: 0.3.5
Show newest version
package com.tobedevoured.command.spring;

import com.tobedevoured.command.CommandDependency;

import java.util.HashSet;
import java.util.Set;

/**
 * The Dependencies required to execute a {@link CommandMethod}
 *
 * Contains functionality for unimplemented Spring support
 *
 * @author Michael Guymon
 */
public class SpringCommandDependency extends CommandDependency {

    Set contexts = new HashSet();
    String beanName;

    /**
     * Get the {@link Set} of resource paths to Spring contexts
     *
     * @return {@link Set}
     */
    public Set getContexts() {
        return contexts;
    }

    /**
     * Set the {@link Set} of resource paths to Spring contexts
     *
     * @param contexts {@link Set}
     */
    public void setContexts(Set contexts) {
        this.contexts = contexts;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public  String getBeanName() {
        return beanName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy