[jboss-cvs] JBossAS SVN: r108789 - projects/metadata/ejb/branches/infinispan-int/src/main/java/org/jboss/metadata/ejb/jboss.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 22 09:15:20 EDT 2010


Author: smarlow at redhat.com
Date: 2010-10-22 09:15:20 -0400 (Fri, 22 Oct 2010)
New Revision: 108789

Added:
   projects/metadata/ejb/branches/infinispan-int/src/main/java/org/jboss/metadata/ejb/jboss/CachePropertyMetaData.java
Log:


Added: projects/metadata/ejb/branches/infinispan-int/src/main/java/org/jboss/metadata/ejb/jboss/CachePropertyMetaData.java
===================================================================
--- projects/metadata/ejb/branches/infinispan-int/src/main/java/org/jboss/metadata/ejb/jboss/CachePropertyMetaData.java	                        (rev 0)
+++ projects/metadata/ejb/branches/infinispan-int/src/main/java/org/jboss/metadata/ejb/jboss/CachePropertyMetaData.java	2010-10-22 13:15:20 UTC (rev 108789)
@@ -0,0 +1,71 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.metadata.ejb.jboss;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * Represents an <cache-propertyType> element of the jboss.xml deployment descriptor
+ *
+ */
+ at XmlType(name="cache-propertyType", propOrder={"name", "value"})
+public class CachePropertyMetaData
+{
+   private String name = null;
+   private String value = null;
+
+
+   public String getValue()
+   {
+      return value;
+   }
+
+   @XmlElement(name="value")
+   public void setValue(String value)
+   {
+      this.value = value;
+   }
+
+   public String getName()
+   {
+      return name;
+   }
+
+   @XmlElement(name="name")
+   public void setName(String name)
+   {
+      this.name = name;
+      
+   }
+
+   public String toString()
+   {
+      StringBuffer sb = new StringBuffer(100);
+      sb.append("[");
+      sb.append("cacheValue=").append(value);
+      sb.append(", name=").append(name);
+      sb.append("]");
+      return sb.toString();
+   }
+
+}


Property changes on: projects/metadata/ejb/branches/infinispan-int/src/main/java/org/jboss/metadata/ejb/jboss/CachePropertyMetaData.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF



More information about the jboss-cvs-commits mailing list