Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When creating an interceptor, some host classes may not be found. #1390

Closed
luanwenfei-venus opened this issue Dec 20, 2023 · 0 comments
Closed
Assignees
Labels
area/framework Issues or PRs releated to sermant core service kind/enhancement Issues or PRs releated to sermant enhancement
Milestone

Comments

@luanwenfei-venus
Copy link
Collaborator

luanwenfei-venus commented Dec 20, 2023

What would you like to be enhanced?

When instantiating an interceptor, if you need to load the class of the host microservice when the interceptor is instantiated, the class will not be found. You need to wrap it around when creating the interceptor and set the local class loader to load the host class. device

Why is this needed?

Avoid the problem that the class of the host service cannot be found when the interceptor is instantiated.

@luanwenfei-venus luanwenfei-venus added kind/enhancement Issues or PRs releated to sermant enhancement area/framework Issues or PRs releated to sermant core service labels Dec 20, 2023
@luanwenfei-venus luanwenfei-venus added this to the v1.3.0 milestone Dec 20, 2023
@luanwenfei-venus luanwenfei-venus self-assigned this Dec 20, 2023
@kkf1 kkf1 changed the title 在创建拦截器时,可能会出现一些宿主类找不到的情况 When creating an interceptor, some host classes may not be found. Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framework Issues or PRs releated to sermant core service kind/enhancement Issues or PRs releated to sermant enhancement
Projects
None yet
Development

No branches or pull requests

2 participants