Skip to content

How to use an extension libraries' classes only and with our own custom service extension. #4700

Answered by wolf4ood
hemantxpatel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hemantxpatel

there is no way to achieve that. Usually *-core modules contains extensions with default behaviour and if you include those you will also get the services injected. For reusable stuff across extensions we create modules with *-lib convention and they only exposes classes without extensions. In this case to achieve that a refactor is needed in order to extract the required classes into a jetty-lib module.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by hemantxpatel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jimmarino
Comment options

Comment options

You must be logged in to vote
2 replies
@jimmarino
Comment options

@paullatzelsperger
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants