1 22 package org.jboss.dependency.spi; 23 24 import java.util.List ; 25 import java.util.Set ; 26 27 import org.jboss.util.JBossInterface; 28 29 40 public interface Controller extends JBossInterface 41 { 42 48 void install(ControllerContext context) throws Throwable ; 49 50 57 void change(ControllerContext context, ControllerState state) throws Throwable ; 58 59 65 void enableOnDemand(ControllerContext context) throws Throwable ; 66 67 73 ControllerContext uninstall(Object name); 74 75 82 ControllerContext getContext(Object name, ControllerState state); 83 84 90 ControllerContext getInstalledContext(Object name); 91 92 97 Set <ControllerContext> getNotInstalled(); 98 99 105 void addState(ControllerState state, ControllerState before); 106 107 112 List <ControllerState> getStates(); 113 } 114 | Popular Tags |