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

Remove Undertow dependency from ArC #529

Merged
merged 3 commits into from
Jan 18, 2019

Conversation

stuartwdouglas
Copy link
Member

No description provided.

@stuartwdouglas stuartwdouglas added this to the 0.6.0 milestone Jan 16, 2019
import org.jboss.builder.item.SimpleBuildItem;
import org.jboss.protean.arc.ArcContainer;

public final class ArcContainerBuildItem extends SimpleBuildItem {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hm, I think we should rather extend the BeanContainer. Maybe just expose org.jboss.protean.arc.ArcContainer.withinRequest(Supplier<T>)?

Copy link
Member Author

Choose a reason for hiding this comment

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

I have updated this


public class BeanDefiningAnnotationsBuildStep {

@BuildStep
void beanDefiningAnnotations(Capabilities capabilities, BuildProducer<BeanDefiningAnnotationBuildItem> annotations) {
if (capabilities.isCapabilityPresent(Capabilities.UNDERTOW)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Capabilities.UNDERTOW is not used anywhere else and could be removed.

mkouba and others added 2 commits January 17, 2019 08:39
- also do not activate the request context if already active
Make BeanContainer.RequestAction more generic
@stuartwdouglas stuartwdouglas added this to the 0.7.0 milestone Jan 18, 2019
@stuartwdouglas stuartwdouglas merged commit 90b3c4a into quarkusio:master Jan 18, 2019
maxandersen pushed a commit to maxandersen/quarkus that referenced this pull request Nov 5, 2022
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
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.

None yet

3 participants