@Deprecated
  public HMSHandler getHandler() {
    return (HMSHandler)handler;
  }
You should use {@link #getIHMSHandler()} instead.
@return handler.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java