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

Introduce pluggable runtime provider #566

Merged
merged 2 commits into from
Jul 5, 2021
Merged

Conversation

zuston
Copy link
Member

@zuston zuston commented Jun 30, 2021

No description provided.

@zuston zuston requested a review from oliverhu June 30, 2021 10:28
@zuston zuston linked an issue Jun 30, 2021 that may be closed by this pull request
Copy link
Member

@oliverhu oliverhu left a comment

Choose a reason for hiding this comment

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

looks like a mini dependency injection..

import java.util.ServiceLoader;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class FrameworkRuntimeProvider {
Copy link
Member

Choose a reason for hiding this comment

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

@zuston it'd be good if you can write a dev guide (a readme file) if others want to support another framework in TonY.

Copy link
Member Author

@zuston zuston Jul 1, 2021

Choose a reason for hiding this comment

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

Sounds good

Copy link
Member Author

Choose a reason for hiding this comment

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

Developing doc will be attached later on another PR.

@zuston
Copy link
Member Author

zuston commented Jul 1, 2021

looks like a mini dependency injection..

Just refer to the implementation of the Hadoop file system that using the Java SPI.

@zuston zuston merged commit 0c6b198 into tony-framework:master Jul 5, 2021
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.

Introduce pluggable runtime provider
2 participants