示例#1
0
 @After
 public void tearDown() throws Exception {
   InterceptorRegistry.unbind(null);
   INTERCEPTOR_REGISTRY_ADAPTOR = null;
 }
示例#2
0
 @Before
 public void setUp() throws Exception {
   INTERCEPTOR_REGISTRY_ADAPTOR = new DefaultInterceptorRegistryAdaptor();
   InterceptorRegistry.bind(INTERCEPTOR_REGISTRY_ADAPTOR, null);
 }