[jboss-cvs] JBossAS SVN: r100674 - projects/jboss-jca/trunk/deployers/src/main/java/org/jboss/jca/deployers/common/validator.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Feb 7 20:37:59 EST 2010
Author: jeff.zhang
Date: 2010-02-07 20:37:58 -0500 (Sun, 07 Feb 2010)
New Revision: 100674
Modified:
projects/jboss-jca/trunk/deployers/src/main/java/org/jboss/jca/deployers/common/validator/ValidateClass.java
Log:
ValidateClass.java dos2unix
Modified: projects/jboss-jca/trunk/deployers/src/main/java/org/jboss/jca/deployers/common/validator/ValidateClass.java
===================================================================
--- projects/jboss-jca/trunk/deployers/src/main/java/org/jboss/jca/deployers/common/validator/ValidateClass.java 2010-02-08 01:36:46 UTC (rev 100673)
+++ projects/jboss-jca/trunk/deployers/src/main/java/org/jboss/jca/deployers/common/validator/ValidateClass.java 2010-02-08 01:37:58 UTC (rev 100674)
@@ -1,94 +1,94 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, 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.jca.deployers.common.validator;
-
-import java.util.List;
-
-import org.jboss.metadata.rar.spec.ConfigPropertyMetaData;
-
-/**
- * ValidateClass for objects that should be validated
- */
-public class ValidateClass implements Validate
-{
- /** Key */
- private int key;
-
- /** config-property */
- private List<ConfigPropertyMetaData> configProperties;
-
- /** Clazz */
- private Class<?> clazz;
-
- /**
- * Constructor
- * @param key The key
- * @param clazz The class
- */
- public ValidateClass(int key,
- Class<?> clazz)
- {
- this(key, clazz, null);
- }
-
- /**
- * Constructor
- * @param key The key
- * @param clazz The class
- * @param configProperties The list of config property metadata
- */
- public ValidateClass(int key,
- Class<?> clazz,
- List<ConfigPropertyMetaData> configProperties)
- {
- this.key = key;
- this.clazz = clazz;
- this.configProperties = configProperties;
- }
-
- /**
- * Get the key
- * @return The key
- */
- public int getKey()
- {
- return key;
- }
-
- /**
- * Get the clazz
- * @return The clazz
- */
- public Class<?> getClazz()
- {
- return clazz;
- }
-
- /**
- * Get the list of config properties
- * @return The list
- */
- public List<ConfigPropertyMetaData> getConfigProperties()
- {
- return configProperties;
- }
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, 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.jca.deployers.common.validator;
+
+import java.util.List;
+
+import org.jboss.metadata.rar.spec.ConfigPropertyMetaData;
+
+/**
+ * ValidateClass for objects that should be validated
+ */
+public class ValidateClass implements Validate
+{
+ /** Key */
+ private int key;
+
+ /** config-property */
+ private List<ConfigPropertyMetaData> configProperties;
+
+ /** Clazz */
+ private Class<?> clazz;
+
+ /**
+ * Constructor
+ * @param key The key
+ * @param clazz The class
+ */
+ public ValidateClass(int key,
+ Class<?> clazz)
+ {
+ this(key, clazz, null);
+ }
+
+ /**
+ * Constructor
+ * @param key The key
+ * @param clazz The class
+ * @param configProperties The list of config property metadata
+ */
+ public ValidateClass(int key,
+ Class<?> clazz,
+ List<ConfigPropertyMetaData> configProperties)
+ {
+ this.key = key;
+ this.clazz = clazz;
+ this.configProperties = configProperties;
+ }
+
+ /**
+ * Get the key
+ * @return The key
+ */
+ public int getKey()
+ {
+ return key;
+ }
+
+ /**
+ * Get the clazz
+ * @return The clazz
+ */
+ public Class<?> getClazz()
+ {
+ return clazz;
+ }
+
+ /**
+ * Get the list of config properties
+ * @return The list
+ */
+ public List<ConfigPropertyMetaData> getConfigProperties()
+ {
+ return configProperties;
+ }
+}
More information about the jboss-cvs-commits
mailing list