Questions tagged [requestscope]

57 questions
0
votes
1 answer

Calling a class annotated with @RequestScope inside a Listener using Spring boot

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.movimentacaoEntradaRadarNotaBuilderImpl': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this…
0
votes
0 answers

Why is separate RequestScoped bean not injected into the bean called by JSF commandButton action?

For what reason won't an injected secondary bean using the same scope contain the form data from the submit? Using an explicit method call with parameter from a (JSF) commandButton action.. I've resorted to including the same parameter in the…
Cygone
  • 1
  • 1
0
votes
1 answer

@Timed annotation does not work with request scoped beans?

I have a bean that has a request scope and in it there is a method that is annotated with micrometer(io.micrometer.core.annotation) @Timed but it is not showing in the metrics. It shows if the bean is in the default scope (Singleton). …
0
votes
0 answers

Is it possible to access RequestScoped class from Singleton class?

I have one Singleton class in my Primefaces Webapp, where I want to query one parameter from my database (for the logged in user). This parameter access function is in other class and this isn't working in my case I already found out where the…
VORiAND
  • 145
  • 3
  • 17
  • 35
0
votes
0 answers

Spring Autowire Request Scope

In Spring it's easy to autowire beans and have them available anywhere in the app context. Beans can be specialized to a scope such as session/request/web socket etc. I have a rather unique scenario. I receive a message from a message broker which…
GSUgambit
  • 4,459
  • 6
  • 25
  • 31
0
votes
1 answer

How to scrape javascript text using beautifulsoup

I am trying to get the text produced as a result of an external script in html with Python: