Skip to content

Commit 2584831

Browse files
committed
Update ExternalInterceptor.java
1 parent a982a1d commit 2584831

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/stage-1/middleware-frameworks/my-interceptor/src/test/java/org/geektimes/interceptor/ExternalInterceptor.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ public Object intercept(InvocationContext context) throws Throwable {
4646
}
4747

4848
@PostConstruct
49-
public void postConstruct(InvocationContext context) {
49+
public void postConstruct(InvocationContext context) throws Exception {
5050
String methodName = context.getMethod().getName();
5151
methodNames.add(methodName);
5252
logger.info("Post Construct : " + context.getMethod().getName());
53+
context.proceed();
5354
}
5455

5556
public Set<String> getMethodNames() {

0 commit comments

Comments
 (0)