[jboss-cvs] jboss-seam/src/ioc/org/jboss/seam/ioc/spring ...

Norman Richards norman.richards at jboss.com
Tue Jun 26 19:02:36 EDT 2007


  User: nrichards
  Date: 07/06/26 19:02:36

  Added:       src/ioc/org/jboss/seam/ioc/spring     spring-2.0.xsd
                        spring-seam-2.0.xsd
  Removed:     src/ioc/org/jboss/seam/ioc/spring     spring-1.3.xsd
                        spring-seam-1.3.xsd
  Log:
  bump schema/dtd versions
  
  Revision  Changes    Path
  1.1      date: 2007/06/26 23:02:36;  author: nrichards;  state: Exp;jboss-seam/src/ioc/org/jboss/seam/ioc/spring/spring-2.0.xsd
  
  Index: spring-2.0.xsd
  ===================================================================
  <?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.0.xsd"/>
  
      <xs:element name="context-loader">
          <xs:complexType mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                  <xs:element minOccurs="0" maxOccurs="1" ref="spring:config-locations"/>
              </xs:choice>
              <xs:attributeGroup ref="components:attlist.component"/>
              <xs:attribute name="config-locations" type="xs:string" use="optional" default="/WEB-INF/applicationContext.xml">
                  <xs:annotation>
                      <xs:documentation>
                          <![CDATA[
                                   A single application context config location.
                          ]]>
                      </xs:documentation>
                  </xs:annotation>
              </xs:attribute>
          </xs:complexType>
      </xs:element>
      <xs:element name="config-locations" type="components:multiValuedProperty">
  	<xs:annotation>
  	    <xs:documentation>
  	        <![CDATA[
  	                 Allows you to specify many config-locations in nested value elements.
  	        ]]>
  	    </xs:documentation>
  	</xs:annotation>
      </xs:element>
      
      <xs:element name="task-executor-dispatcher">
          <xs:complexType mixed="true">
              <xs:attributeGroup ref="components:attlist.component"/>
              <xs:attributeGroup ref="core:attlist.taskExecutorDispatcher"/>
          </xs:complexType>
      </xs:element>
      <xs:attributeGroup name="core:attlist.taskExecutorDispatcher">
          <xs:attribute name="task-executor" use="required"/>
          <xs:attribute name="schedule-dispatcher"/>
      </xs:attributeGroup>
  </xs:schema>
  
  
  
  1.1      date: 2007/06/26 23:02:36;  author: nrichards;  state: Exp;jboss-seam/src/ioc/org/jboss/seam/ioc/spring/spring-seam-2.0.xsd
  
  Index: spring-seam-2.0.xsd
  ===================================================================
  <?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-tool-2.0.xsd" />
  
      <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: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, by overriding Seam's default rules. 
                                   Seldom do you want the seam interceptors wrapped around a sprig singleton.  Auto will use choose no
                                   interception for a singleton and use Seam standard rules otherwise.
                          ]]>
                      </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>
  
  
  



More information about the jboss-cvs-commits mailing list