You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by da...@apache.org on 2007/10/16 06:39:10 UTC
svn commit: r585036 [5/7] - in /openejb/trunk/openejb3: ./
assembly/openejb-tomcat/src/main/java/org/apache/openejb/tomcat/
container/openejb-core/src/main/java/org/apache/openejb/assembler/
container/openejb-core/src/main/java/org/apache/openejb/assem...
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IdempotentUrlPattern.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IdempotentUrlPattern.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IdempotentUrlPattern.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IdempotentUrlPattern.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,55 @@
+/**
+ * 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.sun;
+
+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.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+public class IdempotentUrlPattern {
+ @XmlAttribute(name = "url-pattern", required = true)
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String urlPattern;
+ @XmlAttribute(name = "num-of-retries")
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String numOfRetries;
+
+ public String getUrlPattern() {
+ return urlPattern;
+ }
+
+ public void setUrlPattern(String value) {
+ this.urlPattern = value;
+ }
+
+ public String getNumOfRetries() {
+ if (numOfRetries == null) {
+ return "-1";
+ } else {
+ return numOfRetries;
+ }
+ }
+
+ public void setNumOfRetries(String value) {
+ this.numOfRetries = value;
+ }
+}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IorSecurityConfig.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IorSecurityConfig.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IorSecurityConfig.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/IorSecurityConfig.java Mon Oct 15 21:38:53 2007
@@ -14,28 +14,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"transportConfig",
"asContext",
"sasContext"
})
-@XmlRootElement(name = "ior-security-config")
public class IorSecurityConfig {
-
@XmlElement(name = "transport-config")
protected TransportConfig transportConfig;
@XmlElement(name = "as-context")
@@ -43,76 +35,27 @@
@XmlElement(name = "sas-context")
protected SasContext sasContext;
- /**
- * Gets the value of the transportConfig property.
- *
- * @return
- * possible object is
- * {@link TransportConfig }
- *
- */
public TransportConfig getTransportConfig() {
return transportConfig;
}
- /**
- * Sets the value of the transportConfig property.
- *
- * @param value
- * allowed object is
- * {@link TransportConfig }
- *
- */
public void setTransportConfig(TransportConfig value) {
this.transportConfig = value;
}
- /**
- * Gets the value of the asContext property.
- *
- * @return
- * possible object is
- * {@link AsContext }
- *
- */
public AsContext getAsContext() {
return asContext;
}
- /**
- * Sets the value of the asContext property.
- *
- * @param value
- * allowed object is
- * {@link AsContext }
- *
- */
public void setAsContext(AsContext value) {
this.asContext = value;
}
- /**
- * Gets the value of the sasContext property.
- *
- * @return
- * possible object is
- * {@link SasContext }
- *
- */
public SasContext getSasContext() {
return sasContext;
}
- /**
- * Sets the value of the sasContext property.
- *
- * @param value
- * allowed object is
- * {@link SasContext }
- *
- */
public void setSasContext(SasContext value) {
this.sasContext = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaMethod.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "methodName",
- "methodParams"
-})
-@XmlRootElement(name = "java-method")
+@XmlType(name = "", propOrder = {"methodName", "methodParams"})
public class JavaMethod {
-
@XmlElement(name = "method-name", required = true)
protected String methodName;
@XmlElement(name = "method-params")
protected MethodParams methodParams;
- /**
- * Gets the value of the methodName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getMethodName() {
return methodName;
}
- /**
- * Sets the value of the methodName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setMethodName(String value) {
this.methodName = value;
}
- /**
- * Gets the value of the methodParams property.
- *
- * @return
- * possible object is
- * {@link MethodParams }
- *
- */
public MethodParams getMethodParams() {
return methodParams;
}
- /**
- * Sets the value of the methodParams property.
- *
- * @param value
- * allowed object is
- * {@link MethodParams }
- *
- */
public void setMethodParams(MethodParams value) {
this.methodParams = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JavaWebStartAccess.java Mon Oct 15 21:38:53 2007
@@ -14,103 +14,46 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"contextRoot",
"eligible",
"vendor"
})
-@XmlRootElement(name = "java-web-start-access")
public class JavaWebStartAccess {
-
@XmlElement(name = "context-root")
protected String contextRoot;
protected String eligible;
protected String vendor;
- /**
- * Gets the value of the contextRoot property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getContextRoot() {
return contextRoot;
}
- /**
- * Sets the value of the contextRoot property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setContextRoot(String value) {
this.contextRoot = value;
}
- /**
- * Gets the value of the eligible property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getEligible() {
return eligible;
}
- /**
- * Sets the value of the eligible property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setEligible(String value) {
this.eligible = value;
}
- /**
- * Gets the value of the vendor property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getVendor() {
return vendor;
}
- /**
- * Sets the value of the vendor property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setVendor(String value) {
this.vendor = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JaxbSun.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JaxbSun.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JaxbSun.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JaxbSun.java Mon Oct 15 21:38:53 2007
@@ -18,6 +18,8 @@
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
import javax.xml.bind.JAXBException;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
@@ -56,15 +58,19 @@
}
public static <T>Object unmarshal(Class<T> type, InputStream in, final boolean logErrors) throws ParserConfigurationException, SAXException, JAXBException {
- InputSource inputSource = new InputSource(in);
-
+ // create a parser with validation disabled
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(false);
SAXParser parser = factory.newSAXParser();
+ // Get the JAXB context -- this should be cached
JAXBContext ctx = JAXBContext.newInstance(type);
+
+ // get the unmarshaller
Unmarshaller unmarshaller = ctx.createUnmarshaller();
+
+ // log errors?
unmarshaller.setEventHandler(new ValidationEventHandler(){
public boolean handleEvent(ValidationEvent validationEvent) {
if (logErrors) {
@@ -73,28 +79,28 @@
return false;
}
});
- unmarshaller.setListener(new Unmarshaller.Listener(){
- public void afterUnmarshal(Object object, Object object1) {
- super.afterUnmarshal(object, object1);
- }
-
- public void beforeUnmarshal(Object object, Object object1) {
- super.beforeUnmarshal(object, object1);
- }
- });
+ // add our XMLFilter which disables dtd downloading
NamespaceFilter xmlFilter = new NamespaceFilter(parser.getXMLReader());
xmlFilter.setContentHandler(unmarshaller.getUnmarshallerHandler());
- SAXSource source = new SAXSource(xmlFilter, inputSource);
+ // Wrap the input stream with our filter
+ SAXSource source = new SAXSource(xmlFilter, new InputSource(in));
+ // unmarshal the document
return unmarshaller.unmarshal(source);
}
// todo Inject the proper namespace
public static class NamespaceFilter extends XMLFilterImpl {
- public NamespaceFilter(XMLReader arg0) {
- super(arg0);
+ private static final InputSource EMPTY_INPUT_SOURCE = new InputSource(new ByteArrayInputStream(new byte[0]));
+
+ public NamespaceFilter(XMLReader xmlReader) {
+ super(xmlReader);
+ }
+
+ public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
+ return EMPTY_INPUT_SOURCE;
}
}
}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JspConfig.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JspConfig.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JspConfig.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/JspConfig.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,36 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"property"})
+public class JspConfig {
+ protected List<Property> property;
+
+ public List<Property> getProperty() {
+ if (property == null) {
+ property = new ArrayList<Property>();
+ }
+ return this.property;
+ }
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/KeyField.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/KeyField.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/KeyField.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/KeyField.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,56 @@
+/**
+ * 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.sun;
+
+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.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+public class KeyField {
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String name;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String scope;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ public String getScope() {
+ if (scope == null) {
+ return "request.parameter";
+ } else {
+ return scope;
+ }
+ }
+
+ public void setScope(String value) {
+ this.scope = value;
+ }
+}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Level.java Mon Oct 15 21:38:53 2007
@@ -14,51 +14,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "value"
-})
-@XmlRootElement(name = "level")
+@XmlType(name = "", propOrder = {"value"})
public class Level {
-
@XmlValue
protected String value;
- /**
- * 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;
}
-
}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetInfo.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetInfo.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetInfo.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetInfo.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,62 @@
+/**
+ * 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.sun;
+
+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.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import java.util.ArrayList;
+import java.util.List;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"localeCharsetMap", "parameterEncoding"})
+public class LocaleCharsetInfo {
+ @XmlAttribute(name = "default-locale")
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String defaultLocale;
+ @XmlElement(name = "locale-charset-map", required = true)
+ protected List<LocaleCharsetMap> localeCharsetMap;
+ @XmlElement(name = "parameter-encoding")
+ protected ParameterEncoding parameterEncoding;
+
+ public String getDefaultLocale() {
+ return defaultLocale;
+ }
+
+ public void setDefaultLocale(String value) {
+ this.defaultLocale = value;
+ }
+
+ public List<LocaleCharsetMap> getLocaleCharsetMap() {
+ if (localeCharsetMap == null) {
+ localeCharsetMap = new ArrayList<LocaleCharsetMap>();
+ }
+ return this.localeCharsetMap;
+ }
+
+ public ParameterEncoding getParameterEncoding() {
+ return parameterEncoding;
+ }
+
+ public void setParameterEncoding(ParameterEncoding value) {
+ this.parameterEncoding = value;
+ }
+}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetMap.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetMap.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetMap.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LocaleCharsetMap.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,71 @@
+/**
+ * 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.sun;
+
+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.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"description"})
+public class LocaleCharsetMap {
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String locale;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String agent;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String charset;
+ protected String description;
+
+ public String getLocale() {
+ return locale;
+ }
+
+ public void setLocale(String value) {
+ this.locale = value;
+ }
+
+ public String getAgent() {
+ return agent;
+ }
+
+ public void setAgent(String value) {
+ this.agent = value;
+ }
+
+ public String getCharset() {
+ return charset;
+ }
+
+ public void setCharset(String value) {
+ this.charset = value;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String value) {
+ this.description = value;
+ }
+}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenLoaded.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenLoaded.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenLoaded.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenLoaded.java Mon Oct 15 21:38:53 2007
@@ -14,22 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
-@XmlRootElement(name = "lock-when-loaded")
public class LockWhenLoaded {
-
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LockWhenModified.java Mon Oct 15 21:38:53 2007
@@ -14,22 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
-@XmlRootElement(name = "lock-when-modified")
public class LockWhenModified {
-
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/LoginConfig.java Mon Oct 15 21:38:53 2007
@@ -14,77 +14,33 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "authMethod",
- "realm"
-})
-@XmlRootElement(name = "login-config")
+@XmlType(name = "", propOrder = {"authMethod", "realm"})
public class LoginConfig {
-
@XmlElement(name = "auth-method", required = true)
protected String authMethod;
protected String realm;
- /**
- * Gets the value of the authMethod property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getAuthMethod() {
return authMethod;
}
- /**
- * Sets the value of the authMethod property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setAuthMethod(String value) {
this.authMethod = value;
}
- /**
- * Gets the value of the realm property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getRealm() {
return realm;
}
- /**
- * Sets the value of the realm property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setRealm(String value) {
this.realm = value;
}
-
}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ManagerProperties.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ManagerProperties.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ManagerProperties.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ManagerProperties.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,36 @@
+/**
+ * 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.sun;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {"property"})
+public class ManagerProperties {
+ protected List<Property> property;
+
+ public List<Property> getProperty() {
+ if (property == null) {
+ property = new ArrayList<Property>();
+ }
+ return this.property;
+ }
+}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbConnectionFactory.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "jndiName",
- "defaultResourcePrincipal"
-})
-@XmlRootElement(name = "mdb-connection-factory")
+@XmlType(name = "", propOrder = {"jndiName", "defaultResourcePrincipal"})
public class MdbConnectionFactory {
-
@XmlElement(name = "jndi-name", required = true)
protected String jndiName;
@XmlElement(name = "default-resource-principal")
protected DefaultResourcePrincipal defaultResourcePrincipal;
- /**
- * Gets the value of the jndiName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getJndiName() {
return jndiName;
}
- /**
- * Sets the value of the jndiName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setJndiName(String value) {
this.jndiName = value;
}
- /**
- * Gets the value of the defaultResourcePrincipal property.
- *
- * @return
- * possible object is
- * {@link DefaultResourcePrincipal }
- *
- */
public DefaultResourcePrincipal getDefaultResourcePrincipal() {
return defaultResourcePrincipal;
}
- /**
- * Sets the value of the defaultResourcePrincipal property.
- *
- * @param value
- * allowed object is
- * {@link DefaultResourcePrincipal }
- *
- */
public void setDefaultResourcePrincipal(DefaultResourcePrincipal value) {
this.defaultResourcePrincipal = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MdbResourceAdapter.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "resourceAdapterMid",
- "activationConfig"
-})
-@XmlRootElement(name = "mdb-resource-adapter")
+@XmlType(name = "", propOrder = {"resourceAdapterMid", "activationConfig"})
public class MdbResourceAdapter {
-
@XmlElement(name = "resource-adapter-mid", required = true)
protected String resourceAdapterMid;
@XmlElement(name = "activation-config")
protected ActivationConfig activationConfig;
- /**
- * Gets the value of the resourceAdapterMid property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getResourceAdapterMid() {
return resourceAdapterMid;
}
- /**
- * Sets the value of the resourceAdapterMid property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setResourceAdapterMid(String value) {
this.resourceAdapterMid = value;
}
- /**
- * Gets the value of the activationConfig property.
- *
- * @return
- * possible object is
- * {@link ActivationConfig }
- *
- */
public ActivationConfig getActivationConfig() {
return activationConfig;
}
- /**
- * Sets the value of the activationConfig property.
- *
- * @param value
- * allowed object is
- * {@link ActivationConfig }
- *
- */
public void setActivationConfig(ActivationConfig value) {
this.activationConfig = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Message.java Mon Oct 15 21:38:53 2007
@@ -14,63 +14,31 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlElement;
import javax.xml.bind.annotation.XmlElements;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"javaMethodOrOperationName"
})
-@XmlRootElement(name = "message")
public class Message {
-
@XmlElements({
@XmlElement(name = "java-method", type = JavaMethod.class),
@XmlElement(name = "operation-name", type = OperationName.class)
})
protected List<Object> javaMethodOrOperationName;
- /**
- * Gets the value of the javaMethodOrOperationName 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 javaMethodOrOperationName property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getJavaMethodOrOperationName().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link JavaMethod }
- * {@link OperationName }
- *
- *
- */
public List<Object> getJavaMethodOrOperationName() {
if (javaMethodOrOperationName == null) {
javaMethodOrOperationName = new ArrayList<Object>();
}
return this.javaMethodOrOperationName;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestination.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestination.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestination.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestination.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "messageDestinationName",
- "jndiName"
-})
-@XmlRootElement(name = "message-destination")
+@XmlType(name = "", propOrder = {"messageDestinationName", "jndiName"})
public class MessageDestination {
-
@XmlElement(name = "message-destination-name", required = true)
protected String messageDestinationName;
@XmlElement(name = "jndi-name", required = true)
protected String jndiName;
- /**
- * Gets the value of the messageDestinationName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getMessageDestinationName() {
return messageDestinationName;
}
- /**
- * Sets the value of the messageDestinationName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setMessageDestinationName(String value) {
this.messageDestinationName = value;
}
- /**
- * Gets the value of the jndiName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getJndiName() {
return jndiName;
}
- /**
- * Sets the value of the jndiName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setJndiName(String value) {
this.jndiName = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestinationRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestinationRef.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestinationRef.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageDestinationRef.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "messageDestinationRefName",
- "jndiName"
-})
-@XmlRootElement(name = "message-destination-ref")
+@XmlType(name = "", propOrder = {"messageDestinationRefName", "jndiName"})
public class MessageDestinationRef {
-
@XmlElement(name = "message-destination-ref-name", required = true)
protected String messageDestinationRefName;
@XmlElement(name = "jndi-name", required = true)
protected String jndiName;
- /**
- * Gets the value of the messageDestinationRefName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getMessageDestinationRefName() {
return messageDestinationRefName;
}
- /**
- * Sets the value of the messageDestinationRefName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setMessageDestinationRefName(String value) {
this.messageDestinationRefName = value;
}
- /**
- * Gets the value of the jndiName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getJndiName() {
return jndiName;
}
- /**
- * Sets the value of the jndiName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setJndiName(String value) {
this.jndiName = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurity.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurity.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurity.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurity.java Mon Oct 15 21:38:53 2007
@@ -14,30 +14,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"message",
"requestProtection",
"responseProtection"
})
-@XmlRootElement(name = "message-security")
public class MessageSecurity {
-
@XmlElement(required = true)
protected List<Message> message;
@XmlElement(name = "request-protection")
@@ -45,28 +37,6 @@
@XmlElement(name = "response-protection")
protected ResponseProtection responseProtection;
- /**
- * Gets the value of the message 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 message property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getMessage().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link Message }
- *
- *
- */
public List<Message> getMessage() {
if (message == null) {
message = new ArrayList<Message>();
@@ -74,52 +44,19 @@
return this.message;
}
- /**
- * Gets the value of the requestProtection property.
- *
- * @return
- * possible object is
- * {@link RequestProtection }
- *
- */
public RequestProtection getRequestProtection() {
return requestProtection;
}
- /**
- * Sets the value of the requestProtection property.
- *
- * @param value
- * allowed object is
- * {@link RequestProtection }
- *
- */
public void setRequestProtection(RequestProtection value) {
this.requestProtection = value;
}
- /**
- * Gets the value of the responseProtection property.
- *
- * @return
- * possible object is
- * {@link ResponseProtection }
- *
- */
public ResponseProtection getResponseProtection() {
return responseProtection;
}
- /**
- * Sets the value of the responseProtection property.
- *
- * @param value
- * allowed object is
- * {@link ResponseProtection }
- *
- */
public void setResponseProtection(ResponseProtection value) {
this.responseProtection = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurityBinding.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurityBinding.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurityBinding.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MessageSecurityBinding.java Mon Oct 15 21:38:53 2007
@@ -14,32 +14,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "messageSecurity"
-})
-@XmlRootElement(name = "message-security-binding")
+@XmlType(name = "", propOrder = {"messageSecurity"})
public class MessageSecurityBinding {
-
@XmlAttribute(name = "auth-layer", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String authLayer;
@@ -49,81 +39,26 @@
@XmlElement(name = "message-security")
protected List<MessageSecurity> messageSecurity;
- /**
- * Gets the value of the authLayer property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getAuthLayer() {
return authLayer;
}
- /**
- * Sets the value of the authLayer property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setAuthLayer(String value) {
this.authLayer = value;
}
- /**
- * Gets the value of the providerId property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getProviderId() {
return providerId;
}
- /**
- * Sets the value of the providerId property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setProviderId(String value) {
this.providerId = value;
}
- /**
- * Gets the value of the messageSecurity 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 messageSecurity property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getMessageSecurity().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link MessageSecurity }
- *
- *
- */
public List<MessageSecurity> getMessageSecurity() {
if (messageSecurity == null) {
messageSecurity = new ArrayList<MessageSecurity>();
}
return this.messageSecurity;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Method.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Method.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Method.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/Method.java Mon Oct 15 21:38:53 2007
@@ -14,19 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
@@ -35,9 +29,7 @@
"methodIntf",
"methodParams"
})
-@XmlRootElement(name = "method")
public class Method {
-
protected String description;
@XmlElement(name = "ejb-name")
protected String ejbName;
@@ -48,124 +40,43 @@
@XmlElement(name = "method-params")
protected MethodParams methodParams;
- /**
- * Gets the value of the description property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getDescription() {
return description;
}
- /**
- * Sets the value of the description property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setDescription(String value) {
this.description = value;
}
- /**
- * Gets the value of the ejbName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getEjbName() {
return ejbName;
}
- /**
- * Sets the value of the ejbName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setEjbName(String value) {
this.ejbName = value;
}
- /**
- * Gets the value of the methodName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getMethodName() {
return methodName;
}
- /**
- * Sets the value of the methodName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setMethodName(String value) {
this.methodName = value;
}
- /**
- * Gets the value of the methodIntf property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getMethodIntf() {
return methodIntf;
}
- /**
- * Sets the value of the methodIntf property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setMethodIntf(String value) {
this.methodIntf = value;
}
- /**
- * Gets the value of the methodParams property.
- *
- * @return
- * possible object is
- * {@link MethodParams }
- *
- */
public MethodParams getMethodParams() {
return methodParams;
}
- /**
- * Sets the value of the methodParams property.
- *
- * @param value
- * allowed object is
- * {@link MethodParams }
- *
- */
public void setMethodParams(MethodParams value) {
this.methodParams = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParam.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParam.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParam.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParam.java Mon Oct 15 21:38:53 2007
@@ -14,51 +14,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "value"
-})
-@XmlRootElement(name = "method-param")
+@XmlType(name = "", propOrder = {"value"})
public class MethodParam {
-
@XmlValue
protected String value;
- /**
- * 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;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParams.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParams.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParams.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/MethodParams.java Mon Oct 15 21:38:53 2007
@@ -14,58 +14,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "methodParam"
-})
-@XmlRootElement(name = "method-params")
+@XmlType(name = "", propOrder = {"methodParam"})
public class MethodParams {
-
@XmlElement(name = "method-param")
protected List<MethodParam> methodParam;
- /**
- * Gets the value of the methodParam 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 methodParam property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getMethodParam().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link MethodParam }
- *
- *
- */
public List<MethodParam> getMethodParam() {
if (methodParam == null) {
methodParam = new ArrayList<MethodParam>();
}
return this.methodParam;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/NamedGroup.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/NamedGroup.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/NamedGroup.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/NamedGroup.java Mon Oct 15 21:38:53 2007
@@ -14,51 +14,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "value"
-})
-@XmlRootElement(name = "named-group")
+@XmlType(name = "", propOrder = {"value"})
public class NamedGroup {
-
@XmlValue
protected String value;
- /**
- * 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;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/None.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/None.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/None.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/None.java Mon Oct 15 21:38:53 2007
@@ -14,22 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
-@XmlRootElement(name = "none")
public class None {
-
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OneOneFinders.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OneOneFinders.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OneOneFinders.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OneOneFinders.java Mon Oct 15 21:38:53 2007
@@ -14,58 +14,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "finder"
-})
-@XmlRootElement(name = "one-one-finders")
+@XmlType(name = "", propOrder = {"finder"})
public class OneOneFinders {
-
@XmlElement(required = true)
protected List<Finder> finder;
- /**
- * Gets the value of the finder 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 finder property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getFinder().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link Finder }
- *
- *
- */
public List<Finder> getFinder() {
if (finder == null) {
finder = new ArrayList<Finder>();
}
return this.finder;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OperationName.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OperationName.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OperationName.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/OperationName.java Mon Oct 15 21:38:53 2007
@@ -14,51 +14,24 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "value"
-})
-@XmlRootElement(name = "operation-name")
+@XmlType(name = "", propOrder = {"value"})
public class OperationName {
-
@XmlValue
protected String value;
- /**
- * 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;
}
-
}
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ParameterEncoding.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ParameterEncoding.java?rev=585036&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ParameterEncoding.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/ParameterEncoding.java Mon Oct 15 21:38:53 2007
@@ -0,0 +1,51 @@
+/**
+ * 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.sun;
+
+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.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+public class ParameterEncoding {
+ @XmlAttribute(name = "form-hint-field")
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String formHintField;
+ @XmlAttribute(name = "default-charset")
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String defaultCharset;
+
+ public String getFormHintField() {
+ return formHintField;
+ }
+
+ public void setFormHintField(String value) {
+ this.formHintField = value;
+ }
+
+ public String getDefaultCharset() {
+ return defaultCharset;
+ }
+
+ public void setDefaultCharset(String value) {
+ this.defaultCharset = value;
+ }
+}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptor.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptor.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptor.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptor.java Mon Oct 15 21:38:53 2007
@@ -14,19 +14,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pmIdentifier",
@@ -35,9 +29,7 @@
"pmClassGenerator",
"pmMappingFactory"
})
-@XmlRootElement(name = "pm-descriptor")
public class PmDescriptor {
-
@XmlElement(name = "pm-identifier", required = true)
protected String pmIdentifier;
@XmlElement(name = "pm-version", required = true)
@@ -49,124 +41,43 @@
@XmlElement(name = "pm-mapping-factory")
protected String pmMappingFactory;
- /**
- * Gets the value of the pmIdentifier property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getPmIdentifier() {
return pmIdentifier;
}
- /**
- * Sets the value of the pmIdentifier property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setPmIdentifier(String value) {
this.pmIdentifier = value;
}
- /**
- * Gets the value of the pmVersion property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getPmVersion() {
return pmVersion;
}
- /**
- * Sets the value of the pmVersion property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setPmVersion(String value) {
this.pmVersion = value;
}
- /**
- * Gets the value of the pmConfig property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getPmConfig() {
return pmConfig;
}
- /**
- * Sets the value of the pmConfig property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setPmConfig(String value) {
this.pmConfig = value;
}
- /**
- * Gets the value of the pmClassGenerator property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getPmClassGenerator() {
return pmClassGenerator;
}
- /**
- * Sets the value of the pmClassGenerator property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setPmClassGenerator(String value) {
this.pmClassGenerator = value;
}
- /**
- * Gets the value of the pmMappingFactory property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getPmMappingFactory() {
return pmMappingFactory;
}
- /**
- * Sets the value of the pmMappingFactory property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setPmMappingFactory(String value) {
this.pmMappingFactory = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptors.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptors.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptors.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmDescriptors.java Mon Oct 15 21:38:53 2007
@@ -14,56 +14,26 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pmDescriptor",
"pmInuse"
})
-@XmlRootElement(name = "pm-descriptors")
public class PmDescriptors {
-
@XmlElement(name = "pm-descriptor", required = true)
protected List<PmDescriptor> pmDescriptor;
@XmlElement(name = "pm-inuse", required = true)
protected PmInuse pmInuse;
- /**
- * Gets the value of the pmDescriptor 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 pmDescriptor property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getPmDescriptor().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link PmDescriptor }
- *
- *
- */
public List<PmDescriptor> getPmDescriptor() {
if (pmDescriptor == null) {
pmDescriptor = new ArrayList<PmDescriptor>();
@@ -71,28 +41,11 @@
return this.pmDescriptor;
}
- /**
- * Gets the value of the pmInuse property.
- *
- * @return
- * possible object is
- * {@link PmInuse }
- *
- */
public PmInuse getPmInuse() {
return pmInuse;
}
- /**
- * Sets the value of the pmInuse property.
- *
- * @param value
- * allowed object is
- * {@link PmInuse }
- *
- */
public void setPmInuse(PmInuse value) {
this.pmInuse = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmInuse.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmInuse.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmInuse.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PmInuse.java Mon Oct 15 21:38:53 2007
@@ -14,78 +14,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "pmIdentifier",
- "pmVersion"
-})
-@XmlRootElement(name = "pm-inuse")
+@XmlType(name = "", propOrder = {"pmIdentifier", "pmVersion"})
public class PmInuse {
-
@XmlElement(name = "pm-identifier", required = true)
protected String pmIdentifier;
@XmlElement(name = "pm-version", required = true)
protected String pmVersion;
- /**
- * Gets the value of the pmIdentifier property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getPmIdentifier() {
return pmIdentifier;
}
- /**
- * Sets the value of the pmIdentifier property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setPmIdentifier(String value) {
this.pmIdentifier = value;
}
- /**
- * Gets the value of the pmVersion property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getPmVersion() {
return pmVersion;
}
- /**
- * Sets the value of the pmVersion property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setPmVersion(String value) {
this.pmVersion = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PortInfo.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PortInfo.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PortInfo.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PortInfo.java Mon Oct 15 21:38:53 2007
@@ -14,21 +14,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"serviceEndpointInterface",
@@ -37,9 +31,7 @@
"callProperty",
"messageSecurityBinding"
})
-@XmlRootElement(name = "port-info")
public class PortInfo {
-
@XmlElement(name = "service-endpoint-interface")
protected String serviceEndpointInterface;
@XmlElement(name = "wsdl-port")
@@ -51,76 +43,22 @@
@XmlElement(name = "message-security-binding")
protected MessageSecurityBinding messageSecurityBinding;
- /**
- * Gets the value of the serviceEndpointInterface property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
public String getServiceEndpointInterface() {
return serviceEndpointInterface;
}
- /**
- * Sets the value of the serviceEndpointInterface property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
public void setServiceEndpointInterface(String value) {
this.serviceEndpointInterface = value;
}
- /**
- * Gets the value of the wsdlPort property.
- *
- * @return
- * possible object is
- * {@link WsdlPort }
- *
- */
public WsdlPort getWsdlPort() {
return wsdlPort;
}
- /**
- * Sets the value of the wsdlPort property.
- *
- * @param value
- * allowed object is
- * {@link WsdlPort }
- *
- */
public void setWsdlPort(WsdlPort value) {
this.wsdlPort = value;
}
- /**
- * Gets the value of the stubProperty 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 stubProperty property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getStubProperty().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link StubProperty }
- *
- *
- */
public List<StubProperty> getStubProperty() {
if (stubProperty == null) {
stubProperty = new ArrayList<StubProperty>();
@@ -128,28 +66,6 @@
return this.stubProperty;
}
- /**
- * Gets the value of the callProperty 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 callProperty property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getCallProperty().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link CallProperty }
- *
- *
- */
public List<CallProperty> getCallProperty() {
if (callProperty == null) {
callProperty = new ArrayList<CallProperty>();
@@ -157,28 +73,11 @@
return this.callProperty;
}
- /**
- * Gets the value of the messageSecurityBinding property.
- *
- * @return
- * possible object is
- * {@link MessageSecurityBinding }
- *
- */
public MessageSecurityBinding getMessageSecurityBinding() {
return messageSecurityBinding;
}
- /**
- * Sets the value of the messageSecurityBinding property.
- *
- * @param value
- * allowed object is
- * {@link MessageSecurityBinding }
- *
- */
public void setMessageSecurityBinding(MessageSecurityBinding value) {
this.messageSecurityBinding = value;
}
-
}
Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrefetchDisabled.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrefetchDisabled.java?rev=585036&r1=585035&r2=585036&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrefetchDisabled.java (original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/sun/PrefetchDisabled.java Mon Oct 15 21:38:53 2007
@@ -14,58 +14,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.openejb.jee.sun;
-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.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
-
-/**
- *
- */
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "queryMethod"
-})
-@XmlRootElement(name = "prefetch-disabled")
+@XmlType(name = "", propOrder = {"queryMethod"})
public class PrefetchDisabled {
-
@XmlElement(name = "query-method", required = true)
protected List<QueryMethod> queryMethod;
- /**
- * Gets the value of the queryMethod 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 queryMethod property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getQueryMethod().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link QueryMethod }
- *
- *
- */
public List<QueryMethod> getQueryMethod() {
if (queryMethod == null) {
queryMethod = new ArrayList<QueryMethod>();
}
return this.queryMethod;
}
-
}