1 4 package com.tc.async.impl; 5 6 import com.tc.async.api.AddPredicate; 7 import com.tc.async.api.EventContext; 8 9 12 public class DefaultAddPredicate implements AddPredicate { 13 14 private final static AddPredicate instance = new DefaultAddPredicate(); 15 16 public static AddPredicate getInstance() { 17 return instance; 18 } 19 20 25 public boolean accept(EventContext context) { 26 return true; 27 } 28 29 } | Popular Tags |