[prev in list] [next in list] [prev in thread] [next in thread]
List: openejb-cvs
Subject: svn commit: r1614468 [3/3] - in /tomee/tomee/trunk: ./ container/openejb-core/
From: rmannibucau () apache ! org
Date: 2014-07-29 19:26:10
Message-ID: 20140729192612.BFCDF2388DF1 () eris ! apache ! org
[Download RAW message or body]
Added: tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java?rev=1614468&view=auto
==============================================================================
--- tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java \
(added)
+++ tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PayloadType.java \
Tue Jul 29 19:26:09 2014 @@ -0,0 +1,85 @@
+/**
+ * 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.
+ */
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for payloadType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within \
this class. + *
+ * <pre>
+ * <complexType name="payloadType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" \
maxOccurs="unbounded" minOccurs="0"/> + * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "payloadType", propOrder = {
+ "value"
+})
+public class PayloadType {
+
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected List<String> value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the value property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getValue() {
+ if (value == null) {
+ value = new ArrayList<String>();
+ }
+ return this.value;
+ }
+
+}
Added: tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java?rev=1614468&view=auto
==============================================================================
--- tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java \
(added)
+++ tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/PropertyType.java \
Tue Jul 29 19:26:09 2014 @@ -0,0 +1,106 @@
+/**
+ * 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.
+ */
+package org.apache.openejb.jee.bval;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for propertyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within \
this class. + *
+ * <pre>
+ * <complexType name="propertyType">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="name" use="required" \
type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "propertyType", namespace = \
"http://jboss.org/xml/ns/javax/validation/configuration", propOrder = { + "value"
+})
+public class PropertyType {
+
+ @XmlValue
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String value;
+ @XmlAttribute(name = "name", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String name;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ReturnValueType.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ReturnValueType.java?rev=1614468&view=auto
==============================================================================
--- tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ReturnValueType.java \
(added)
+++ tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ReturnValueType.java \
Tue Jul 29 19:26:09 2014 @@ -0,0 +1,174 @@
+/**
+ * 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.
+ */
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for returnValueType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within \
this class. + *
+ * <pre>
+ * <complexType name="returnValueType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="valid" type="{http://www.w3.org/2001/XMLSchema}string" \
minOccurs="0"/> + * <element name="convert-group" \
type="{http://jboss.org/xml/ns/javax/validation/mapping}groupConversionType" \
maxOccurs="unbounded" minOccurs="0"/> + * <element name="constraint" \
type="{http://jboss.org/xml/ns/javax/validation/mapping}constraintType" \
maxOccurs="unbounded" minOccurs="0"/> + * </sequence>
+ * <attribute name="ignore-annotations" \
type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "returnValueType", propOrder = {
+ "valid",
+ "convertGroup",
+ "constraint"
+})
+public class ReturnValueType {
+
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String valid;
+ @XmlElement(name = "convert-group")
+ protected List<GroupConversionType> convertGroup;
+ protected List<ConstraintType> constraint;
+ @XmlAttribute(name = "ignore-annotations")
+ protected Boolean ignoreAnnotations;
+
+ /**
+ * Gets the value of the valid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValid() {
+ return valid;
+ }
+
+ /**
+ * Sets the value of the valid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValid(String value) {
+ this.valid = value;
+ }
+
+ /**
+ * Gets the value of the convertGroup property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the convertGroup \
property. + *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConvertGroup().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link GroupConversionType }
+ *
+ *
+ */
+ public List<GroupConversionType> getConvertGroup() {
+ if (convertGroup == null) {
+ convertGroup = new ArrayList<GroupConversionType>();
+ }
+ return this.convertGroup;
+ }
+
+ /**
+ * Gets the value of the constraint property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the constraint \
property. + *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConstraint().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ConstraintType }
+ *
+ *
+ */
+ public List<ConstraintType> getConstraint() {
+ if (constraint == null) {
+ constraint = new ArrayList<ConstraintType>();
+ }
+ return this.constraint;
+ }
+
+ /**
+ * Gets the value of the ignoreAnnotations property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getIgnoreAnnotations() {
+ return ignoreAnnotations;
+ }
+
+ /**
+ * Sets the value of the ignoreAnnotations property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIgnoreAnnotations(Boolean value) {
+ this.ignoreAnnotations = value;
+ }
+
+}
Added: tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java?rev=1614468&view=auto
==============================================================================
--- tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java \
(added)
+++ tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidatedByType.java \
Tue Jul 29 19:26:09 2014 @@ -0,0 +1,113 @@
+/**
+ * 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.
+ */
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for validated-byType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within \
this class. + *
+ * <pre>
+ * <complexType name="validated-byType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" \
maxOccurs="unbounded" minOccurs="0"/> + * </sequence>
+ * <attribute name="include-existing-validators" \
type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "validated-byType", propOrder = {
+ "value"
+})
+public class ValidatedByType {
+
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected List<String> value;
+ @XmlAttribute(name = "include-existing-validators")
+ protected Boolean includeExistingValidators;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the value property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getValue() {
+ if (value == null) {
+ value = new ArrayList<String>();
+ }
+ return this.value;
+ }
+
+ /**
+ * Gets the value of the includeExistingValidators property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean getIncludeExistingValidators() {
+ return includeExistingValidators;
+ }
+
+ /**
+ * Sets the value of the includeExistingValidators property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIncludeExistingValidators(Boolean value) {
+ this.includeExistingValidators = value;
+ }
+
+}
Added: tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java?rev=1614468&view=auto
==============================================================================
--- tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java \
(added)
+++ tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/ValidationConfigType.java \
Tue Jul 29 19:26:09 2014 @@ -0,0 +1,324 @@
+/**
+ * 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.
+ */
+package org.apache.openejb.jee.bval;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for validation-configType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within \
this class. + *
+ * <pre>
+ * <complexType name="validation-configType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="default-provider" \
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * \
<element name="message-interpolator" \
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * \
<element name="traversable-resolver" \
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * \
<element name="constraint-validator-factory" \
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * \
<element name="parameter-name-provider" \
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * \
<element name="executable-validation" \
type="{http://jboss.org/xml/ns/javax/validation/configuration}executable-validationType" \
minOccurs="0"/> + * <element name="constraint-mapping" \
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> \
+ * <element name="property" \
type="{http://jboss.org/xml/ns/javax/validation/configuration}propertyType" \
maxOccurs="unbounded" minOccurs="0"/> + * </sequence>
+ * <attribute name="version" \
type="{http://jboss.org/xml/ns/javax/validation/configuration}versionType" \
fixed="1.1" /> + * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "validation-configType", namespace = \
"http://jboss.org/xml/ns/javax/validation/configuration", propOrder = { + \
"defaultProvider", + "messageInterpolator",
+ "traversableResolver",
+ "constraintValidatorFactory",
+ "parameterNameProvider",
+ "executableValidation",
+ "constraintMapping",
+ "property"
+})
+public class ValidationConfigType {
+
+ @XmlElement(name = "default-provider")
+ @XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
+ protected String defaultProvider;
+ @XmlElement(name = "message-interpolator")
+ @XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
+ protected String messageInterpolator;
+ @XmlElement(name = "traversable-resolver")
+ @XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
+ protected String traversableResolver;
+ @XmlElement(name = "constraint-validator-factory")
+ @XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
+ protected String constraintValidatorFactory;
+ @XmlElement(name = "parameter-name-provider")
+ @XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
+ protected String parameterNameProvider;
+ @XmlElement(name = "executable-validation")
+ protected ExecutableValidationType executableValidation;
+ @XmlElement(name = "constraint-mapping")
+ @XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
+ protected List<String> constraintMapping;
+ protected List<PropertyType> property;
+ @XmlAttribute(name = "version")
+ @XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
+ protected String version;
+
+ /**
+ * Gets the value of the defaultProvider property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultProvider() {
+ return defaultProvider;
+ }
+
+ /**
+ * Sets the value of the defaultProvider property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultProvider(String value) {
+ this.defaultProvider = value;
+ }
+
+ /**
+ * Gets the value of the messageInterpolator property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessageInterpolator() {
+ return messageInterpolator;
+ }
+
+ /**
+ * Sets the value of the messageInterpolator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessageInterpolator(String value) {
+ this.messageInterpolator = value;
+ }
+
+ /**
+ * Gets the value of the traversableResolver property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTraversableResolver() {
+ return traversableResolver;
+ }
+
+ /**
+ * Sets the value of the traversableResolver property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTraversableResolver(String value) {
+ this.traversableResolver = value;
+ }
+
+ /**
+ * Gets the value of the constraintValidatorFactory property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConstraintValidatorFactory() {
+ return constraintValidatorFactory;
+ }
+
+ /**
+ * Sets the value of the constraintValidatorFactory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConstraintValidatorFactory(String value) {
+ this.constraintValidatorFactory = value;
+ }
+
+ /**
+ * Gets the value of the parameterNameProvider property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getParameterNameProvider() {
+ return parameterNameProvider;
+ }
+
+ /**
+ * Sets the value of the parameterNameProvider property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setParameterNameProvider(String value) {
+ this.parameterNameProvider = value;
+ }
+
+ /**
+ * Gets the value of the executableValidation property.
+ *
+ * @return
+ * possible object is
+ * {@link ExecutableValidationType }
+ *
+ */
+ public ExecutableValidationType getExecutableValidation() {
+ return executableValidation;
+ }
+
+ /**
+ * Sets the value of the executableValidation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExecutableValidationType }
+ *
+ */
+ public void setExecutableValidation(ExecutableValidationType value) {
+ this.executableValidation = value;
+ }
+
+ /**
+ * Gets the value of the constraintMapping property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the constraintMapping \
property. + *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConstraintMapping().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getConstraintMapping() {
+ if (constraintMapping == null) {
+ constraintMapping = new ArrayList<String>();
+ }
+ return this.constraintMapping;
+ }
+
+ /**
+ * Gets the value of the property property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the property property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getProperty().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PropertyType }
+ *
+ *
+ */
+ public List<PropertyType> getProperty() {
+ if (property == null) {
+ property = new ArrayList<PropertyType>();
+ }
+ return this.property;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "1.1";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+}
Added: tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java?rev=1614468&view=auto
==============================================================================
--- tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java \
(added)
+++ tomee/tomee/trunk/container/openejb-jee/src/main/java/org/apache/openejb/jee/bval/package-info.java \
Tue Jul 29 19:26:09 2014 @@ -0,0 +1,19 @@
+/**
+ * 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.
+ */
+
+@javax.xml.bind.annotation.XmlSchema(namespace = \
"http://jboss.org/xml/ns/javax/validation/mapping", elementFormDefault = \
javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package org.apache.openejb.jee.bval;
Modified: tomee/tomee/trunk/container/openejb-junit/src/main/java/org/apache/openejb/junit/LocalClientRunner.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-junit/src/main/j \
ava/org/apache/openejb/junit/LocalClientRunner.java?rev=1614468&r1=1614467&r2=1614468&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-junit/src/main/java/org/apache/openejb/junit/LocalClientRunner.java \
(original)
+++ tomee/tomee/trunk/container/openejb-junit/src/main/java/org/apache/openejb/junit/LocalClientRunner.java \
Tue Jul 29 19:26:09 2014 @@ -107,7 +107,9 @@ public class LocalClientRunner extends B
private BeanContext createDeployment(final Class<?> testClass) {
try {
- return new BeanContext(null, new IvmContext(), new ModuleContext("", \
null, "", new AppContext("", SystemInstance.get(), testClass.getClassLoader(), new \
IvmContext(), new IvmContext(), false), new IvmContext(), null), testClass, null, \
null, null, null, null, null, null, null, null, BeanType.MANAGED, false); + \
final AppContext appContext = new AppContext("", SystemInstance.get(), \
testClass.getClassLoader(), new IvmContext(), new IvmContext(), false); + \
final ModuleContext moduleContext = new ModuleContext("", null, "", appContext, new \
IvmContext(), null); + return new BeanContext(null, new IvmContext(), \
moduleContext, testClass, null, null, null, null, null, null, null, null, null, \
BeanType.MANAGED, false, false); } catch (final SystemException e) {
throw new IllegalStateException(e);
}
Modified: tomee/tomee/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/pom.xml?rev=1614468&r1=1614467&r2=1614468&view=diff
==============================================================================
--- tomee/tomee/trunk/pom.xml (original)
+++ tomee/tomee/trunk/pom.xml Tue Jul 29 19:26:09 2014
@@ -100,7 +100,7 @@
<tomee.version>2.0.0-SNAPSHOT</tomee.version>
<openjpa.version>2.4.0-nonfinal-1598334</openjpa.version>
- <org.apache.openwebbeans.version>1.2.6</org.apache.openwebbeans.version>
+ <org.apache.openwebbeans.version>2.0.0-SNAPSHOT</org.apache.openwebbeans.version>
<!-- Maven module versions -->
<maven-bundle-plugin.version>2.3.7</maven-bundle-plugin.version>
@@ -160,7 +160,7 @@
<commons-io.version>2.4</commons-io.version>
<commons-net.version>3.3</commons-net.version>
- <bval.version>0.5</bval.version>
+ <bval.version>1.1.0-alpha-SNAPSHOT</bval.version>
<org.apache.activemq.version>5.10.0</org.apache.activemq.version>
<org.springframework.version>3.1.4.RELEASE</org.springframework.version>
<junit.version>4.11</junit.version>
@@ -1097,7 +1097,7 @@
</dependency>
<dependency>
<groupId>org.apache.bval</groupId>
- <artifactId>bval-jsr303</artifactId>
+ <artifactId>bval-jsr</artifactId>
<version>${bval.version}</version>
</dependency>
<dependency>
Modified: tomee/tomee/trunk/tck/bval-embedded/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tck/bval-embedded/pom.xml?rev=1614468&r1=1614467&r2=1614468&view=diff
==============================================================================
--- tomee/tomee/trunk/tck/bval-embedded/pom.xml (original)
+++ tomee/tomee/trunk/tck/bval-embedded/pom.xml Tue Jul 29 19:26:09 2014
@@ -25,23 +25,17 @@
<artifactId>bval-embedded</artifactId>
<name>OpenEJB :: TCK :: Bean Validation Embedded</name>
- <description>Aggregates dependencies and runs the JSR-303 TCK</description>
+
+ <properties>
+ <tck.version>1.1.0.Final</tck.version>
+ <arquillian.version>1.1.5.Final</arquillian.version>
+ <validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider>
+ </properties>
<dependencies>
<dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-osgi-locator</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-osgi-registry</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-validation_1.0_spec</artifactId>
- <version>1.1</version>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -50,12 +44,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>tck-common</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>${slf4j.version}</version>
@@ -67,20 +55,38 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.hibernate.jsr303.tck</groupId>
- <artifactId>jsr303-tck</artifactId>
- <version>1.0.6.GA</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- </exclusion>
- </exclusions>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-container-test-spi</artifactId>
+ <version>${arquillian.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>arquillian-openejb-embedded-4</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-jasper-el</artifactId>
+ <version>${tomcat.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>beanvalidation-tck-tests</artifactId>
+ <version>${tck.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.testng</groupId>
+ <artifactId>arquillian-testng-container</artifactId>
+ <version>${arquillian.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.protocol</groupId>
+ <artifactId>arquillian-protocol-servlet</artifactId>
+ <version>${arquillian.version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
@@ -88,18 +94,46 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>copy-tck-test-suite-file</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <stripVersion>true</stripVersion>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>beanvalidation-tck-tests</artifactId>
+ <type>xml</type>
+ <classifier>suite</classifier>
+ <overWrite>false</overWrite>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <version>2.17</version>
<configuration>
- <useFile>false</useFile>
- <disableXmlReport>true</disableXmlReport>
<suiteXmlFiles>
- <suiteXmlFile>src/test/resources/jsr303-tck-suite.xml</suiteXmlFile>
+ <suiteXmlFile>${project.build.directory}/dependency/beanvalidation-tck-tests-suite.xml</suiteXmlFile>
</suiteXmlFiles>
- <argLine>-Xmx768m -XX:PermSize=64m -XX:MaxPermSize=512m \
-XX:ReservedCodeCacheSize=64m -Xss2048k</argLine>
- <systemPropertyVariables>
- <validation.provider>org.apache.bval.jsr303.ApacheValidationProvider</validation.provider>
- <force.deployment>true</force.deployment>
- </systemPropertyVariables>
+ <systemProperties>
+ <property>
+ <name>validation.provider</name>
+ <value>${validation.provider}</value>
+ </property>
+ </systemProperties>
+ <parallel>methods</parallel>
+ <threadCount>4</threadCount>
</configuration>
</plugin>
<plugin>
Copied: tomee/tomee/trunk/tck/bval-embedded/src/test/resources/dev.xml (from \
r1613793, tomee/tomee/trunk/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml)
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tck/bval-embedded/src/test/resourc \
es/dev.xml?p2=tomee/tomee/trunk/tck/bval-embedded/src/test/resources/dev.xml&p1=tomee/ \
tomee/trunk/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml&r1=1613793&r2=1614468&rev=1614468&view=diff
==============================================================================
--- tomee/tomee/trunk/tck/bval-embedded/src/test/resources/jsr303-tck-suite.xml \
(original)
+++ tomee/tomee/trunk/tck/bval-embedded/src/test/resources/dev.xml Tue Jul 29 \
19:26:09 2014 @@ -18,21 +18,8 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="JSR-303-TCK" verbose="1">
<test name="JSR-303-TCK">
- <method-selectors>
- <method-selector>
- <selector-class \
name="org.jboss.testharness.impl.testng.ExcludeIncontainerUnderInvestigationMethodSelector"/>
- </method-selector>
- </method-selectors>
- <groups>
- <run>
- <exclude name="underInvestigation"/>
- <exclude name="ri-broken"/>
- <exclude name="jboss-as-broken"/>
- <exclude name="broken"/>
- </run>
- </groups>
- <packages>
- <package name="org.hibernate.jsr303.tck.tests"/>
- </packages>
+ <classes>
+ <class name="org.hibernate.beanvalidation.tck.tests.integration.cdi.executable.types.ExecutableTypesTest" \
/> + </classes>
</test>
</suite>
Modified: tomee/tomee/trunk/tck/bval-tomee/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tck/bval-tomee/pom.xml?rev=1614468&r1=1614467&r2=1614468&view=diff
==============================================================================
--- tomee/tomee/trunk/tck/bval-tomee/pom.xml (original)
+++ tomee/tomee/trunk/tck/bval-tomee/pom.xml Tue Jul 29 19:26:09 2014
@@ -38,7 +38,7 @@
</dependency>
<dependency>
<groupId>org.apache.bval</groupId>
- <artifactId>bval-jsr303</artifactId>
+ <artifactId>bval-jsr</artifactId>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
@@ -200,7 +200,7 @@
<deleteArtifacts>true</deleteArtifacts>
<force.deployment>true</force.deployment>
- <validation.provider>org.apache.bval.jsr303.ApacheValidationProvider</validation.provider>
+ <validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider>
<!--<maven.failsafe.debug>true</maven.failsafe.debug>-->
<!--<openejb.server.debug>true</openejb.server.debug>-->
@@ -260,4 +260,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic