aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1176972 - in /aries/site/trunk/content/schemas: ./ blueprint-cm/ blueprint-ext/ jpa/ transaction/
Date Wed, 28 Sep 2011 17:23:19 GMT
Author: dkulp
Date: Wed Sep 28 17:23:18 2011
New Revision: 1176972

URL: http://svn.apache.org/viewvc?rev=1176972&view=rev
Log:
Add schemas

Added:
    aries/site/trunk/content/schemas/
    aries/site/trunk/content/schemas/blueprint-cm/
    aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd   (with props)
    aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd   (with props)
    aries/site/trunk/content/schemas/blueprint-ext/
    aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd   (with props)
    aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd   (with props)
    aries/site/trunk/content/schemas/jpa/
    aries/site/trunk/content/schemas/jpa/jpa.xsd   (with props)
    aries/site/trunk/content/schemas/jpa/jpa_110.xsd   (with props)
    aries/site/trunk/content/schemas/transaction/
    aries/site/trunk/content/schemas/transaction/transactionv10.xsd   (with props)
    aries/site/trunk/content/schemas/transaction/transactionv11.xsd   (with props)

Added: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd (added)
+++ aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd Wed Sep 28 17:23:18
2011
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+    /*
+    * $Revision$
+    *
+    * Copyright (c) OSGi Alliance (2008, 2009). All Rights Reserved.
+    *
+    * Licensed under the Apache License, Version 2.0 (the "License");
+    * you may not use this file except in compliance with the License.
+    * You may obtain a copy of the License at
+    *
+    *      http://www.apache.org/licenses/LICENSE-2.0
+    *
+    * Unless required by applicable law or agreed to in writing, software
+    * distributed under the License is distributed on an "AS IS" BASIS,
+    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    * See the License for the specific language governing permissions and
+    * limitations under the License.
+    */
+    -->
+<xsd:schema xmlns="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            targetNamespace="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified"
+            version="1.0.0">
+
+    <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0" />
+
+    <!-- property placeholder -->
+
+    <xsd:element name="property-placeholder" type="TpropertyPlaceholder"/>
+
+    <xsd:complexType name="TpropertyPlaceholder">
+        <xsd:complexContent>
+            <xsd:extension base="bp:Tcomponent">
+                <xsd:sequence>
+                    <!-- nested properties declaration -->
+                    <xsd:element name="default-properties" type="TdefaultProperties" minOccurs="0"
maxOccurs="1"/>
+                </xsd:sequence>
+
+                <!-- #### What should be the type for a persistent id?  I think we need
to define one like class and method -->
+                <xsd:attribute name="persistent-id" type="xsd:string" use="required"/>
+                <xsd:attribute name="placeholder-prefix" type="xsd:string" use="optional"
default="${"/>
+                <xsd:attribute name="placeholder-suffix" type="xsd:string" use="optional"
default="}"/>
+                <xsd:attribute name="defaults-ref" type="bp:Tidref" use="optional"/>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <!-- #### is this the correct type here?  This is defining placeholder properties,
+         so should this be a restricted set of value types or should this be expanded to
+         all of the elements you can inject into a bean property? -->
+    <xsd:complexType name="TdefaultProperties">
+        <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+            <xsd:element name="property" type="bp:Tproperty"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+
+    <!--  managed-properties  -->
+
+    <xsd:element name="managed-properties" type="TmanagedProperties"/>
+
+    <xsd:complexType name="TmanagedProperties">
+        <xsd:attribute name="persistent-id" type="xsd:string" use="required"/>
+        <xsd:attribute name="update-strategy" type="TupdateStrategyType" use="optional"/>
+        <xsd:attribute name="update-method" type="xsd:string" use="optional"/>
+    </xsd:complexType>
+
+    <xsd:simpleType name="TupdateStrategyType">
+        <xsd:restriction base="xsd:NMTOKEN">
+            <xsd:enumeration value="none"/>
+            <xsd:enumeration value="component-managed"/>
+            <xsd:enumeration value="container-managed"/>
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <!--  managed-service-factory -->
+
+    <xsd:element name="managed-service-factory" type="TmanagedServiceFactory"/>
+
+    <xsd:complexType name="TmanagedServiceFactory">
+        <xsd:complexContent>
+            <xsd:extension base="bp:Tcomponent">
+                <xsd:sequence>
+                    <xsd:group ref="bp:GbaseServiceElements"/>
+                    <xsd:element name="managed-component" type="TmanagedComponent" minOccurs="1"
maxOccurs="1"/>
+                </xsd:sequence>
+                <xsd:attribute name="interface" type="bp:Tclass" use="optional" />
+                <xsd:attribute name="ref" type="bp:Tidref" use="optional" />
+                <xsd:attribute name="auto-export" type="bp:TautoExportModes" default="disabled"
/>
+                <xsd:attribute name="ranking" type="xsd:int" default="0"/>
+                <xsd:attribute name="factory-pid" type="xsd:string" use="required"/>
+                <xsd:anyAttribute namespace="##other" processContents="strict"/>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="TmanagedComponent">
+        <xsd:group ref="bp:GbeanElements"/>
+        <xsd:attribute name="class" type="bp:Tclass"/>
+        <xsd:attribute name="init-method" type="bp:Tmethod"/>
+        <xsd:attribute name="destroy-method" type="bp:Tmethod"/>
+        <xsd:attribute name="factory-method" type="bp:Tmethod"/>
+        <xsd:attribute name="factory-component" type="bp:Tidref"/>
+        <xsd:anyAttribute namespace="##other" processContents="strict"/>
+    </xsd:complexType>
+
+
+    <!-- cm-properties -->
+
+    <xsd:element name="cm-properties" type="TcmProperties"/>
+
+    <xsd:complexType name="TcmProperties">
+        <xsd:attribute name="persistent-id" type="xsd:string" use="required"/>
+        <xsd:attribute name="update" type="xsd:boolean" use="optional" default="false"/>
+    </xsd:complexType>
+
+</xsd:schema>

Propchange: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.0.0.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd (added)
+++ aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd Wed Sep 28 17:23:18
2011
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+    /*
+    * $Revision$
+    *
+    * Copyright (c) OSGi Alliance (2008, 2009). All Rights Reserved.
+    *
+    * Licensed under the Apache License, Version 2.0 (the "License");
+    * you may not use this file except in compliance with the License.
+    * You may obtain a copy of the License at
+    *
+    *      http://www.apache.org/licenses/LICENSE-2.0
+    *
+    * Unless required by applicable law or agreed to in writing, software
+    * distributed under the License is distributed on an "AS IS" BASIS,
+    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    * See the License for the specific language governing permissions and
+    * limitations under the License.
+    */
+    -->
+<xsd:schema xmlns="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            targetNamespace="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified"
+            version="1.0.0">
+
+    <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0" />
+
+    <!-- property placeholder -->
+
+    <xsd:element name="property-placeholder" type="TpropertyPlaceholder"/>
+
+    <xsd:complexType name="TpropertyPlaceholder">
+        <xsd:complexContent>
+            <xsd:extension base="bp:Tcomponent">
+                <xsd:sequence>
+                    <!-- nested properties declaration -->
+                    <xsd:element name="default-properties" type="TdefaultProperties" minOccurs="0"
maxOccurs="1"/>
+                </xsd:sequence>
+
+                <!-- #### What should be the type for a persistent id?  I think we need
to define one like class and method -->
+                <xsd:attribute name="persistent-id" type="xsd:string" use="required"/>
+                <xsd:attribute name="placeholder-prefix" type="xsd:string" use="optional"
default="${"/>
+                <xsd:attribute name="placeholder-suffix" type="xsd:string" use="optional"
default="}"/>
+                <xsd:attribute name="defaults-ref" type="bp:Tidref" use="optional"/>
+                <xsd:attribute name="update-strategy" type="TplaceholderUpdateStrategyType"
use="optional" default="none"/>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:simpleType name="TplaceholderUpdateStrategyType">
+        <xsd:restriction base="xsd:NMTOKEN">
+            <xsd:enumeration value="none"/>
+            <xsd:enumeration value="reload"/>
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <!-- #### is this the correct type here?  This is defining placeholder properties,
+         so should this be a restricted set of value types or should this be expanded to
+         all of the elements you can inject into a bean property? -->
+    <xsd:complexType name="TdefaultProperties">
+        <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+            <xsd:element name="property" type="bp:Tproperty"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+
+    <!--  managed-properties  -->
+
+    <xsd:element name="managed-properties" type="TmanagedProperties"/>
+
+    <xsd:complexType name="TmanagedProperties">
+        <xsd:attribute name="persistent-id" type="xsd:string" use="required"/>
+        <xsd:attribute name="update-strategy" type="TupdateStrategyType" use="optional"/>
+        <xsd:attribute name="update-method" type="xsd:string" use="optional"/>
+    </xsd:complexType>
+
+    <xsd:simpleType name="TupdateStrategyType">
+        <xsd:restriction base="xsd:NMTOKEN">
+            <xsd:enumeration value="none"/>
+            <xsd:enumeration value="component-managed"/>
+            <xsd:enumeration value="container-managed"/>
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <!--  managed-service-factory -->
+
+    <xsd:element name="managed-service-factory" type="TmanagedServiceFactory"/>
+
+    <xsd:complexType name="TmanagedServiceFactory">
+        <xsd:complexContent>
+            <xsd:extension base="bp:Tcomponent">
+                <xsd:sequence>
+                    <xsd:group ref="bp:GbaseServiceElements"/>
+                    <xsd:element name="managed-component" type="TmanagedComponent" minOccurs="1"
maxOccurs="1"/>
+                </xsd:sequence>
+                <xsd:attribute name="interface" type="bp:Tclass" use="optional" />
+                <xsd:attribute name="ref" type="bp:Tidref" use="optional" />
+                <xsd:attribute name="auto-export" type="bp:TautoExportModes" default="disabled"
/>
+                <xsd:attribute name="ranking" type="xsd:int" default="0"/>
+                <xsd:attribute name="factory-pid" type="xsd:string" use="required"/>
+                <xsd:anyAttribute namespace="##other" processContents="strict"/>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="TmanagedComponent">
+        <xsd:group ref="bp:GbeanElements"/>
+        <xsd:attribute name="class" type="bp:Tclass"/>
+        <xsd:attribute name="init-method" type="bp:Tmethod"/>
+        <xsd:attribute name="destroy-method" type="bp:Tmethod"/>
+        <xsd:attribute name="factory-method" type="bp:Tmethod"/>
+        <xsd:attribute name="factory-component" type="bp:Tidref"/>
+        <xsd:anyAttribute namespace="##other" processContents="strict"/>
+    </xsd:complexType>
+
+
+    <!-- cm-properties -->
+
+    <xsd:element name="cm-properties" type="TcmProperties"/>
+
+    <xsd:complexType name="TcmProperties">
+        <xsd:attribute name="persistent-id" type="xsd:string" use="required"/>
+        <xsd:attribute name="update" type="xsd:boolean" use="optional" default="false"/>
+    </xsd:complexType>
+
+</xsd:schema>

