jerryshao commented on code in PR #9475:
URL: https://github.com/apache/gravitino/pull/9475#discussion_r2646749702
##########
core/src/main/java/org/apache/gravitino/GravitinoEnv.java:
##########
@@ -537,14 +539,28 @@ private void initGravitinoServerComponents() {
SchemaOperationDispatcher schemaOperationDispatcher =
new SchemaOperationDispatcher(catalogManager, entityStore,
idGenerator);
- SchemaHookDispatcher schemaHookDispatcher = new
SchemaHookDispatcher(schemaOperationDispatcher);
+ SchemaDispatcher schemaDispatcherProxy =
+ (SchemaDispatcher)
+ Proxy.newProxyInstance(
+ SchemaDispatcher.class.getClassLoader(),
+ new Class[] {SchemaDispatcher.class},
+ new OperationDispatcherInterceptor(
Review Comment:
I think You don't understand what I'm asking.
When will this `public Object invoke(Object proxy, Method method, Object[]
args) throws Throwable` be invoked? will this be invoked in each
`OperationDispatcher` call, like `loadTable`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]