[jboss-cvs] JBossAS SVN: r93928 - trunk/tomcat/src/main/org/jboss/web/tomcat/metadata.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 22 13:09:53 EDT 2009


Author: remy.maucherat at jboss.com
Date: 2009-09-22 13:09:53 -0400 (Tue, 22 Sep 2009)
New Revision: 93928

Added:
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/StoreMetaData.java
Modified:
   trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java
Log:
- Add the Store element. JF asked for it some time ago.

Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java	2009-09-22 16:51:18 UTC (rev 93927)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/ManagerMetaData.java	2009-09-22 17:09:53 UTC (rev 93928)
@@ -21,11 +21,25 @@
  */
 package org.jboss.web.tomcat.metadata;
 
+import javax.xml.bind.annotation.XmlElement;
 
+
 /**
  * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
  * @version $Revision$
  */
 public class ManagerMetaData extends AnyXmlMetaData
 {
+   private StoreMetaData store;
+
+   public StoreMetaData getStore()
+   {
+      return store;
+   }
+   @XmlElement(name = "Store")
+   public void setStore(StoreMetaData store)
+   {
+      this.store = store;
+   }
+   
 }

Added: trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/StoreMetaData.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/StoreMetaData.java	                        (rev 0)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/metadata/StoreMetaData.java	2009-09-22 17:09:53 UTC (rev 93928)
@@ -0,0 +1,31 @@
+/*
+ * 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;
+
+
+/**
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision: 82920 $
+ */
+public class StoreMetaData extends AnyXmlMetaData
+{
+}




More information about the jboss-cvs-commits mailing list