1 17 18 package org.objectweb.jac.aspects.distribution; 19 20 import org.objectweb.jac.core.*; 21 import org.objectweb.jac.aspects.distribution.consistency.*; 22 23 30 31 public class ConsistencyAC extends AspectComponent { 32 33 52 53 public void addStrongPushConsistency(String wrappeeName, 54 String methods, 55 String hosts) { 56 pointcut(wrappeeName, ".*", methods, 57 new StrongPushConsistencyWrapper(this,hosts), 58 hosts, null); 59 } 60 61 76 77 public void addStrongPullConsistency(String wrappeeName, 78 String methods, 79 String hosts) { 80 pointcut(wrappeeName, ".*", methods, 81 new StrongPullConsistencyWrapper(this,hosts), 82 hosts, null); 83 } 84 85 } 86 | Popular Tags |