Propchange: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd (added)
+++ aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd Wed Sep 28 17:23:18
2011
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<xsd:schema xmlns="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0" xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified"
targetNamespace="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0" version="1.0.0">
+
+    <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0"/>
+
+    <!-- property placeholder -->
+
+    <xsd:element name="property-placeholder" type="TpropertyPlaceholder"/>
+
+    <xsd:complexType name="TpropertyPlaceholder">
+        <xsd:complexContent>
+            <xsd:extension base="bp:Tcomponent">
+                <xsd:sequence>
+                    <!-- nested properties declaration -->
+                    <xsd:element maxOccurs="1" minOccurs="0" name="default-properties"
type="TdefaultProperties"/>
+                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="location" type="xsd:string"/>
+                </xsd:sequence>
+                <xsd:attribute default="${" name="placeholder-prefix" type="xsd:string"
use="optional"/>
+                <xsd:attribute default="}" name="placeholder-suffix" type="xsd:string"
use="optional"/>
+                <xsd:attribute name="defaults-ref" type="bp:Tidref" use="optional"/>
+                <xsd:attribute default="false" name="ignore-missing-locations" type="xsd:boolean"
use="optional"/>
+                <xsd:attribute default="fallback" name="system-properties" use="optional">
+                    <xsd:simpleType>
+                        <xsd:restriction base="xsd:NMTOKEN">
+                            <xsd:enumeration value="never"/>
+                            <xsd:enumeration value="fallback"/>
+                            <xsd:enumeration value="override"/>
+                        </xsd:restriction>
+                    </xsd:simpleType>
+                </xsd:attribute>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="TdefaultProperties">
+        <xsd:sequence maxOccurs="unbounded" minOccurs="0">
+            <xsd:element name="property" type="bp:Tproperty"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <!-- proxy method -->
+
+    <xsd:attribute default="default" name="proxy-method">
+        <xsd:simpleType>
+            <xsd:restriction>
+                <xsd:simpleType>
+                    <xsd:list>
+                        <xsd:simpleType>
+                            <xsd:restriction base="xsd:NMTOKEN">
+                                <xsd:enumeration value="default"/>
+                                <xsd:enumeration value="classes"/>
+                                <xsd:enumeration value="greedy"/>
+                            </xsd:restriction>
+                        </xsd:simpleType>
+                    </xsd:list>
+                </xsd:simpleType>
+                <xsd:minLength value="1"/>
+            </xsd:restriction>
+        </xsd:simpleType>
+    </xsd:attribute>
+
+    <!-- role -->
+
+    <xsd:attribute name="role">
+        <xsd:simpleType>
+            <xsd:restriction>
+                <xsd:simpleType>
+                    <xsd:list>
+                        <xsd:simpleType>
+                            <xsd:restriction base="xsd:NMTOKEN">
+                                <xsd:enumeration value="processor"/>
+                            </xsd:restriction>
+                        </xsd:simpleType>
+                    </xsd:list>
+                </xsd:simpleType>
+            </xsd:restriction>
+        </xsd:simpleType>
+    </xsd:attribute>
+
+    <!-- CM property placeholder extenstion -->
+
+    <xsd:element name="location" type="xsd:string"/>
+    <xsd:attribute default="false" name="ignore-missing-locations" type="xsd:boolean"/>
+    <xsd:attribute default="fallback" name="system-properties">
+        <xsd:simpleType>
+            <xsd:restriction base="xsd:NMTOKEN">
+                <xsd:enumeration value="never"/>
+                <xsd:enumeration value="fallback"/>
+                <xsd:enumeration value="override"/>
+            </xsd:restriction>
+        </xsd:simpleType>
+    </xsd:attribute>
+    
+    <xsd:attribute default="false" name="field-injection" type="xsd:boolean"/>
+
+    <!-- Default reference bean -->
+    <xsd:attribute name="default" type="bp:Tidref"/>
+    
+</xsd:schema>

