forked from wildfly/wildfly
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ejb-jar.xml
57 lines (53 loc) · 2.23 KB
/
ejb-jar.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
version="3.0">
<display-name>InterceptorsTest</display-name>
<enterprise-beans>
<session>
<ejb-name>MyTestB</ejb-name>
<business-remote>org.jboss.as.test.integration.ejb.interceptor.complex.a.MyTestRemoteB</business-remote>
<ejb-class>org.jboss.as.test.integration.ejb.interceptor.complex.a.MyTestB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/Session23</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>org.jboss.as.test.integration.ejb.interceptor.complex.a.MySession2RemoteB</remote>
<ejb-link>MySession2BeanB</ejb-link>
<injection-target>
<injection-target-class>org.jboss.as.test.integration.ejb.interceptor.complex.a.MyTestB</injection-target-class>
<injection-target-name>session23</injection-target-name>
</injection-target>
</ejb-ref>
</session>
</enterprise-beans>
<interceptors>
<interceptor>
<interceptor-class>org.jboss.as.test.integration.ejb.interceptor.complex.a.XMLInterceptorB</interceptor-class>
<around-invoke>
<method-name>intercept</method-name>
</around-invoke>
<ejb-ref>
<ejb-ref-name>ejb/Session2</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>org.jboss.as.test.integration.ejb.interceptor.complex.a.MySession2RemoteB</remote>
<ejb-link>MySession2BeanB</ejb-link>
<injection-target>
<injection-target-class>org.jboss.as.test.integration.ejb.interceptor.complex.a.XMLInterceptorB</injection-target-class>
<injection-target-name>session2</injection-target-name>
</injection-target>
</ejb-ref>
</interceptor>
</interceptors>
<assembly-descriptor>
<interceptor-binding>
<ejb-name>MySession2BeanB</ejb-name>
<interceptor-class>org.jboss.as.test.integration.ejb.interceptor.complex.a.XMLInterceptorB</interceptor-class>
<method>
<method-name>doit</method-name>
</method>
</interceptor-binding>
</assembly-descriptor>
</ejb-jar>