1.3.2.2. Manager层

定义Manager接口

public interface TestManager {
    void test() throws BusinessException;
}

实现Manager

public class TestManagerImpl implements TestManager {
    public void test() throws BusinessException{
        // doSth
    }
}

Spring配置

<bean name="testManager" class="com.seeyon.apps.samples.TestManager" />