nyla.solutions.commas.aop.Advice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.commas Show documentation
Show all versions of nyla.solutions.commas Show documentation
Command pattern implementation for building services.
The newest version!
package nyla.solutions.commas.aop;
import nyla.solutions.commas.Command;
import nyla.solutions.commas.CommandFacts;
/**
* Aspect similar to AOP based
* @author Gregory Green
*
*/
public interface Advice
{
/**
* Before advice in the form a command
* @return command pre advice
*/
Command,?> getBeforeCommand();
/**
* After advice in the form a command
* @return command post advice
*/
Command,?> getAfterCommand();
/**
*
* @return the function facts
*/
CommandFacts getFacts();
/**
*
* @param facts the function facts
*/
void setFacts(CommandFacts facts);
}