Author: akazakov
Date: 2010-01-28 09:42:51 -0500 (Thu, 28 Jan 2010)
New Revision: 19989
Added:
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.1.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.1.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.2.xsd
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-5751
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml 2010-01-28 14:38:22 UTC (rev
19988)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml 2010-01-28 14:42:51 UTC (rev
19989)
@@ -273,6 +273,14 @@
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pages-2.0.xsd"/>
<uri
+
name="http://jboss.com/products/seam/pages-2.1.xsd"
+
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pages-2.1.xsd"/>
+
+ <uri
+
name="http://jboss.com/products/seam/pages-2.2.xsd"
+
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pages-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/pdf-2.0.xsd"
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pdf-2.0.xsd"/>
@@ -325,10 +333,26 @@
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-2.0.xsd"/>
<uri
+
name="http://jboss.com/products/seam/spring-2.1.xsd"
+
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-2.1.xsd"/>
+
+ <uri
+
name="http://jboss.com/products/seam/spring-2.2.xsd"
+
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/spring-seam-2.0.xsd"
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-seam-2.0.xsd"/>
<uri
+
name="http://jboss.com/products/seam/spring-seam-2.1.xsd"
+
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-seam-2.1.xsd"/>
+
+ <uri
+
name="http://jboss.com/products/seam/spring-seam-2.2.xsd"
+
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-seam-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/theme-2.0.xsd"
uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/theme-2.0.xsd"/>
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.1.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.1.xsd
(rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.1.xsd 2010-01-28 14:42:51
UTC (rev 19989)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
+
targetNamespace="http://jboss.com/products/seam/spring"
xmlns:spring="http://jboss.com/products/seam/spring"
+
xmlns:components="http://jboss.com/products/seam/components"
attributeFormDefault="unqualified">
+
+ <xs:import
namespace="http://jboss.com/products/seam/components"
+
schemaLocation="http://jboss.com/products/seam/components-2.1.xsd"
/>
+
+ <xs:element name="context-loader">
+ <xs:annotation>
+ <xs:documentation>Loads a spring context file</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="config-locations"
+ type="components:multiValuedProperty"
+ minOccurs="0" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation>Allows you to specify many
config-locations in nested value elements.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="config-locations"
type="components:string" use="optional"
+ default="/WEB-INF/applicationContext.xml">
+ <xs:annotation>
+ <xs:documentation>A single application context config
location.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="task-executor-dispatcher">
+ <xs:annotation>
+ <xs:documentation>Configures the Spring TaskExecuritor for asynchronous
calls</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="spring:attlist.taskExecutorDispatcher"
/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.taskExecutorDispatcher">
+ <xs:attribute name="task-executor" use="required"
type="components:string"/>
+ <xs:attribute name="schedule-dispatcher"
type="components:string" />
+ </xs:attributeGroup>
+
+ <xs:element name="spring-transaction">
+ <xs:annotation>
+ <xs:documentation>Configure the use of Spring
transactions</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="platform-transaction-manager"
type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ An expression evalutating to the spring platform transaction
manager
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="platform-transaction-manager-name"
type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ A spring bean name of a PlatformTransactionManager obtained from
a BeanFactory instead of EL.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="conversation-context-required"
type="components:boolean" use="optional" default="true">
+ <xs:annotation>
+ <xs:documentation>
+ Specify if this transaction manager requires a conversation
context to be available or not.
+ Set to true if you're using a JpaTransactionManager with a
conversation scoped persistence
+ context.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="join-transaction"
type="components:boolean" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Should this transaction manager participate in request to join a
transaction. For JTA
+ transactions set to true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.2.xsd
(rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.2.xsd 2010-01-28 14:42:51
UTC (rev 19989)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
+
targetNamespace="http://jboss.com/products/seam/spring"
xmlns:spring="http://jboss.com/products/seam/spring"
+
xmlns:components="http://jboss.com/products/seam/components"
attributeFormDefault="unqualified">
+
+ <xs:import
namespace="http://jboss.com/products/seam/components"
+
schemaLocation="http://jboss.com/products/seam/components-2.2.xsd"
/>
+
+ <xs:element name="context-loader">
+ <xs:annotation>
+ <xs:documentation>Loads a spring context file</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="config-locations"
+ type="components:multiValuedProperty"
+ minOccurs="0" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation>Allows you to specify many
config-locations in nested value elements.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="config-locations"
type="components:string" use="optional"
+ default="/WEB-INF/applicationContext.xml">
+ <xs:annotation>
+ <xs:documentation>A single application context config
location.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="task-executor-dispatcher">
+ <xs:annotation>
+ <xs:documentation>Configures the Spring TaskExecuritor for asynchronous
calls</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="spring:attlist.taskExecutorDispatcher"
/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.taskExecutorDispatcher">
+ <xs:attribute name="task-executor" use="required"
type="components:string"/>
+ <xs:attribute name="schedule-dispatcher"
type="components:string" />
+ </xs:attributeGroup>
+
+ <xs:element name="spring-transaction">
+ <xs:annotation>
+ <xs:documentation>Configure the use of Spring
transactions</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="platform-transaction-manager"
type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ An expression evalutating to the spring platform transaction
manager
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="platform-transaction-manager-name"
type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ A spring bean name of a PlatformTransactionManager obtained from
a BeanFactory instead of EL.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="conversation-context-required"
type="components:boolean" use="optional" default="true">
+ <xs:annotation>
+ <xs:documentation>
+ Specify if this transaction manager requires a conversation
context to be available or not.
+ Set to true if you're using a JpaTransactionManager with a
conversation scoped persistence
+ context.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="join-transaction"
type="components:boolean" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Should this transaction manager participate in request to join a
transaction. For JTA
+ transactions set to true.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.1.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.1.xsd
(rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.1.xsd 2010-01-28
14:42:51 UTC (rev 19989)
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
+
+<xsd:schema
xmlns="http://jboss.com/products/seam/spring-seam"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
xmlns:tool="http://www.springframework.org/schema/tool"
targetNamespace="http://jboss.com/products/seam/spring-seam"
+ elementFormDefault="qualified"
attributeFormDefault="unqualified">
+
+ <xsd:import
namespace="http://www.springframework.org/schema/tool"
+
schemaLocation="http://www.springframework.org/schema/tool/spring-to...
/>
+
+ <xsd:element name="configure-scopes">
+ <xsd:annotation>
+ <xsd:documentation>Makes all the seam scopes available in
spring.</xsd:documentation>
+ <xsd:appinfo>
+ <tool:annotation>
+ <tool:exports />
+ </tool:annotation>
+ </xsd:appinfo>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="prefix" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The prefix to use for the seam scopes. Default:
"seam."
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="default-auto-create"
type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Should instances of this component be auto-created. Defaults to false since
custom Seam
+ scopes are typically used to create stateful components that go on to be created
multiple times.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="instance">
+ <xsd:annotation>
+ <xsd:documentation>
+ Make an instance of a seam component available to spring beans for spring
injection.
+ </xsd:documentation>
+ <xsd:appinfo>
+ <tool:annotation>
+ <tool:exports />
+ </tool:annotation>
+ </xsd:appinfo>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="id" type="xsd:ID">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The id to use when making this seam component instance
available in spring. The default will be the seam component name.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="name" type="xsd:string"
use="required">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The seam component name to get an instance of.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="scope" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The optional scope to look for this seam component
instance in.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="STATELESS" />
+ <xsd:enumeration value="METHOD" />
+ <xsd:enumeration value="EVENT" />
+ <xsd:enumeration value="PAGE" />
+ <xsd:enumeration value="CONVERSATION" />
+ <xsd:enumeration value="SESSION" />
+ <xsd:enumeration value="APPLICATION" />
+ <xsd:enumeration value="BUSINESS_PROCESS" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="type" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The class type to use when creating a proxy of this
instance. Useful when using
+ EL for the name because the type of the EL expression
may not be available when the
+ proxy is created.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="create" type="xsd:boolean"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Whether seam should create a new instance if one does
not already exist.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="proxy" type="xsd:boolean"
use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Whether to wrap this definition in a proxy for safe
injection into a spring singleton.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="component">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Makes the surrounding spring bean a seam component with the
scope managed by spring. Also helps to resolve cases where
+ the spring bean name must be different from the seam component
name or where the seam beanClass cannot be correctly
+ detected.
+ ]]>
+ </xsd:documentation>
+ <xsd:appinfo>
+ <tool:annotation>
+ <tool:exports />
+ </tool:annotation>
+ </xsd:appinfo>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="name" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The seam component name to give this spring bean.
Optional unless the seam component name must be different from the
+ spring bean name.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="spring-name" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ What spring bean name should seam use to obtain an
instance of this bean. Only necessary when seam-spring cannot
+ property detect the name of the spring bean which some
spring NamespaceHandlers can do (eg. <aop:scoped-proxy/>, etc.).
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="class" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The component class seam will use to get annotations
from and to wrap it's interceptors around. Optional unless the
+ correct class is not being detected by seam-spring.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="intercept" type="xsd:boolean"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Determines whether Seam interceptors should be wrapped
around a bean, overriding
+ Seam's default which is currently "true".
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="auto-create" type="xsd:boolean"
use="optional" default="true">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Should instances of this component be auto-created. Defaults to true since the
STATELESS
+ scope is going to be used most of the time when using this namespace handler.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="scope" use="optional"
default="STATELESS">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+The optional scope this component should have. STATELESS will allow spring to manage the
scope. ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="STATELESS" />
+ <xsd:enumeration value="EVENT" />
+ <xsd:enumeration value="PAGE" />
+ <xsd:enumeration value="CONVERSATION" />
+ <xsd:enumeration value="SESSION" />
+ <xsd:enumeration value="APPLICATION" />
+ <xsd:enumeration value="BUSINESS_PROCESS" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+</xsd:schema>
Property changes on:
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.2.xsd
(rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.2.xsd 2010-01-28
14:42:51 UTC (rev 19989)
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
+
+<xsd:schema
xmlns="http://jboss.com/products/seam/spring-seam"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
xmlns:tool="http://www.springframework.org/schema/tool"
targetNamespace="http://jboss.com/products/seam/spring-seam"
+ elementFormDefault="qualified"
attributeFormDefault="unqualified">
+
+ <xsd:import
namespace="http://www.springframework.org/schema/tool"
+
schemaLocation="http://www.springframework.org/schema/tool/spring-to...
/>
+
+ <xsd:element name="configure-scopes">
+ <xsd:annotation>
+ <xsd:documentation>Makes all the seam scopes available in
spring.</xsd:documentation>
+ <xsd:appinfo>
+ <tool:annotation>
+ <tool:exports />
+ </tool:annotation>
+ </xsd:appinfo>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="prefix" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The prefix to use for the seam scopes. Default:
"seam."
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="default-auto-create"
type="xsd:boolean" use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Should instances of this component be auto-created. Defaults to false since
custom Seam
+ scopes are typically used to create stateful components that go on to be created
multiple times.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="instance">
+ <xsd:annotation>
+ <xsd:documentation>
+ Make an instance of a seam component available to spring beans for spring
injection.
+ </xsd:documentation>
+ <xsd:appinfo>
+ <tool:annotation>
+ <tool:exports />
+ </tool:annotation>
+ </xsd:appinfo>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="id" type="xsd:ID">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The id to use when making this seam component instance
available in spring. The default will be the seam component name.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="name" type="xsd:string"
use="required">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The seam component name to get an instance of.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="scope" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The optional scope to look for this seam component
instance in.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="STATELESS" />
+ <xsd:enumeration value="METHOD" />
+ <xsd:enumeration value="EVENT" />
+ <xsd:enumeration value="PAGE" />
+ <xsd:enumeration value="CONVERSATION" />
+ <xsd:enumeration value="SESSION" />
+ <xsd:enumeration value="APPLICATION" />
+ <xsd:enumeration value="BUSINESS_PROCESS" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="type" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The class type to use when creating a proxy of this
instance. Useful when using
+ EL for the name because the type of the EL expression
may not be available when the
+ proxy is created.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="create" type="xsd:boolean"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Whether seam should create a new instance if one does
not already exist.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="proxy" type="xsd:boolean"
use="optional" default="false">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Whether to wrap this definition in a proxy for safe
injection into a spring singleton.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="component">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Makes the surrounding spring bean a seam component with the
scope managed by spring. Also helps to resolve cases where
+ the spring bean name must be different from the seam component
name or where the seam beanClass cannot be correctly
+ detected.
+ ]]>
+ </xsd:documentation>
+ <xsd:appinfo>
+ <tool:annotation>
+ <tool:exports />
+ </tool:annotation>
+ </xsd:appinfo>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="name" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The seam component name to give this spring bean.
Optional unless the seam component name must be different from the
+ spring bean name.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="spring-name" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ What spring bean name should seam use to obtain an
instance of this bean. Only necessary when seam-spring cannot
+ property detect the name of the spring bean which some
spring NamespaceHandlers can do (eg. <aop:scoped-proxy/>, etc.).
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="class" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The component class seam will use to get annotations
from and to wrap it's interceptors around. Optional unless the
+ correct class is not being detected by seam-spring.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="intercept" type="xsd:boolean"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Determines whether Seam interceptors should be wrapped
around a bean, overriding
+ Seam's default which is currently "true".
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="auto-create" type="xsd:boolean"
use="optional" default="true">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Should instances of this component be auto-created. Defaults to true since the
STATELESS
+ scope is going to be used most of the time when using this namespace handler.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="scope" use="optional"
default="STATELESS">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+The optional scope this component should have. STATELESS will allow spring to manage the
scope. ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="STATELESS" />
+ <xsd:enumeration value="EVENT" />
+ <xsd:enumeration value="PAGE" />
+ <xsd:enumeration value="CONVERSATION" />
+ <xsd:enumeration value="SESSION" />
+ <xsd:enumeration value="APPLICATION" />
+ <xsd:enumeration value="BUSINESS_PROCESS" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+</xsd:schema>
Property changes on:
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/spring-seam-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain