| 123456789101112131415161718192021222324252627282930313233343536373839 |
- /*
- * Copyright 2009-2012 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License i distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- package net.paoding.rose.jade.statement;
- import org.springframework.core.annotation.Order;
- /**
- * 可用 {@link Order}来调节优先级,根据 {@link Order} 语义,值越小越有效;
- * <p>
- * 如果没有标注 {@link Order} 使用默认值0。
- *
- * @author 王志亮 [qieqie.wang@gmail.com]
- * @author 廖涵 [in355hz@gmail.com]
- *
- */
- //按Spring语义规定,Order值越高该解释器越后执行
- @Order(0)
- public interface Interpreter {
- /**
- *
- * @param runtime
- */
- void interpret(StatementRuntime runtime);
- }
|