[jboss-cvs] JBossAS SVN: r79261 - in trunk/tomcat/src/main/org/jboss/web/tomcat: metadata and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 8 06:35:03 EDT 2008


Author: remy.maucherat at jboss.com
Date: 2008-10-08 06:35:02 -0400 (Wed, 08 Oct 2008)
New Revision: 79261

Added:
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ConnectorMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ContextMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/EngineMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ExecutorMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/HostMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ListenerMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/LoaderMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ParameterMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/RealmMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ResourcesMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServerMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServiceMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/SessionCookieMetaData.java
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ValveMetaData.java
Log:
- Add some skeleton metadata for server.xml and context.xml.
- Missing the "any attribute" feature.
- Some additional attributes could be made explicit (className for example).

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ConnectorMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ConnectorMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ConnectorMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ConnectorMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ContextMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ContextMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ContextMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,160 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ContextMetaData
+{
+   private String name;
+   private String docBase;
+   private List<ListenerMetaData> listeners;
+   private List<ValveMetaData> valves;
+   private List<String> instanceListeners;
+   private LoaderMetaData loader;
+   private ManagerMetaData manager;
+   private RealmMetaData realm;
+   private List<ParameterMetaData> parameters;
+   private ResourcesMetaData resources;
+   private SessionCookieMetaData sessionCookie;
+   // FIXME: no support for the naming elements (which might be the right thing to do)
+   // FIXME: no WatchedResource, WrapperLifecycle, WrapperListener
+   // FIXME: add any attribute map
+   
+   @XmlAttribute(name = "name")
+   public String getName()
+   {
+      return name;
+   }
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   @XmlAttribute(name = "docBase")
+   public String getDocBase()
+   {
+      return docBase;
+   }
+   public void setDocBase(String docBase)
+   {
+      this.docBase = docBase;
+   }
+   
+   @XmlElement(name = "Listener")
+   public List<ListenerMetaData> getListeners()
+   {
+      return listeners;
+   }
+   public void setListeners(List<ListenerMetaData> listeners)
+   {
+      this.listeners = listeners;
+   }
+
+   @XmlElement(name = "Realm")
+   public RealmMetaData getRealm()
+   {
+      return realm;
+   }
+   public void setRealm(RealmMetaData realm)
+   {
+      this.realm = realm;
+   }
+   
+   @XmlElement(name = "Valve")
+   public List<ValveMetaData> getValves()
+   {
+      return valves;
+   }
+   public void setValves(List<ValveMetaData> valves)
+   {
+      this.valves = valves;
+   }
+
+   @XmlElement(name = "InstanceListener")
+   public List<String> getInstanceListeners()
+   {
+      return instanceListeners;
+   }
+   public void setInstanceListeners(List<String> instanceListeners)
+   {
+      this.instanceListeners = instanceListeners;
+   }
+
+   @XmlElement(name = "Loader")
+   public LoaderMetaData getLoader()
+   {
+      return loader;
+   }
+   public void setLoader(LoaderMetaData loader)
+   {
+      this.loader = loader;
+   }
+   
+   @XmlElement(name = "Manager")
+   public ManagerMetaData getManager()
+   {
+      return manager;
+   }
+   public void setManager(ManagerMetaData manager)
+   {
+      this.manager = manager;
+   }
+   
+   @XmlElement(name = "Parameters")
+   public List<ParameterMetaData> getParameters()
+   {
+      return parameters;
+   }
+   public void setParameters(List<ParameterMetaData> parameters)
+   {
+      this.parameters = parameters;
+   }
+
+   @XmlElement(name = "Resources")
+   public ResourcesMetaData getResources()
+   {
+      return resources;
+   }
+   public void setResources(ResourcesMetaData resources)
+   {
+      this.resources = resources;
+   }
+   
+   @XmlElement(name = "SessionCookie")
+   public SessionCookieMetaData getSessionCookie()
+   {
+      return sessionCookie;
+   }
+   public void setSessionCookie(SessionCookieMetaData sessionCookie)
+   {
+      this.sessionCookie = sessionCookie;
+   }
+   
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/EngineMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/EngineMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/EngineMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,114 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class EngineMetaData
+{
+   private String name;
+   private String jvmRoute;
+   private String defaultHost;
+   private List<HostMetaData> hosts;
+   private List<ListenerMetaData> listeners;
+   private List<ValveMetaData> valves;
+   private RealmMetaData realm;
+   // FIXME: add any attribute map
+
+   @XmlAttribute(name = "name")
+   public String getName()
+   {
+      return name;
+   }
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   @XmlAttribute(name = "jvmRoute")
+   public String getJvmRoute()
+   {
+      return jvmRoute;
+   }
+   public void setJvmRoute(String jvmRoute)
+   {
+      this.jvmRoute = jvmRoute;
+   }
+   
+   @XmlAttribute(name = "defaultHost")
+   public String getDefaultHost()
+   {
+      return defaultHost;
+   }
+   public void setDefaultHost(String defaultHost)
+   {
+      this.defaultHost = defaultHost;
+   }
+   
+   @XmlElement(name = "Host")
+   public List<HostMetaData> getHosts()
+   {
+      return hosts;
+   }
+   public void setHosts(List<HostMetaData> hosts)
+   {
+      this.hosts = hosts;
+   }
+
+   @XmlElement(name = "Listener")
+   public List<ListenerMetaData> getListeners()
+   {
+      return listeners;
+   }
+   public void setListeners(List<ListenerMetaData> listeners)
+   {
+      this.listeners = listeners;
+   }
+
+   @XmlElement(name = "Realm")
+   public RealmMetaData getRealm()
+   {
+      return realm;
+   }
+   public void setRealm(RealmMetaData realm)
+   {
+      this.realm = realm;
+   }
+   
+   @XmlElement(name = "Valve")
+   public List<ValveMetaData> getValves()
+   {
+      return valves;
+   }
+   public void setValves(List<ValveMetaData> valves)
+   {
+      this.valves = valves;
+   }
+
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ExecutorMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ExecutorMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ExecutorMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ExecutorMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/HostMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/HostMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/HostMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,169 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class HostMetaData
+{
+   private String name;
+   private String appBase;
+   private String unpackWars;
+   private boolean autoDeploy;
+   private boolean liveDeploy;
+   private boolean xmlValidation;
+   private boolean xmlNamespaceAware;
+   private List<ListenerMetaData> listeners;
+   private List<ValveMetaData> valves;
+   private List<ContextMetaData> contexts;
+   private RealmMetaData realm;
+   private List<String> aliases;
+   // FIXME: add any attribute map
+   
+   @XmlAttribute(name = "name")
+   public String getName()
+   {
+      return name;
+   }
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   @XmlAttribute(name = "appBase")
+   public String getAppBase()
+   {
+      return appBase;
+   }
+   public void setAppBase(String appBase)
+   {
+      this.appBase = appBase;
+   }
+   
+   @XmlAttribute(name = "unpackWARs")
+   public String getUnpackWars()
+   {
+      return unpackWars;
+   }
+   public void setUnpackWars(String unpackWars)
+   {
+      this.unpackWars = unpackWars;
+   }
+   
+   @XmlAttribute(name = "autoDeploy")
+   public boolean isAutoDeploy()
+   {
+      return autoDeploy;
+   }
+   public void setAutoDeploy(boolean autoDeploy)
+   {
+      this.autoDeploy = autoDeploy;
+   }
+   
+   @XmlAttribute(name = "liveDeploy")
+   public boolean isLiveDeploy()
+   {
+      return liveDeploy;
+   }
+   public void setLiveDeploy(boolean liveDeploy)
+   {
+      this.liveDeploy = liveDeploy;
+   }
+   
+   @XmlAttribute(name = "xmlValidation")
+   public boolean isXmlValidation()
+   {
+      return xmlValidation;
+   }
+   public void setXmlValidation(boolean xmlValidation)
+   {
+      this.xmlValidation = xmlValidation;
+   }
+   
+   @XmlAttribute(name = "xmlNamespaceAware")
+   public boolean isXmlNamespaceAware()
+   {
+      return xmlNamespaceAware;
+   }
+   public void setXmlNamespaceAware(boolean xmlNamespaceAware)
+   {
+      this.xmlNamespaceAware = xmlNamespaceAware;
+   }
+
+   @XmlElement(name = "Alias")
+   public List<String> getAliases()
+   {
+      return aliases;
+   }
+   public void setAliases(List<String> aliases)
+   {
+      this.aliases = aliases;
+   }
+
+   @XmlElement(name = "Context")
+   public List<ContextMetaData> getContexts()
+   {
+      return contexts;
+   }
+   public void setContexts(List<ContextMetaData> contexts)
+   {
+      this.contexts = contexts;
+   }
+
+   @XmlElement(name = "Listener")
+   public List<ListenerMetaData> getListeners()
+   {
+      return listeners;
+   }
+   public void setListeners(List<ListenerMetaData> listeners)
+   {
+      this.listeners = listeners;
+   }
+
+   @XmlElement(name = "Realm")
+   public RealmMetaData getRealm()
+   {
+      return realm;
+   }
+   public void setRealm(RealmMetaData realm)
+   {
+      this.realm = realm;
+   }
+   
+   @XmlElement(name = "Valve")
+   public List<ValveMetaData> getValves()
+   {
+      return valves;
+   }
+   public void setValves(List<ValveMetaData> valves)
+   {
+      this.valves = valves;
+   }
+
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ListenerMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ListenerMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ListenerMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ListenerMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/LoaderMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/LoaderMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/LoaderMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class LoaderMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ManagerMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ParameterMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ParameterMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ParameterMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ParameterMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/RealmMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/RealmMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/RealmMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class RealmMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ResourcesMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ResourcesMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ResourcesMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ResourcesMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServerMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServerMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServerMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,70 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ServerMetaData
+{
+   private String name;
+   private List<ServiceMetaData> services;
+   private List<ListenerMetaData> listeners;
+   // FIXME: add any attribute map
+
+   @XmlAttribute(name = "name")
+   public String getName()
+   {
+      return name;
+   }
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   @XmlElement(name = "Service")
+   public List<ServiceMetaData> getServices()
+   {
+      return services;
+   }
+   public void setServices(List<ServiceMetaData> services)
+   {
+      this.services = services;
+   }
+
+   @XmlElement(name = "Listener")
+   public List<ListenerMetaData> getListeners()
+   {
+      return listeners;
+   }
+   public void setListeners(List<ListenerMetaData> listeners)
+   {
+      this.listeners = listeners;
+   }
+
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServiceMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServiceMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ServiceMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ServiceMetaData
+{
+   private String name;
+   private EngineMetaData engine;
+   private ExecutorMetaData executor;
+   private List<ConnectorMetaData> connectors;
+   private List<ListenerMetaData> listeners;
+   // FIXME: add any attribute map
+
+   @XmlAttribute(name = "name")
+   public String getName()
+   {
+      return name;
+   }
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   @XmlElement(name = "Engine")
+   public EngineMetaData getEngine()
+   {
+      return engine;
+   }
+   public void setEngine(EngineMetaData engine)
+   {
+      this.engine = engine;
+   }
+
+   @XmlElement(name = "Executor")
+   public ExecutorMetaData getExecutor()
+   {
+      return executor;
+   }
+   public void setExecutor(ExecutorMetaData executor)
+   {
+      this.executor = executor;
+   }
+
+   @XmlElement(name = "Connector")
+   public List<ConnectorMetaData> getConnectors()
+   {
+      return connectors;
+   }
+   public void setConnectors(List<ConnectorMetaData> connectors)
+   {
+      this.connectors = connectors;
+   }
+
+   @XmlElement(name = "Listener")
+   public List<ListenerMetaData> getListeners()
+   {
+      return listeners;
+   }
+   public void setListeners(List<ListenerMetaData> listeners)
+   {
+      this.listeners = listeners;
+   }
+
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/SessionCookieMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/SessionCookieMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/SessionCookieMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class SessionCookieMetaData
+{
+   // FIXME: add any attribute map
+}

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ValveMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ValveMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ValveMetaData.java	2008-10-08 10:35:02 UTC (rev 79261)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.web.tomcat.metadata;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class ValveMetaData
+{
+   // FIXME: add any attribute map
+}




More information about the jboss-cvs-commits mailing list