Skip to end of metadata
Go to start of metadata

<jboss-ejb-client /> - EJB Client

The <jboss-ejb-client /> element in a wildfly-config.xml file can be used to specify EJB Client configuration. This element is from the “urn:jboss:wildfly-client-ejb:3.0” namespace, e.g.

This section describes the child elements and attributes that can be configured within this element.

The <jboss-ejb-client /> element can optionally contain the following three child elements, as described in the next sections:

  • <invocation-timeout />
  • <global-interceptors />
  • <connections />

<invocation-timeout />

This element is used to specify an EJB invocation timeout. It has one attribute which is required:

Attribute
Description
seconds
The timeout, in seconds, for the EJB handshake or method invocation request/response cycle. The invocation of any method throws a java.util.concurrent.TimeoutException if the execution takes longer than the timeout period. The server side will not be interrupted.

<global-interceptors />

This element is used to specify global EJB client interceptors. It can contain any number of <interceptor /> elements.

<interceptor />

This element is used to specify an EJB client interceptor. It has two attributes:

Attribute
Description
class
The name of a class that implements the org.jboss.ejb.client.EJBClientInterceptor interface.
module
The optional name of the module that should be used to load the interceptor class.

<connections />

This element is used to specify EJB client connections. It can contain any number of <connection /> elements.

<connection />

This element is used to specify an EJB client connection. It has one required attribute. It can also optionally contain an <interceptors /> element.

Attribute
Description
uri
The connection destination URI.

<interceptors />

This element is used to specify EJB client interceptors and can contain any number of <interceptor /> elements.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.