[jboss-cvs] JBossAS SVN: r65943 - projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 8 16:59:59 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-10-08 16:59:59 -0400 (Mon, 08 Oct 2007)
New Revision: 65943
Added:
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/AuthConstraintMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FormLoginConfigMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ListenerMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingsMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LoginConfigMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/MimeMappingMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/SecurityConstraintMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingsMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletsMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/TransportGuaranteeType.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/UserDataConstraintMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionsMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WelcomeFileListMetaData.java
Modified:
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FilterMappingMetaData.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/JspPropertyGroup.java
projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebMetaData.java
Log:
First pass at web-app spec metadata
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/AuthConstraintMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/AuthConstraintMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/AuthConstraintMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class AuthConstraintMetaData extends IdMetaDataImplWithDescriptions
+{
+ private static final long serialVersionUID = 1;
+
+ private List<String> roleNames;
+
+ public List<String> getRoleNames()
+ {
+ return roleNames;
+ }
+ @XmlElement(name="role-name")
+ public void setRoleNames(List<String> roleNames)
+ {
+ this.roleNames = roleNames;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/AuthConstraintMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FilterMappingMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FilterMappingMetaData.java 2007-10-08 20:10:47 UTC (rev 65942)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FilterMappingMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -26,13 +26,13 @@
import javax.xml.bind.annotation.XmlElement;
-import org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup;
+import org.jboss.metadata.javaee.support.NamedMetaData;
/**
* @author Scott.Stark at jboss.org
* @version $Revision$
*/
-public class FilterMappingMetaData extends NamedMetaDataWithDescriptionGroup
+public class FilterMappingMetaData extends NamedMetaData
{
private static final long serialVersionUID = 1;
protected List<String> urlPatterns;
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FormLoginConfigMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FormLoginConfigMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FormLoginConfigMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class FormLoginConfigMetaData extends IdMetaDataImpl
+{
+ private static final long serialVersionUID = 1;
+
+ private String loginPage;
+ private String errorPage;
+
+ public String getLoginPage()
+ {
+ return loginPage;
+ }
+ @XmlElement(name="form-login-page")
+ public void setLoginPage(String loginPage)
+ {
+ this.loginPage = loginPage;
+ }
+
+ public String getErrorPage()
+ {
+ return errorPage;
+ }
+ @XmlElement(name="form-error-page")
+ public void setErrorPage(String errorPage)
+ {
+ this.errorPage = errorPage;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/FormLoginConfigMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/JspPropertyGroup.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/JspPropertyGroup.java 2007-10-08 20:10:47 UTC (rev 65942)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/JspPropertyGroup.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -33,6 +33,8 @@
*/
public class JspPropertyGroup extends IdMetaDataImplWithDescriptionGroup
{
+ private static final long serialVersionUID = 1;
+
private List<String> urlPatterns;
private boolean scriptingInvalid;
private boolean elIgnored;
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ListenerMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ListenerMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ListenerMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class ListenerMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+ private static final long serialVersionUID = 1;
+
+ private String listenerClass;
+
+ public String getListenerClass()
+ {
+ return listenerClass;
+ }
+
+ public void setListenerClass(String listenerClass)
+ {
+ this.listenerClass = listenerClass;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ListenerMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class LocaleEncodingMetaData extends IdMetaDataImpl
+{
+ private static final long serialVersionUID = 1;
+
+ protected String locale;
+ protected String encoding;
+
+ public String getLocale()
+ {
+ return locale;
+ }
+ public void setLocale(String locale)
+ {
+ this.locale = locale;
+ }
+
+ public String getEncoding()
+ {
+ return encoding;
+ }
+ public void setEncoding(String encoding)
+ {
+ this.encoding = encoding;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingsMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingsMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingsMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class LocaleEncodingsMetaData extends IdMetaDataImpl
+{
+ private static final long serialVersionUID = 1;
+
+ private List<LocaleEncodingMetaData> mappings;
+
+ public List<LocaleEncodingMetaData> getMappings()
+ {
+ return mappings;
+ }
+ @XmlElement(name="locale-encoding-mapping")
+ public void setMappings(List<LocaleEncodingMetaData> mappings)
+ {
+ this.mappings = mappings;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LocaleEncodingsMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LoginConfigMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LoginConfigMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LoginConfigMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,67 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class LoginConfigMetaData extends IdMetaDataImpl
+{
+ private static final long serialVersionUID = 1;
+
+ protected String authMethod;
+ protected String realmName;
+ protected FormLoginConfigMetaData formLoginConfig;
+
+ public String getAuthMethod()
+ {
+ return authMethod;
+ }
+
+ public void setAuthMethod(String authMethod)
+ {
+ this.authMethod = authMethod;
+ }
+
+ public String getRealmName()
+ {
+ return realmName;
+ }
+
+ public void setRealmName(String realmName)
+ {
+ this.realmName = realmName;
+ }
+
+ public FormLoginConfigMetaData getFormLoginConfig()
+ {
+ return formLoginConfig;
+ }
+
+ public void setFormLoginConfig(FormLoginConfigMetaData formLoginConfig)
+ {
+ this.formLoginConfig = formLoginConfig;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/LoginConfigMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/MimeMappingMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/MimeMappingMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/MimeMappingMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class MimeMappingMetaData extends IdMetaDataImpl
+{
+ private static final long serialVersionUID = 1;
+
+ protected String extension;
+ protected String mimeType;
+
+ public String getExtension()
+ {
+ return extension;
+ }
+
+ public void setExtension(String extension)
+ {
+ this.extension = extension;
+ }
+
+ public String getMimeType()
+ {
+ return mimeType;
+ }
+
+ public void setMimeType(String mimeType)
+ {
+ this.mimeType = mimeType;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/MimeMappingMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/SecurityConstraintMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/SecurityConstraintMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/SecurityConstraintMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class SecurityConstraintMetaData extends IdMetaDataImpl
+{
+ private static final long serialVersionUID = 1;
+
+ private String displayName;
+ private WebResourceCollectionsMetaData resourceCollections;
+ private AuthConstraintMetaData authConstraint;
+ private UserDataConstraintMetaData userDataConstraint;
+
+ public AuthConstraintMetaData getAuthConstraint()
+ {
+ return authConstraint;
+ }
+ public void setAuthConstraint(AuthConstraintMetaData authConstraint)
+ {
+ this.authConstraint = authConstraint;
+ }
+
+ public String getDisplayName()
+ {
+ return displayName;
+ }
+ public void setDisplayName(String displayName)
+ {
+ this.displayName = displayName;
+ }
+
+ public WebResourceCollectionsMetaData getResourceCollections()
+ {
+ return resourceCollections;
+ }
+ @XmlElement(name="web-resource-collection")
+ public void setResourceCollections(
+ WebResourceCollectionsMetaData resourceCollections)
+ {
+ this.resourceCollections = resourceCollections;
+ }
+
+ public UserDataConstraintMetaData getUserDataConstraint()
+ {
+ return userDataConstraint;
+ }
+ public void setUserDataConstraint(UserDataConstraintMetaData userDataConstraint)
+ {
+ this.userDataConstraint = userDataConstraint;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/SecurityConstraintMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.NamedMetaData;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class ServletMappingMetaData extends NamedMetaData
+{
+ private static final long serialVersionUID = 1;
+ protected String servletName;
+ protected List<String> urlPatterns;
+
+ public String getServletName()
+ {
+ return getName();
+ }
+ public void setServletName(String servletName)
+ {
+ super.setName(servletName);
+ }
+
+ public List<String> getUrlPatterns()
+ {
+ return urlPatterns;
+ }
+ @XmlElement(name="url-pattern")
+ public void setUrlPatterns(List<String> urlPatterns)
+ {
+ this.urlPatterns = urlPatterns;
+ }
+
+
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingsMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingsMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingsMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.AbstractMappedMetaData;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class ServletMappingsMetaData extends AbstractMappedMetaData<ServletMappingMetaData>
+{
+ private static final long serialVersionUID = 1;
+ public ServletMappingsMetaData()
+ {
+ super("web app serlvet mappings");
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMappingsMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.spec.ParamValueMetaData;
+import org.jboss.metadata.javaee.spec.RunAsMetaData;
+import org.jboss.metadata.javaee.spec.SecurityRoleRefsMetaData;
+import org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class ServletMetaData extends NamedMetaDataWithDescriptionGroup
+{
+ private static final long serialVersionUID = 1;
+
+ private String servletClass;
+ private String jspFile;
+ /** The servlet init-params */
+ private List<ParamValueMetaData> initParam;
+ private int loadOnStartup = -1;
+ private RunAsMetaData runAs;
+ /** The security role ref */
+ private SecurityRoleRefsMetaData securityRoleRefs;
+
+ public String getServletName()
+ {
+ return getName();
+ }
+ public void setServletName(String name)
+ {
+ super.setName(name);
+ }
+
+ public String getServletClass()
+ {
+ return servletClass;
+ }
+ public void setServletClass(String servletClass)
+ {
+ this.servletClass = servletClass;
+ }
+
+ public List<ParamValueMetaData> getInitParam()
+ {
+ return initParam;
+ }
+ public void setInitParam(List<ParamValueMetaData> initParam)
+ {
+ this.initParam = initParam;
+ }
+ public String getJspFile()
+ {
+ return jspFile;
+ }
+ public void setJspFile(String jspFile)
+ {
+ this.jspFile = jspFile;
+ }
+ public int getLoadOnStartup()
+ {
+ return loadOnStartup;
+ }
+ public void setLoadOnStartup(int loadOnStartup)
+ {
+ this.loadOnStartup = loadOnStartup;
+ }
+ public RunAsMetaData getRunAs()
+ {
+ return runAs;
+ }
+ public void setRunAs(RunAsMetaData runAs)
+ {
+ this.runAs = runAs;
+ }
+ public SecurityRoleRefsMetaData getSecurityRoleRefs()
+ {
+ return securityRoleRefs;
+ }
+ @XmlElement(name="security-role-ref")
+ public void setSecurityRoleRefs(SecurityRoleRefsMetaData securityRoleRefs)
+ {
+ this.securityRoleRefs = securityRoleRefs;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletsMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletsMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletsMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.AbstractMappedMetaData;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class ServletsMetaData extends AbstractMappedMetaData<ServletMetaData>
+{
+ private static final long serialVersionUID = 1;
+ public ServletsMetaData()
+ {
+ super("web app servlets");
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/ServletsMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/TransportGuaranteeType.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/TransportGuaranteeType.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/TransportGuaranteeType.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+ at XmlType(name="transport-guaranteeType")
+ at XmlEnum(String.class)
+public enum TransportGuaranteeType
+{
+ NONE, INTEGRAL, CONFIDENTIAL
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/TransportGuaranteeType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/UserDataConstraintMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/UserDataConstraintMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/UserDataConstraintMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class UserDataConstraintMetaData extends IdMetaDataImplWithDescriptions
+{
+ private static final long serialVersionUID = 1;
+
+ private TransportGuaranteeType transportGuarantee;
+
+ public TransportGuaranteeType getTransportGuarantee()
+ {
+ return transportGuarantee;
+ }
+ public void setTransportGuarantee(TransportGuaranteeType transportGuarantee)
+ {
+ this.transportGuarantee = transportGuarantee;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/UserDataConstraintMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebMetaData.java 2007-10-08 20:10:47 UTC (rev 65942)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -44,6 +44,7 @@
import org.jboss.metadata.javaee.spec.ResourceEnvironmentReferencesMetaData;
import org.jboss.metadata.javaee.spec.ResourceReferenceMetaData;
import org.jboss.metadata.javaee.spec.ResourceReferencesMetaData;
+import org.jboss.metadata.javaee.spec.SecurityRolesMetaData;
import org.jboss.metadata.javaee.support.AbstractMappedMetaData;
import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
@@ -64,6 +65,15 @@
private FilterMappingsMetaData filterMappings;
private List<ErrorPageMetaData> errorPages;
private List<JspConfigMetaData> jspConfig;
+ private List<ListenerMetaData> listeners;
+ private List<LoginConfigMetaData> loginConfig;
+ private List<MimeMappingMetaData> mimeMappings;
+ private ServletsMetaData servlets;
+ private ServletMappingsMetaData servletMappings;
+ private List<SecurityConstraintMetaData> securityContraints;
+ private SecurityRolesMetaData securityRoles;
+ private WelcomeFileListMetaData welcomeFileList;
+ private LocaleEncodingsMetaData localEncodings;
/** The environment */
private RemoteEnvironmentRefsGroupMetaData jndiEnvironmentRefsGroup;
@@ -136,6 +146,94 @@
this.jspConfig = jspConfig;
}
+ public List<ListenerMetaData> getListeners()
+ {
+ return listeners;
+ }
+ @XmlElement(name="listener")
+ public void setListeners(List<ListenerMetaData> listeners)
+ {
+ this.listeners = listeners;
+ }
+
+ public LocaleEncodingsMetaData getLocalEncodings()
+ {
+ return localEncodings;
+ }
+ @XmlElement(name="locale-encoding-mapping-list")
+ public void setLocalEncodings(LocaleEncodingsMetaData localEncodings)
+ {
+ this.localEncodings = localEncodings;
+ }
+
+ public List<LoginConfigMetaData> getLoginConfig()
+ {
+ return loginConfig;
+ }
+ public void setLoginConfig(List<LoginConfigMetaData> loginConfig)
+ {
+ this.loginConfig = loginConfig;
+ }
+
+ public List<MimeMappingMetaData> getMimeMappings()
+ {
+ return mimeMappings;
+ }
+ @XmlElement(name="mime-mapping")
+ public void setMimeMappings(List<MimeMappingMetaData> mimeMappings)
+ {
+ this.mimeMappings = mimeMappings;
+ }
+
+ public ServletsMetaData getServlets()
+ {
+ return servlets;
+ }
+ @XmlElement(name="servlet")
+ public void setServlets(ServletsMetaData servlets)
+ {
+ this.servlets = servlets;
+ }
+
+ public ServletMappingsMetaData getServletMappings()
+ {
+ return servletMappings;
+ }
+ @XmlElement(name="servlet-mapping")
+ public void setServletMappings(ServletMappingsMetaData servletMappings)
+ {
+ this.servletMappings = servletMappings;
+ }
+
+ public List<SecurityConstraintMetaData> getSecurityContraints()
+ {
+ return securityContraints;
+ }
+ @XmlElement(name="security-constraint")
+ public void setSecurityContraints(List<SecurityConstraintMetaData> securityContraints)
+ {
+ this.securityContraints = securityContraints;
+ }
+
+ public SecurityRolesMetaData getSecurityRoles()
+ {
+ return securityRoles;
+ }
+ @XmlElement(name="security-role")
+ public void setSecurityRoles(SecurityRolesMetaData securityRoles)
+ {
+ this.securityRoles = securityRoles;
+ }
+
+ public WelcomeFileListMetaData getWelcomeFileList()
+ {
+ return welcomeFileList;
+ }
+ public void setWelcomeFileList(WelcomeFileListMetaData welcomeFileList)
+ {
+ this.welcomeFileList = welcomeFileList;
+ }
+
public EJBReferenceMetaData getEjbReferenceByName(String name)
{
return AbstractMappedMetaData.getByName(name, getEjbReferences());
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class WebResourceCollectionMetaData extends NamedMetaDataWithDescriptions
+{
+ private static final long serialVersionUID = 1;
+
+ protected List<String> urlPatterns;
+ protected List<String> httpMethods;
+
+ public String getWebResourceName()
+ {
+ return getName();
+ }
+ public void setWebResourceName(String webResourceName)
+ {
+ super.setName(webResourceName);
+ }
+
+ public List<String> getUrlPatterns()
+ {
+ return urlPatterns;
+ }
+ @XmlElement(name="url-pattern")
+ public void setUrlPatterns(List<String> urlPatterns)
+ {
+ this.urlPatterns = urlPatterns;
+ }
+
+ public List<String> getHttpMethods()
+ {
+ return httpMethods;
+ }
+ @XmlElement(name="http-method")
+ public void setHttpMethods(List<String> httpMethods)
+ {
+ this.httpMethods = httpMethods;
+ }
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionsMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionsMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionsMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import org.jboss.metadata.javaee.support.AbstractMappedMetaData;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class WebResourceCollectionsMetaData extends AbstractMappedMetaData<WebResourceCollectionMetaData>
+{
+ private static final long serialVersionUID = 1;
+ public WebResourceCollectionsMetaData()
+ {
+ super("web app security-constraint/web-resource-collection");
+ }
+}
\ No newline at end of file
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WebResourceCollectionsMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WelcomeFileListMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WelcomeFileListMetaData.java (rev 0)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WelcomeFileListMetaData.java 2007-10-08 20:59:59 UTC (rev 65943)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, 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.web.spec;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ *
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public class WelcomeFileListMetaData extends IdMetaDataImpl
+{
+ private static final long serialVersionUID = 1;
+
+ private List<String> welcomeFiles;
+
+ public List<String> getWelcomeFiles()
+ {
+ return welcomeFiles;
+ }
+ @XmlElement(name="welcome-file")
+ public void setWelcomeFiles(List<String> welcomeFiles)
+ {
+ this.welcomeFiles = welcomeFiles;
+ }
+
+
+}
Property changes on: projects/metadata/trunk/src/main/java/org/jboss/metadata/web/spec/WelcomeFileListMetaData.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the jboss-cvs-commits
mailing list