add interceptor xml configuration.
refactor GetConfig.