Translated message

A translation of this page exists in English.

EAP 6 で @AutoWired Spring Bean を @WebService エンドポイントに注入する方法

Solution In Progress - Updated -

Issue

@Autowired で注入された他の Spring Bean を使用する @WebService エンドポイントがあります。 SpringBeanAutowiringSupport を拡張して注入できるようにすると、Spring コンテキストリスナーがコンテキストを作成する前に注入が実行されるため、うまくいきません。

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x
  • Spring

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content