Propchange: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext-1.1.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd (added)
+++ aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd Wed Sep 28 17:23:18 2011
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<xsd:schema xmlns="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            targetNamespace="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified"
+            version="1.0.0">
+
+    <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0"/>
+
+    <!-- property placeholder -->
+
+    <xsd:element name="property-placeholder" type="TpropertyPlaceholder"/>
+
+    <xsd:complexType name="TpropertyPlaceholder">
+        <xsd:complexContent>
+            <xsd:extension base="bp:Tcomponent">
+                <xsd:sequence>
+                    <!-- nested properties declaration -->
+                    <xsd:element name="default-properties" type="TdefaultProperties" minOccurs="0"
maxOccurs="1"/>
+                    <xsd:element name="location" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
+                </xsd:sequence>
+                <xsd:attribute name="placeholder-prefix" type="xsd:string" use="optional"
default="${"/>
+                <xsd:attribute name="placeholder-suffix" type="xsd:string" use="optional"
default="}"/>
+                <xsd:attribute name="defaults-ref" type="bp:Tidref" use="optional"/>
+                <xsd:attribute name="ignore-missing-locations" type="xsd:boolean" use="optional"
default="false"/>
+                <xsd:attribute name="system-properties" use="optional" default="fallback">
+                    <xsd:simpleType>
+                        <xsd:restriction base="xsd:NMTOKEN">
+                            <xsd:enumeration value="never"/>
+                            <xsd:enumeration value="fallback"/>
+                            <xsd:enumeration value="override"/>
+                        </xsd:restriction>
+                    </xsd:simpleType>
+                </xsd:attribute>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="TdefaultProperties">
+        <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+            <xsd:element name="property" type="bp:Tproperty"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <!-- proxy method -->
+
+    <xsd:attribute name="proxy-method" default="default">
+        <xsd:simpleType>
+            <xsd:restriction>
+                <xsd:simpleType>
+                    <xsd:list>
+                        <xsd:simpleType>
+                            <xsd:restriction base="xsd:NMTOKEN">
+                                <xsd:enumeration value="default"/>
+                                <xsd:enumeration value="classes"/>
+                                <xsd:enumeration value="greedy"/>
+                            </xsd:restriction>
+                        </xsd:simpleType>
+                    </xsd:list>
+                </xsd:simpleType>
+                <xsd:minLength value="1"/>
+            </xsd:restriction>
+        </xsd:simpleType>
+    </xsd:attribute>
+
+    <!-- role -->
+
+    <xsd:attribute name="role">
+        <xsd:simpleType>
+            <xsd:restriction>
+                <xsd:simpleType>
+                    <xsd:list>
+                        <xsd:simpleType>
+                            <xsd:restriction base="xsd:NMTOKEN">
+                                <xsd:enumeration value="processor"/>
+                            </xsd:restriction>
+                        </xsd:simpleType>
+                    </xsd:list>
+                </xsd:simpleType>
+            </xsd:restriction>
+        </xsd:simpleType>
+    </xsd:attribute>
+
+    <!-- CM property placeholder extenstion -->
+
+    <xsd:element name="location" type="xsd:string"/>
+    <xsd:attribute name="ignore-missing-locations" type="xsd:boolean" default="false"/>
+    <xsd:attribute name="system-properties" default="fallback">
+        <xsd:simpleType>
+            <xsd:restriction base="xsd:NMTOKEN">
+                <xsd:enumeration value="never"/>
+                <xsd:enumeration value="fallback"/>
+                <xsd:enumeration value="override"/>
+            </xsd:restriction>
+        </xsd:simpleType>
+    </xsd:attribute>
+    
+    <xsd:attribute name="field-injection" type="xsd:boolean" default="false" />
+
+</xsd:schema>

Propchange: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/blueprint-ext/blueprint-ext.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: aries/site/trunk/content/schemas/jpa/jpa.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/jpa/jpa.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/jpa/jpa.xsd (added)
+++ aries/site/trunk/content/schemas/jpa/jpa.xsd Wed Sep 28 17:23:18 2011
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<xsd:schema xmlns="http://aries.apache.org/xmlns/jpa/v1.0.0"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:osgi="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            targetNamespace="http://aries.apache.org/xmlns/jpa/v1.0.0"
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified"
+            version="1.0.0">
+
+    <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0"/>
+
+  <xsd:element name="context" type="TcontextType" />
+  <xsd:element name="unit" type="TunitType" />
+  
+  <xsd:complexType name="TcontextType">
+    <xsd:sequence>
+      <xsd:element name="map" type="osgi:Tmap" minOccurs="0" maxOccurs="1" />
+    </xsd:sequence>
+    <xsd:attribute name="property" type="xsd:string" use="required" />
+    <xsd:attribute name="unitname" type="xsd:string" use="optional" />
+    <xsd:attribute name="type" type="TcontextScopeType" use="optional" />
+  </xsd:complexType>
+
+  <xsd:complexType name="TunitType">
+    <xsd:attribute name="property" type="xsd:string" use="required" />
+    <xsd:attribute name="unitname" type="xsd:string" use="optional" />
+  </xsd:complexType>
+
+   <xsd:simpleType name="TcontextScopeType">
+        <xsd:restriction base="xsd:token">
+            <xsd:enumeration value="TRANSACTION"/>
+            <xsd:enumeration value="EXTENDED"/>
+        </xsd:restriction>
+   </xsd:simpleType>
+
+</xsd:schema>
+  

