Salome HOME
*** empty log message ***
[tools/siman.git] / Workspace / 3dparty_src / spring / schema / spring-jee-2.0.xsd
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
3 <xsd:schema xmlns="http://www.springframework.org/schema/jee"
4                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5                 xmlns:beans="http://www.springframework.org/schema/beans"
6                 xmlns:tool="http://www.springframework.org/schema/tool"
7                 targetNamespace="http://www.springframework.org/schema/jee"
8                 elementFormDefault="qualified"
9                 attributeFormDefault="unqualified">
10
11         <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"/>
12         <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-2.0.xsd"/>
13
14         <xsd:annotation>
15                 <xsd:documentation><![CDATA[
16         Defines the elements used to configure various Java EE (J2EE) related
17         technologies such as JNDI lookups and EJBs.
18                 ]]></xsd:documentation>
19         </xsd:annotation>
20
21         <xsd:element name="jndi-lookup">
22                 <xsd:annotation>
23                         <xsd:documentation source="java:org.springframework.jndi.JndiObjectFactoryBean"><![CDATA[
24         Exposes an object reference via a JNDI lookup.
25                         ]]></xsd:documentation>
26                 </xsd:annotation>
27                 <xsd:complexType>
28                         <xsd:complexContent>
29                                 <xsd:extension base="jndiLocatingType">
30                                         <xsd:attribute name="cache" type="xsd:boolean">
31                                                 <xsd:annotation>
32                                                         <xsd:documentation><![CDATA[
33         Controls whether the object returned from the JNDI lookup is cached
34         after the first lookup.
35                                                         ]]></xsd:documentation>
36                                                 </xsd:annotation>
37                                         </xsd:attribute>
38                                         <xsd:attribute name="expected-type" type="xsd:string">
39                                                 <xsd:annotation>
40                                                         <xsd:documentation source="java:java.lang.Class"><![CDATA[
41         The type that the located JNDI object is supposed to be assignable
42         to, if indeed any.
43                                                         ]]></xsd:documentation>
44                                                 </xsd:annotation>
45                                         </xsd:attribute>
46                                         <xsd:attribute name="lookup-on-startup" type="xsd:boolean">
47                                                 <xsd:annotation>
48                                                         <xsd:documentation><![CDATA[
49         Controls whether the JNDI lookup is performed immediately on startup
50         (if true, the default), or on first access (if false).
51                                                         ]]></xsd:documentation>
52                                                 </xsd:annotation>
53                                         </xsd:attribute>
54                                         <xsd:attribute name="proxy-interface" type="xsd:string">
55                                                 <xsd:annotation>
56                                                         <xsd:documentation source="java:java.lang.Class"><![CDATA[
57         The proxy interface to use for the JNDI object.
58
59         Needs to be specified because the actual JNDI object type is not
60         known in advance in case of a lazy lookup.
61
62         Typically used in conjunction with "lookupOnStartup"=false and/or
63         "cache"=false.
64                                                         ]]></xsd:documentation>
65                                                         <xsd:appinfo>
66                                                                 <tool:annotation>
67                                                                         <tool:expected-type type="java.lang.Class"/>
68                                                                 </tool:annotation>
69                                                         </xsd:appinfo>
70                                                 </xsd:annotation>
71                                         </xsd:attribute>
72                                 </xsd:extension>
73                         </xsd:complexContent>
74                 </xsd:complexType>
75         </xsd:element>
76
77         <xsd:element name="local-slsb" type="ejbType">
78                 <xsd:annotation>
79                         <xsd:documentation source="java:org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean"><![CDATA[
80         Exposes a reference to a local EJB Stateless SessionBean.
81                         ]]></xsd:documentation>
82                 </xsd:annotation>
83         </xsd:element>
84
85         <xsd:element name="remote-slsb">
86                 <xsd:annotation>
87                         <xsd:documentation source="java:org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean"><![CDATA[
88         Exposes a reference to a remote EJB Stateless SessionBean.
89                         ]]></xsd:documentation>
90                 </xsd:annotation>
91                 <xsd:complexType>
92                         <xsd:complexContent>
93                                 <xsd:extension base="ejbType">
94                                         <xsd:attribute name="home-interface" type="xsd:string">
95                                                 <xsd:annotation>
96                                                         <xsd:documentation source="java:java.lang.Class"><![CDATA[
97         The home interface that will be narrowed to before performing
98         the parameterless SLSB create() call that returns the actual
99         SLSB proxy.
100                                                         ]]></xsd:documentation>
101                                                 </xsd:annotation>
102                                         </xsd:attribute>
103                                         <xsd:attribute name="refresh-home-on-connect-failure" type="xsd:boolean">
104                                                 <xsd:annotation>
105                                                         <xsd:documentation><![CDATA[
106         Controls whether to refresh the EJB home on connect failure.
107
108         Can be turned on to allow for hot restart of the EJB server.
109         If a cached EJB home throws an RMI exception that indicates a
110         remote connect failure, a fresh home will be fetched and the
111         invocation will be retried.
112                                                         ]]></xsd:documentation>
113                                                 </xsd:annotation>
114                                         </xsd:attribute>
115                                 </xsd:extension>
116                         </xsd:complexContent>
117                 </xsd:complexType>
118         </xsd:element>
119
120         <!-- base types -->
121         <xsd:complexType name="jndiLocatingType" abstract="true">
122                 <xsd:complexContent>
123                         <xsd:extension base="beans:identifiedType">
124                                 <xsd:sequence>
125                                         <xsd:element name="environment" minOccurs="0" maxOccurs="1">
126                                                 <xsd:annotation>
127                                                         <xsd:documentation><![CDATA[
128         The newline-separated, key-value pairs for the JNDI environment
129         (in standard Properties format, namely 'key=value' pairs)
130                                                  ]]></xsd:documentation>
131                                                 </xsd:annotation>
132                                                 <xsd:simpleType>
133                                                         <xsd:restriction base="xsd:string"/>
134                                                 </xsd:simpleType>
135                                         </xsd:element>
136                                 </xsd:sequence>
137                                 <xsd:attribute name="environment-ref" type="environmentRefType">
138                                         <xsd:annotation>
139                                                 <xsd:documentation><![CDATA[
140         A reference to JNDI environment properties, indicating the name of a
141         shared bean of type [java.util.Properties}.
142                                                 ]]></xsd:documentation>
143                                         </xsd:annotation>
144                                 </xsd:attribute>
145                                 <xsd:attribute name="jndi-name" type="xsd:string" use="required">
146                                         <xsd:annotation>
147                                                 <xsd:documentation><![CDATA[
148         The JNDI name to look up. This needs to be the fully-qualified JNDI
149         path unless the "resource-ref" attributes is set to "true" in which
150         case the prefix "java:comp/env/" will be prepended if applicable.
151                                                 ]]></xsd:documentation>
152                                         </xsd:annotation>
153                                 </xsd:attribute>
154                                 <xsd:attribute name="resource-ref" type="xsd:boolean">
155                                         <xsd:annotation>
156                                                 <xsd:documentation><![CDATA[
157         Controls whether the lookup occurs in a J2EE container, i.e. if the
158         prefix "java:comp/env/" needs to be added if the JNDI name doesn't
159         already contain it. Default is "false".
160                                                 ]]></xsd:documentation>
161                                         </xsd:annotation>
162                                 </xsd:attribute>
163                         </xsd:extension>
164                 </xsd:complexContent>
165         </xsd:complexType>
166
167         <xsd:complexType name="ejbType">
168                 <xsd:complexContent>
169                         <xsd:extension base="jndiLocatingType">
170                                 <xsd:attribute name="lookup-home-on-startup" type="xsd:boolean">
171                                         <xsd:annotation>
172                                                 <xsd:documentation><![CDATA[
173         Controls whether the lookup of the EJB home object is performed
174         immediately on startup (if true, the default), or on first access
175         (if false).
176                                                 ]]></xsd:documentation>
177                                         </xsd:annotation>
178                                 </xsd:attribute>
179                                 <xsd:attribute name="cache-home" type="xsd:boolean">
180                                         <xsd:annotation>
181                                                 <xsd:documentation><![CDATA[
182         Controls whether the EJB home object is cached once it has been located.
183         On by default; turn this flag off to always reobtain fresh home objects.
184                                                 ]]></xsd:documentation>
185                                         </xsd:annotation>
186                                 </xsd:attribute>
187                                 <xsd:attribute name="business-interface" type="xsd:string" use="required">
188                                         <xsd:annotation>
189                                                 <xsd:documentation source="java:java.lang.Class"><![CDATA[
190         The business interface of the EJB being proxied.
191                                                 ]]></xsd:documentation>
192                                         </xsd:annotation>
193                                 </xsd:attribute>
194                         </xsd:extension>
195                 </xsd:complexContent>
196         </xsd:complexType>
197
198         <xsd:simpleType name="environmentRefType">
199                 <xsd:annotation>
200                         <xsd:appinfo>
201                                 <tool:annotation kind="ref">
202                                         <tool:expected-type type="java.util.Properties"/>
203                                 </tool:annotation>
204                         </xsd:appinfo>
205                 </xsd:annotation>
206                 <xsd:union memberTypes="xsd:string"/>
207         </xsd:simpleType>
208
209 </xsd:schema>