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

Improve connector dependency deployment #2239

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

arunans23
Copy link
Member

@arunans23 arunans23 commented Nov 26, 2024

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

$subject

This PR introduces a new ClassLoader for libraries. Going forward all the connector dependencies and class mediators will be added to the same ClassLoader so that classes can be instantiated from without depending on dependencies added to the server lib folder.

Related to wso2/product-micro-integrator#3614

@arunans23 arunans23 requested a review from chanikag as a code owner November 26, 2024 09:47
@arunans23 arunans23 force-pushed the connector-dep branch 2 times, most recently from c9664ac to 879ff1c Compare November 26, 2024 10:03

public class LibClassLoader extends URLClassLoader {

public LibClassLoader(URL[] urls, ClassLoader parent) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

@arunans23 arunans23 merged commit 404653b into wso2:master Nov 27, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants