com.tobedevoured.command.spring.SpringCommandDependency Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring Show documentation
Show all versions of spring Show documentation
Make Java do your bidding by turning any code into an executable
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;
}
}