<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module name="org.jboss.as.ejb3" xmlns="urn:jboss:module:1.9">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <resources>
        <resource-root path="wildfly-ejb3-33.0.2.Final.jar"/>
        <resource-root path="timers"/>
    </resources>

    <dependencies>
        <module name="java.desktop"/>
        <module name="java.management"/>
        <module name="java.naming"/>
        <module name="java.rmi"/>
        <module name="java.sql"/>
        <module name="java.transaction.xa"/>
        <module name="jakarta.transaction.api"/>
        <module name="org.wildfly.http-client.ejb" services="import"/>
        <module name="jakarta.annotation.api"/>
        <module name="jakarta.ejb.api"/>
        <module name="jakarta.interceptor.api"/>
        <module name="jakarta.jms.api"/>
        <module name="jakarta.persistence.api"/>
        <module name="jakarta.security.jacc.api"/>
        <module name="javax.orb.api"/>
        <!-- For message inflow -->
        <module name="jakarta.resource.api"/>
        <module name="org.jboss.common-beans" services="import"/>
        <module name="org.jboss.as.clustering.common"/>
        <module name="org.wildfly.clustering.ee.cache"/>
        <module name="org.wildfly.clustering.ee.spi"/>
        <module name="org.wildfly.clustering.ejb.spi"/>
        <module name="org.wildfly.clustering.infinispan.embedded.api"/>
        <module name="org.wildfly.clustering.infinispan.embedded.service"/>
        <module name="org.wildfly.clustering.marshalling.jboss"/>
        <module name="org.wildfly.clustering.server.api"/>
        <module name="org.wildfly.clustering.server.service"/>
        <module name="org.wildfly.clustering.service"/>
        <module name="org.wildfly.clustering.singleton.api"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.extension.request-controller"/>
        <module name="org.wildfly.discovery"/>
        <module name="org.wildfly.service"/>
        <module name="org.jboss.as.controller"/>
        <!-- So we can access its integration API -->
        <module name="org.jboss.as.connector"/>
        <!-- Need access to org.jboss.as.core.security.ServerSecurityManager -->
        <module name="org.jboss.as.core-security"/>
        <!-- Need access to org.jboss.as.domain.management.SecurityRealm for authentication of EJB cluster nodes
         in EJB client context-->
        <module name="org.jboss.as.domain-management"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.wildfly.iiop-openjdk"/>
        <module name="org.jboss.as.naming"/>
        <module name="org.jboss.as.network"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.as.threads"/>
        <module name="org.jboss.as.transactions"/>
        <module name="org.jboss.classfilewriter"/>
        <module name="org.jboss.jboss-transaction-spi"/>
        <module name="org.jboss.ejb-client" services="import"/>
        <module name="org.jboss.ejb3"/>
        <module name="org.jboss.iiop-client"/>
        <module name="org.jboss.invocation"/>
        <module name="org.jboss.ironjacamar.api"/>
        <module name="io.smallrye.jandex"/>
        <!-- For recovery manager (com.arjuna.ats.jbossatx.jta.RecoveryManagerService) -->
        <module name="org.jboss.jts.integration"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.marshalling"/>
        <module name="org.jboss.marshalling.river" services="import"/>
        <!-- the EE metadata -->
        <module name="org.jboss.metadata.common"/>
        <module name="org.jboss.metadata.ejb"/>
        <module name="org.jboss.metadata.ear"/>
        <!-- Access to the ModuleClassLoader -->
        <module name="org.jboss.modules"/>
        <!-- Access to ServiceName -->
        <module name="org.jboss.msc"/>
        <module name="org.jboss.remoting"/>
        <module name="org.jboss.staxmapper"/>
        <!-- For parser DUP -->
        <module name="org.jboss.vfs"/>

        <module name="org.omg.api"/>
        <!-- Needed for EJB over HTTP support-->
        <module name="io.undertow.core"/>

        <module name="javax.rmi.api"/>

        <module name="org.wildfly.transaction.client"/>

        <!-- Those are needed for integration with hibernate validator -->
        <module name="jakarta.enterprise.api" optional="true"/>
        <module name="org.jboss.as.weld.common" optional="true"/>
        <module name="org.hibernate.validator" optional="true"/>
        <module name="org.hibernate.validator.cdi" optional="true"/>

        <module name="java.xml"/>
    </dependencies>
</module>
