@@ -0,0 +1,1486 @@
+/*%0A * Copyright (c) 2016-2016, fastquery.org and/or its affiliates. All rights reserved.%0A *%0A * Licensed to the Apache Software Foundation (ASF) under one or more%0A * contributor license agreements.  See the NOTICE file distributed with%0A * this work for additional information regarding copyright ownership.%0A * The ASF licenses this file to You under the Apache License, Version 2.0%0A * (the %22License%22); you may not use this file except in compliance with%0A * the License.  You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * %0A * For more information, please see http://www.fastquery.org/.%0A * %0A */%0A%0Apackage org.fastquery.example;%0A%0Aimport java.lang.reflect.Method;%0A%0Aimport org.fastquery.core.Repository;%0Aimport org.fastquery.filter.AfterFilter;%0A%0A/**%0A * %0A * @author xixifeng (fastquery@126.com)%0A */%0Apublic class MyAfterFilter extends AfterFilter%3CRepository%3E %7B%0A%0A%09@Override%0A%09public Object doFilter(Repository repository, Method method, Object%5B%5D args, Object returnVal) %7B%0A%09%09%0A%09%09// repository: %E5%BD%93%E5%89%8D%E6%8B%A6%E6%88%AA%E5%88%B0%E7%9A%84%E5%AE%9E%E4%BE%8B%0A%09%09// method: %E5%BD%93%E5%89%8D%E6%8B%A6%E6%88%AA%E5%88%B0%E7%9A%84method%0A%09%09// args: %E5%BD%93%E5%89%8D%E4%BC%A0%E9%80%92%E8%BF%9B%E6%9D%A5%E7%9A%84%E5%8F%82%E6%95%B0%0A%09%09// returnVal %E5%8D%B3%E5%B0%86%E8%BF%94%E5%9B%9E%E7%9A%84%E5%80%BC%0A%09%09%0A%09%09// %E5%9C%A8%E8%BF%99%E9%87%8C%E5%8F%AF%E4%BB%A5%E4%B8%AD%E9%80%94%E4%BF%AE%E6%94%B9 returnVal%0A%09%09%0A%09%09return returnVal;%0A%09%7D%0A%7D%0A

add example