Propchange: aries/site/trunk/content/schemas/jpa/jpa.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/jpa/jpa.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/jpa/jpa.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: aries/site/trunk/content/schemas/jpa/jpa_110.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/jpa/jpa_110.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/jpa/jpa_110.xsd (added)
+++ aries/site/trunk/content/schemas/jpa/jpa_110.xsd Wed Sep 28 17:23:18 2011
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<xsd:schema xmlns="http://aries.apache.org/xmlns/jpa/v1.1.0"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            xmlns:osgi="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            targetNamespace="http://aries.apache.org/xmlns/jpa/v1.1.0"
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified"
+            version="1.1.0">
+
+    <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0"/>
+
+  <xsd:element name="context" type="TcontextType" />
+  <xsd:element name="unit" type="TunitType" />
+  
+  <xsd:complexType name="TcontextType">
+    <xsd:sequence>
+      <xsd:element name="map" type="osgi:Tmap" minOccurs="0" maxOccurs="1" />
+    </xsd:sequence>
+    <xsd:attribute name="property" type="xsd:string" use="optional" />
+    <xsd:attribute name="index" type="xsd:string" use="optional" />
+    <xsd:attribute name="unitname" type="xsd:string" use="optional" />
+    <xsd:attribute name="type" type="TcontextScopeType" use="optional" />
+  </xsd:complexType>
+
+  <xsd:complexType name="TunitType">
+    <xsd:attribute name="property" type="xsd:string" use="optional" />
+    <xsd:attribute name="index" type="xsd:string" use="optional" />
+    <xsd:attribute name="unitname" type="xsd:string" use="optional" />
+  </xsd:complexType>
+
+   <xsd:simpleType name="TcontextScopeType">
+        <xsd:restriction base="xsd:token">
+            <xsd:enumeration value="TRANSACTION"/>
+            <xsd:enumeration value="EXTENDED"/>
+        </xsd:restriction>
+   </xsd:simpleType>
+
+</xsd:schema>
+  

Propchange: aries/site/trunk/content/schemas/jpa/jpa_110.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/jpa/jpa_110.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/jpa/jpa_110.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: aries/site/trunk/content/schemas/transaction/transactionv10.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/transaction/transactionv10.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/transaction/transactionv10.xsd (added)
+++ aries/site/trunk/content/schemas/transaction/transactionv10.xsd Wed Sep 28 17:23:18 2011
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<xsd:schema xmlns="http://aries.apache.org/xmlns/transactions/v1.0.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://aries.apache.org/xmlns/transactions/v1.0.0"
+    elementFormDefault="qualified" attributeFormDefault="unqualified"
+    version="1.0.0">
+
+    <xsd:annotation>
+        <xsd:documentation>
+      <![CDATA[
+        This is the XML Schema for the OSGi Blueprint declarative transaction 1.0.0 development
descriptor.  Blueprint declarative transaction is a custom namespace for OSGi Blueprint service
1.0.0 development descriptor.  It is designed to decorate transaction attribute of the bean
components, which can be done at the bean level.  Blueprint configuration files using this
schema must indicate the schema using the transactions/v1.0.0 namespace.  For example,   
    
+        <transaction xmlns="http://aries.apache.org/xmlns/transactions/v1.0.0">
+        if used as a qualified namespace, "tx" is the recommended namespace prefix.
+      ]]>
+        </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleType name="TtransactionStrategy">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          The TtransactionStrategy type defines the transaction attribute for blueprint declarative
transaction.  
+        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:restriction base="xsd:string">
+            <xsd:enumeration value="Required" />
+            <xsd:enumeration value="Mandatory" />
+            <xsd:enumeration value="RequiresNew" />
+            <xsd:enumeration value="Supports" />
+            <xsd:enumeration value="NotSupported" />
+            <xsd:enumeration value="Never" />
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <xsd:complexType name="Ttransaction">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          Ttransaction defines one or more methods that are intercepted with the specified
transaction attribute. Multiple methods names can be wild-carded with '*'.  Methods can be
whitespace separated and be a mixture of fixed string and wild-cards. Two wild-cards next
to each other are not supported for either the method attribute.        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:attribute name="method" type="xsd:string" />
+        <xsd:attribute name="value" type="TtransactionStrategy" />
+    </xsd:complexType>
+
+    <xsd:element name="transaction" type="Ttransaction">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          The <transaction> element is the root element for blueprint declarative transaction
+        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
+    </xsd:element>
+
+
+</xsd:schema>
\ No newline at end of file

