001package org.intellimate.izou.system.context; 002 003import org.intellimate.izou.activator.ActivatorModel; 004import org.intellimate.izou.identification.Identification; 005import org.intellimate.izou.identification.IllegalIDException; 006 007/** 008 * @author Leander Kurscheidt 009 * @version 1.0 010 */ 011public interface Activators { 012 /** 013 * adds an activator and automatically submits it to the Thread-Pool 014 * @param activatorModel the activator to add 015 * @throws IllegalIDException not yet implemented 016 */ 017 void addActivator(ActivatorModel activatorModel) throws IllegalIDException; 018 019 /** 020 * removes the activator and stops the Thread 021 * @param activatorModel the activator to remove 022 */ 023 void removeActivator(ActivatorModel activatorModel); 024 025 /** 026 * returns the ID of the Manager 027 * @return an instance of Identification 028 */ 029 Identification getManagerIdentification(); 030}