
org.openas2.cmd.CommandManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openas2-server Show documentation
Show all versions of openas2-server Show documentation
Open source implementation of the AS2 standard for signed encrypted and compressed document transfer
package org.openas2.cmd;
import java.util.ArrayList;
import java.util.List;
import org.openas2.OpenAS2Exception;
import org.openas2.cmd.processor.BaseCommandProcessor;
/**
* command calls the registered command processors
*
* @author joseph mcverry
*/
public class CommandManager {
private List processors = new ArrayList();
public void addProcessor(BaseCommandProcessor processor)
{
processors.add(processor);
}
public void registerCommands(CommandRegistry reg) throws OpenAS2Exception
{
for (BaseCommandProcessor processor : processors)
{
processor.addCommands(reg);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy