[jboss-cvs] JBossAS SVN: r112161 - projects/jboss-jca/branches/Branch_1_0/common/src/main/java/org/jboss/jca/common/api/metadata.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Aug 30 08:53:02 EDT 2011
Author: maeste
Date: 2011-08-30 08:53:02 -0400 (Tue, 30 Aug 2011)
New Revision: 112161
Modified:
projects/jboss-jca/branches/Branch_1_0/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java
Log:
fixing USE_JAVA_CONTEXT value and formatting
Modified: projects/jboss-jca/branches/Branch_1_0/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java
===================================================================
--- projects/jboss-jca/branches/Branch_1_0/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java 2011-08-30 10:41:20 UTC (rev 112160)
+++ projects/jboss-jca/branches/Branch_1_0/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java 2011-08-30 12:53:02 UTC (rev 112161)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2011, Red Hat, Inc., and individual contributors
+ * 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.
*
@@ -30,130 +30,129 @@
*
* @author <a href="jesper.pedersen at jboss.org">Jesper Pedersen</a>
*/
-public interface Defaults {
+public interface Defaults
+{
- //DATASOURCE
+ //DATASOURCE
- /**
- * Use Java context
- */
- public static final Boolean USE_JAVA_CONTEXT = Boolean.FALSE;
-
- /**
- * Use Java context
+ /**
+ * Use Java context
*/
- public static final Boolean ENABLED = Boolean.TRUE;
+ public static final Boolean USE_JAVA_CONTEXT = Boolean.TRUE;
- /**
- * SPY
- */
- public static final Boolean SPY = Boolean.FALSE;
+ /**
+ * Use Java context
+ */
+ public static final Boolean ENABLED = Boolean.TRUE;
- /**
- * Use ccm
- */
- public static final Boolean USE_CCM = Boolean.TRUE;
+ /**
+ * SPY
+ */
+ public static final Boolean SPY = Boolean.FALSE;
- /**
- * JTA
- */
- public static final boolean JTA = Boolean.TRUE;
+ /**
+ * Use ccm
+ */
+ public static final Boolean USE_CCM = Boolean.TRUE;
+ /**
+ * JTA
+ */
+ public static final boolean JTA = Boolean.TRUE;
+ // POOL
- // POOL
+ /**
+ * Min pool size
+ */
+ public static final Integer MIN_POOL_SIZE = Integer.valueOf(0);
- /**
- * Min pool size
- */
- public static final Integer MIN_POOL_SIZE = Integer.valueOf(0);
+ /**
+ * Max pool size
+ */
+ public static final Integer MAX_POOL_SIZE = Integer.valueOf(20);
- /**
- * Max pool size
- */
- public static final Integer MAX_POOL_SIZE = Integer.valueOf(20);
+ /**
+ * Prefill
+ */
+ public static final Boolean PREFILL = Boolean.FALSE;
- /**
- * Prefill
- */
- public static final Boolean PREFILL = Boolean.FALSE;
+ /**
+ * Use strict min
+ */
+ public static final Boolean USE_STRICT_MIN = Boolean.FALSE;
- /**
- * Use strict min
- */
- public static final Boolean USE_STRICT_MIN = Boolean.FALSE;
+ /**
+ * Flush strategy
+ */
+ public static final FlushStrategy FLUSH_STRATEGY = FlushStrategy.FAILING_CONNECTION_ONLY;
- /**
- * Flush strategy
- */
- public static final FlushStrategy FLUSH_STRATEGY = FlushStrategy.FAILING_CONNECTION_ONLY;
+ /**
+ * Interleaving
+ */
+ public static final Boolean INTERLEAVING = Boolean.FALSE;
- /**
- * Interleaving
- */
- public static final Boolean INTERLEAVING = Boolean.FALSE;
+ /**
+ * Is same rm override
+ */
+ public static final Boolean IS_SAME_RM_OVERRIDE = Boolean.FALSE;
- /**
- * Is same rm override
- */
- public static final Boolean IS_SAME_RM_OVERRIDE = Boolean.FALSE;
+ /**
+ * Pad Xid
+ */
+ public static final Boolean PAD_XID = Boolean.FALSE;
- /**
- * Pad Xid
- */
- public static final Boolean PAD_XID = Boolean.FALSE;
+ /**
+ * No tx separate pool
+ */
+ public static final Boolean NO_TX_SEPARATE_POOL = Boolean.FALSE;
- /**
- * No tx separate pool
- */
- public static final Boolean NO_TX_SEPARATE_POOL = Boolean.FALSE;
+ /**
+ * Wrap XAResource
+ */
+ public static final Boolean WRAP_XA_RESOURCE = Boolean.TRUE;
- /**
- * Wrap XAResource
- */
- public static final Boolean WRAP_XA_RESOURCE = Boolean.TRUE;
+ //Statement
- //Statement
+ /**
+ * share prepared statement
+ */
+ public static final Boolean SHARE_PREPARED_STATEMENTS = Boolean.FALSE;
- /**
- * share prepared statement
- */
- public static final Boolean SHARE_PREPARED_STATEMENTS = Boolean.FALSE;
+ /**
+ * Track statements
+ */
+ public static final Statement.TrackStatementsEnum TRACK_STATEMENTS = Statement.TrackStatementsEnum.NOWARN;
- /**
- * Track statements
- */
- public static final Statement.TrackStatementsEnum TRACK_STATEMENTS = Statement.TrackStatementsEnum.NOWARN;
+ //timeout
+ /**
+ * SET TX QUERY TIMEOUT
+ */
+ public static final Boolean SET_TX_QUERY_TIMEOUT = Boolean.FALSE;
- //timeout
+ //Validation
- /**
- * SET TX QUERY TIMEOUT
- */
- public static final Boolean SET_TX_QUERY_TIMEOUT = Boolean.FALSE;
+ /**
+ * Background validation
+ */
+ public static final Boolean BACKGROUND_VALIDATION = Boolean.FALSE;
- //Validation
+ /**
+ * Use fast fail
+ */
+ public static final Boolean USE_FAST_FAIl = Boolean.FALSE;
- /**
- * Background validation
- */
- public static final Boolean BACKGROUND_VALIDATION = Boolean.FALSE ;
- /**
- * Use fast fail
- */
- public static final Boolean USE_FAST_FAIl = Boolean.FALSE ;
+ /**
+ * Validate on match
+ */
+ public static final Boolean VALIDATE_ON_MATCH = Boolean.FALSE;
- /**
- * Validate on match
- */
- public static final Boolean VALIDATE_ON_MATCH = Boolean.FALSE ;
+ //Security
- //Security
+ /**
+ * application managed security
+ */
+ public static final Boolean APPLICATION_MANAGED_SECURITY = Boolean.FALSE;
- /**
- * application managed security
- */
- public static final Boolean APPLICATION_MANAGED_SECURITY = Boolean.FALSE;
-
}
More information about the jboss-cvs-commits
mailing list