Skip to navigation

Is it possible to configure EJB Interceptors server-wide in EAP 6?

Updated 2014-03-10T06:29:08+00:00

Issue

  • For doing logging as well as some attribute propagation on every (remote) ejb call, need to define a global default interceptor in the container.
  • The EJB Interceptor would apply to any application deployed in the EJB Container.
  • The deployed applications should not define their own interceptors in the ejb-jar.xml.
  • How can a EJB Interceptor be defined in a Module ?
  • Is there an alternative method that can be called after onMessage.

Environment

  • JBoss Enterprise Application Platform
    • 6.0.0

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.