1 27 package ch.ethz.prose; 28 29 import java.util.List ; 30 31 import ch.ethz.prose.engine.JoinPointManager; 32 33 52 public 53 interface AspectManager { 54 55 58 public void startup(); 59 60 63 public void teardown(); 64 65 73 abstract public void insert(Aspect asp) throws AspectManagerException; 74 75 76 81 abstract public void insert(Aspect ext,Object txId) throws AspectManagerException; 82 83 90 abstract public void withdraw(Aspect ext) throws AspectManagerException; 91 92 97 abstract public void withdraw(Aspect ext,Object txId) throws AspectManagerException; 98 99 102 abstract public void commit(Object txId); 103 104 108 abstract public void abort(Object txId); 109 110 113 public List getAllAspects(); 114 115 118 public JoinPointManager getJoinPointManager(); 119 } 120 121 122 123 | Popular Tags |