Revision: b14151f49cca
Author: Jean Deruelle <[email protected]>
Date: Mon Jul 9 10:05:44 2012
Log: Update Issue 116
Adding specifics for EAP
http://code.google.com/p/sipservlets/source/detail?r=b14151f49cca
Added:
/containers/sip-servlets-jboss5-metadata/src/main/java/org/jboss/metadata/sip/jboss/EAP50ConvergedSipMetaData.java
/containers/sip-servlets-jboss5-metadata/src/main/java/org/jboss/metadata/sip/jboss/EAP50DTDConvergedSipMetaData.java
=======================================
--- /dev/null
+++
/containers/sip-servlets-jboss5-metadata/src/main/java/org/jboss/metadata/sip/jboss/EAP50ConvergedSipMetaData.java
Mon Jul 9 10:05:44 2012
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.metadata.sip.jboss;
+
+import javax.xml.bind.annotation.XmlNs;
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.jboss.metadata.javaee.spec.JavaEEMetaDataConstants;
+import org.jboss.xb.annotations.JBossXmlSchema;
+
+/**
+ * Reuse the JBoss50WebMetaData class from JBoss 5 to provide support for
converged http/sip applications jboss-web metadata parsing
+ *
+ * @author [email protected]
+ */
+@XmlRootElement(name="jboss-web",
namespace=JavaEEMetaDataConstants.JBOSS_NS)
+@JBossXmlSchema(
+ xmlns={@XmlNs(namespaceURI = JavaEEMetaDataConstants.JAVAEE_NS,
prefix = "jee")},
+ ignoreUnresolvedFieldOrClass=false,
+ namespace=JavaEEMetaDataConstants.JBOSS_NS,
+ elementFormDefault=XmlNsForm.QUALIFIED)
+@XmlType(name="jboss-webType", namespace=JavaEEMetaDataConstants.JBOSS_NS,
propOrder={"classLoading", "securityDomainWeb",
+ "jaccAllStoreRole", "contextRoot",
+ "virtualHosts", "useSessionCookies", "replicationConfig", "environmentRefsGroup",
"securityRoles", "messageDestinations",
+ "webserviceDescriptions", "depends", "servlets", "maxActiveSessions",
"passivationConfig"})
+public class EAP50ConvergedSipMetaData extends JBossConvergedSipMetaData
+{
+ private static final long serialVersionUID = 1;
+}
=======================================
--- /dev/null
+++
/containers/sip-servlets-jboss5-metadata/src/main/java/org/jboss/metadata/sip/jboss/EAP50DTDConvergedSipMetaData.java
Mon Jul 9 10:05:44 2012
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.metadata.sip.jboss;
+
+import javax.xml.bind.annotation.XmlNs;
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.jboss.xb.annotations.JBossXmlSchema;
+
+/**
+ * Reuse the JBoss50WebMetaData class from JBoss 5 to provide support for
converged http/sip applications jboss-web metadata parsing
+ * DTD based schema for use with jboss-web.xml without a namespace
+ *
+ * @author [email protected]
+ */
+@XmlRootElement(name="jboss-web", namespace="")
+@JBossXmlSchema(
+ xmlns={@XmlNs(namespaceURI = "", prefix = "jee")},
+ ignoreUnresolvedFieldOrClass=false,
+ namespace="",
+ elementFormDefault=XmlNsForm.UNSET,
+ normalizeSpace=true)
+@XmlType(name="jboss-webType", namespace="",
propOrder={"classLoading", "securityDomainWeb", "jaccAllStoreRole", "contextRoot",
+ "virtualHosts", "useSessionCookies", "replicationConfig", "environmentRefsGroup",
"securityRoles", "messageDestinations",
+ "webserviceDescriptions", "depends", "servlets", "maxActiveSessions",
"passivationConfig"})
+public class EAP50DTDConvergedSipMetaData extends JBossConvergedSipMetaData
+{
+ private static final long serialVersionUID = 1;
+}