Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

(TWILL-179) Added support for custom ClassLoader for containers #51

Closed
wants to merge 1 commit into from

Conversation

chtyim
Copy link
Member

@chtyim chtyim commented Apr 3, 2017

  • Added method TwillPreparer.setClassLoader
  • Use system property "twill.custom.class.loader" to pass the class name of the custom ClassLoader

- Added method TwillPreparer.setClassLoader
- Use system property "twill.custom.class.loader" to pass the class name of the custom ClassLoader
//
// public class Generated {
//
// public void announce(ServiceAnnouncer announcer, String serviceName, int port) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the javadoc outdated/inconsistent?
Cancellable is declared as the return type, below on line 76.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will update.

Copy link
Member Author

Choose a reason for hiding this comment

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

actually the comment is correct. The generated method has void return type. The announcer.announce method has Cancellable return type, but the result gets ignored (hence the mg.pop() code in line 79).

@anwar6953
Copy link
Contributor

1 minor comment; remainder LGTM.

@asfgit asfgit closed this in c8e2a61 Apr 3, 2017
@chtyim chtyim deleted the feature/TWILL-179 branch April 4, 2017 09:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants