[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Thu Jul 19 07:30:28 EDT 2007
User: gavin
Date: 07/07/19 07:30:28
Modified: src/main/org/jboss/seam/core Init.java
Log:
try to use the standard approach to lookup UT
Revision Changes Path
1.53 +1 -31 jboss-seam/src/main/org/jboss/seam/core/Init.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Init.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Init.java,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- Init.java 19 Jul 2007 07:32:27 -0000 1.52
+++ Init.java 19 Jul 2007 11:30:28 -0000 1.53
@@ -1,4 +1,4 @@
-//$Id: Init.java,v 1.52 2007/07/19 07:32:27 gavin Exp $
+//$Id: Init.java,v 1.53 2007/07/19 11:30:28 gavin Exp $
package org.jboss.seam.core;
@@ -18,7 +18,6 @@
import org.jboss.seam.Component;
import org.jboss.seam.Namespace;
import org.jboss.seam.ScopeType;
-import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
@@ -26,7 +25,6 @@
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.core.Expressions.MethodExpression;
import org.jboss.seam.core.Expressions.ValueExpression;
-import org.jboss.seam.transaction.Transaction;
/**
* A Seam component that holds Seam configuration settings
@@ -49,8 +47,6 @@
private String jndiPattern;
private boolean debug;
private boolean myFacesLifecycleBug;
- private String userTransactionName;
- //private String transactionManagerName;
private boolean transactionManagementEnabled = true;
private Map<String, List<ObserverMethod>> observerMethods = new HashMap<String, List<ObserverMethod>>();
@@ -72,19 +68,6 @@
private long timestamp;
private File[] hotDeployPaths;
- @Create
- public void create()
- {
- /*if (transactionManagerName!=null)
- {
- Transactions.setTransactionManagerName(transactionManagerName);
- }*/
- if (userTransactionName!=null)
- {
- Transaction.setUserTransactionName(userTransactionName);
- }
- }
-
public static Init instance()
{
if ( !Contexts.isApplicationContextActive() )
@@ -340,19 +323,6 @@
this.jbpmInstalled = jbpmInstalled;
}
- /**
- * The JNDI name of the JTA UserTransaction
- */
- public String getUserTransactionName()
- {
- return userTransactionName;
- }
-
- public void setUserTransactionName(String userTransactionName)
- {
- this.userTransactionName = userTransactionName;
- }
-
public boolean isAutocreateVariable(String name)
{
return autocreateVariables.contains(name);
More information about the jboss-cvs-commits
mailing list