Propchange: aries/site/trunk/content/schemas/transaction/transactionv10.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/transaction/transactionv10.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/transaction/transactionv10.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: aries/site/trunk/content/schemas/transaction/transactionv11.xsd
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/schemas/transaction/transactionv11.xsd?rev=1176972&view=auto
==============================================================================
--- aries/site/trunk/content/schemas/transaction/transactionv11.xsd (added)
+++ aries/site/trunk/content/schemas/transaction/transactionv11.xsd Wed Sep 28 17:23:18 2011
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<xsd:schema xmlns="http://aries.apache.org/xmlns/transactions/v1.1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://aries.apache.org/xmlns/transactions/v1.1.0"
+    elementFormDefault="qualified" attributeFormDefault="unqualified"
+    version="1.1.0">
+
+    <xsd:annotation>
+        <xsd:documentation>
+      <![CDATA[
+        This is the XML Schema for the OSGi Blueprint declarative transaction 1.1.0 development
descriptor.  Blueprint declarative transaction is a custom namespace for OSGi Blueprint service
1.0.0 development descriptor.  It is designed to decorate transaction attribute of the bean
components, which can be done at the bean level or at the bundle wide level.  In other words,
the transaction element can reside in the bean element or in the root of the blueprint element
as a top level transaction element. Blueprint configuration files using this schema must indicate
the schema using the transactions/v1.1.0 namespace.  For example,        
+        <transaction xmlns="http://aries.apache.org/xmlns/transactions/v1.1.0">
+        if used as a qualified namespace, "tx" is the recommended namespace prefix.
+      ]]>
+        </xsd:documentation>
+    </xsd:annotation>
+
+    <xsd:simpleType name="TtransactionAttribute">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          The TtransactionAttribute type defines the transaction attribute for blueprint
declarative transaction.  
+        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:restriction base="xsd:string">
+            <xsd:enumeration value="Required" />
+            <xsd:enumeration value="Mandatory" />
+            <xsd:enumeration value="RequiresNew" />
+            <xsd:enumeration value="Supports" />
+            <xsd:enumeration value="NotSupported" />
+            <xsd:enumeration value="Never" />
+        </xsd:restriction>
+    </xsd:simpleType>
+
+    <xsd:complexType name="Ttransaction">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+            The Ttransaction defines one or more methods that are intercepted with the specified
transaction attribute. Multiple methods names can be wild-carded with a '*'.  Method can be
a mixture of fixed string and one wild-card.   Methods can be whitespace or comma separated.
The bean attribute refers to the bean component id and can only be used for top level transaction
element.  Similar as methods, beans can be whitespace separated and be a mixture of fixed
string and one wild-card.
+        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:attribute name="method" type="xsd:string" />
+        <xsd:attribute name="value" type="TtransactionAttribute"
+            use="optional" default="Required" />
+        <xsd:attribute name="bean" type="xsd:string" />
+    </xsd:complexType>
+
+    <xsd:element name="transaction" type="Ttransaction">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          The <transaction> element is the root element for blueprint declarative transaction
+        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
+    </xsd:element>
+
+</xsd:schema>
\ No newline at end of file

Propchange: aries/site/trunk/content/schemas/transaction/transactionv11.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: aries/site/trunk/content/schemas/transaction/transactionv11.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: aries/site/trunk/content/schemas/transaction/transactionv11.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message