[jboss-cvs] JBossAS SVN: r75598 - trunk/connector/src/main/org/jboss/resource/metadata.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 10 06:20:40 EDT 2008


Author: vicky.kak at jboss.com
Date: 2008-07-10 06:20:40 -0400 (Thu, 10 Jul 2008)
New Revision: 75598

Added:
   trunk/connector/src/main/org/jboss/resource/metadata/DependsMetaData.java
Log:
[JBAS-4508] Add a way to define dependencies for a JCA adapter.

Added: trunk/connector/src/main/org/jboss/resource/metadata/DependsMetaData.java
===================================================================
--- trunk/connector/src/main/org/jboss/resource/metadata/DependsMetaData.java	                        (rev 0)
+++ trunk/connector/src/main/org/jboss/resource/metadata/DependsMetaData.java	2008-07-10 10:20:40 UTC (rev 75598)
@@ -0,0 +1,67 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.resource.metadata;
+
+import java.io.Serializable;
+
+/**
+ * Description meta data
+ *
+ * @author <a href="mailto:vicky.kak at jboss.com">Vicky Kak</a>
+ * 
+ */
+public class DependsMetaData implements Serializable
+{
+
+   /** The dependsName */
+   private String dependsName;
+   
+   
+   /**
+    * Get the dependsName
+    * 
+    * @return the dependsName
+    */
+   public String getDependsName()
+   {
+      return dependsName;
+   }
+
+   /**
+    * Set the dependsName
+    * 
+    * @param dependsName the dependsName
+    */
+   public void setDependsName(String dependsName)
+   {
+      this.dependsName = dependsName;
+   }
+   
+   public String toString()
+   {
+      StringBuffer buffer = new StringBuffer();
+      buffer.append("DescriptionMetaData").append('@');
+      buffer.append(Integer.toHexString(System.identityHashCode(this)));
+      buffer.append("[dependsName=").append(dependsName);      
+      return buffer.toString();
+   }
+}




More information about the jboss-cvs-commits mailing list