[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Thu Nov 16 21:35:45 EST 2006
User: gavin
Date: 06/11/16 21:35:45
Modified: src/main/org/jboss/seam/core
BusinessProcess.java Conversation.java
ConversationEntries.java Events.java
Exceptions.java Expressions.java FacesMessages.java
FacesPage.java Init.java Locale.java
LocaleSelector.java ManagedJbpmContext.java
Manager.java Pageflow.java Pages.java
PojoCache.java ProcessInstance.java Redirect.java
SafeActions.java TaskInstance.java TimeZone.java
TimeZoneSelector.java Transition.java
UserPrincipal.java Validation.java
Log:
auto-create JBSEAM-385
Revision Changes Path
1.10 +1 -1 jboss-seam/src/main/org/jboss/seam/core/BusinessProcess.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BusinessProcess.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/BusinessProcess.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- BusinessProcess.java 16 Nov 2006 17:25:04 -0000 1.9
+++ BusinessProcess.java 17 Nov 2006 02:35:45 -0000 1.10
@@ -38,7 +38,7 @@
{
throw new IllegalStateException("No active conversation context");
}
- return (BusinessProcess) Component.getInstance(BusinessProcess.class, ScopeType.CONVERSATION, true);
+ return (BusinessProcess) Component.getInstance(BusinessProcess.class, ScopeType.CONVERSATION);
}
/**
1.28 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Conversation.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Conversation.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Conversation.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- Conversation.java 16 Nov 2006 22:58:13 -0000 1.27
+++ Conversation.java 17 Nov 2006 02:35:45 -0000 1.28
@@ -97,7 +97,7 @@
{
throw new IllegalStateException("No active conversation context");
}
- return (Conversation) Component.getInstance(Conversation.class, ScopeType.CONVERSATION, true);
+ return (Conversation) Component.getInstance(Conversation.class, ScopeType.CONVERSATION);
}
void flush()
1.3 +1 -1 jboss-seam/src/main/org/jboss/seam/core/ConversationEntries.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConversationEntries.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ConversationEntries.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ConversationEntries.java 25 Oct 2006 15:14:35 -0000 1.2
+++ ConversationEntries.java 17 Nov 2006 02:35:45 -0000 1.3
@@ -84,7 +84,7 @@
{
throw new IllegalStateException("No session context active");
}
- return (ConversationEntries) Component.getInstance(ConversationEntries.class, ScopeType.SESSION, true);
+ return (ConversationEntries) Component.getInstance(ConversationEntries.class, ScopeType.SESSION);
}
@Override
1.12 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Events.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Events.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Events.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- Events.java 16 Nov 2006 17:25:04 -0000 1.11
+++ Events.java 17 Nov 2006 02:35:45 -0000 1.12
@@ -150,7 +150,7 @@
{
throw new IllegalStateException("No active application context");
}
- return (Events) Component.getInstance(Events.class, ScopeType.APPLICATION, true);
+ return (Events) Component.getInstance(Events.class, ScopeType.APPLICATION);
}
}
1.13 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Exceptions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Exceptions.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Exceptions.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Exceptions.java 15 Nov 2006 06:55:47 -0000 1.12
+++ Exceptions.java 17 Nov 2006 02:35:45 -0000 1.13
@@ -475,7 +475,7 @@
{
throw new IllegalStateException("No active application context");
}
- return (Exceptions) Component.getInstance(Exceptions.class, ScopeType.APPLICATION, true);
+ return (Exceptions) Component.getInstance(Exceptions.class, ScopeType.APPLICATION);
}
1.11 +2 -2 jboss-seam/src/main/org/jboss/seam/core/Expressions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Expressions.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Expressions.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- Expressions.java 17 Nov 2006 02:01:39 -0000 1.10
+++ Expressions.java 17 Nov 2006 02:35:45 -0000 1.11
@@ -1,4 +1,4 @@
-//$Id: Expressions.java,v 1.10 2006/11/17 02:01:39 gavin Exp $
+//$Id: Expressions.java,v 1.11 2006/11/17 02:35:45 gavin Exp $
package org.jboss.seam.core;
import static org.jboss.seam.InterceptionType.NEVER;
@@ -144,7 +144,7 @@
public static Expressions instance()
{
- return (Expressions) Component.getInstance(Expressions.class, ScopeType.APPLICATION, true);
+ return (Expressions) Component.getInstance(Expressions.class, ScopeType.APPLICATION);
}
}
1.23 +1 -1 jboss-seam/src/main/org/jboss/seam/core/FacesMessages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FacesMessages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/FacesMessages.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- FacesMessages.java 16 Nov 2006 17:25:04 -0000 1.22
+++ FacesMessages.java 17 Nov 2006 02:35:45 -0000 1.23
@@ -164,7 +164,7 @@
{
throw new IllegalStateException("No active conversation context");
}
- return (FacesMessages) Component.getInstance(FacesMessages.class, ScopeType.CONVERSATION, true);
+ return (FacesMessages) Component.getInstance(FacesMessages.class, ScopeType.CONVERSATION);
}
/**
1.4 +1 -1 jboss-seam/src/main/org/jboss/seam/core/FacesPage.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FacesPage.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/FacesPage.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- FacesPage.java 16 Nov 2006 15:33:21 -0000 1.3
+++ FacesPage.java 17 Nov 2006 02:35:45 -0000 1.4
@@ -82,7 +82,7 @@
{
throw new IllegalStateException("No page context active");
}
- return (FacesPage) Component.getInstance(FacesPage.class, ScopeType.PAGE, true);
+ return (FacesPage) Component.getInstance(FacesPage.class, ScopeType.PAGE);
}
public boolean isConversationLongRunning()
1.30 +15 -1 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.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- Init.java 17 Nov 2006 02:01:39 -0000 1.29
+++ Init.java 17 Nov 2006 02:35:45 -0000 1.30
@@ -1,4 +1,4 @@
-//$Id: Init.java,v 1.29 2006/11/17 02:01:39 gavin Exp $
+//$Id: Init.java,v 1.30 2006/11/17 02:35:45 gavin Exp $
package org.jboss.seam.core;
@@ -7,8 +7,10 @@
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.List;
import java.util.Map;
+import java.util.Set;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
@@ -45,6 +47,8 @@
private Map<String, FactoryBinding> factoryMethodBindings = new HashMap<String, FactoryBinding>();
private Map<String, FactoryBinding> factoryValueBindings = new HashMap<String, FactoryBinding>();
+ private Set<String> autocreateVariables = new HashSet<String>();
+
@Create
public void create()
{
@@ -270,4 +274,14 @@
this.userTransactionName = userTransactionName;
}
+ public boolean isAutocreateVariable(String name)
+ {
+ return autocreateVariables.contains(name);
+ }
+
+ public void addAutocreateVariable(String name)
+ {
+ autocreateVariables.add(name);
+ }
+
}
1.4 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Locale.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Locale.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Locale.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Locale.java 16 Nov 2006 17:25:04 -0000 1.3
+++ Locale.java 17 Nov 2006 02:35:45 -0000 1.4
@@ -27,7 +27,7 @@
public static java.util.Locale instance()
{
- return (java.util.Locale) Component.getInstance(Locale.class, ScopeType.STATELESS, true);
+ return (java.util.Locale) Component.getInstance(Locale.class, ScopeType.STATELESS);
}
}
1.14 +1 -1 jboss-seam/src/main/org/jboss/seam/core/LocaleSelector.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocaleSelector.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/LocaleSelector.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- LocaleSelector.java 16 Nov 2006 17:25:04 -0000 1.13
+++ LocaleSelector.java 17 Nov 2006 02:35:45 -0000 1.14
@@ -162,7 +162,7 @@
{
throw new IllegalStateException("No active session context");
}
- return (LocaleSelector) Component.getInstance(LocaleSelector.class, ScopeType.SESSION, true);
+ return (LocaleSelector) Component.getInstance(LocaleSelector.class, ScopeType.SESSION);
}
public String getCountry() {
1.17 +2 -2 jboss-seam/src/main/org/jboss/seam/core/ManagedJbpmContext.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ManagedJbpmContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ManagedJbpmContext.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- ManagedJbpmContext.java 16 Nov 2006 17:25:04 -0000 1.16
+++ ManagedJbpmContext.java 17 Nov 2006 02:35:45 -0000 1.17
@@ -34,7 +34,7 @@
* Manages a reference to a JbpmSession.
*
* @author <a href="mailto:steve at hibernate.org">Steve Ebersole </a>
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
*/
@Scope(ScopeType.EVENT)
@Name("org.jboss.seam.core.jbpmContext")
@@ -112,7 +112,7 @@
{
throw new IllegalStateException("no active event context");
}
- return (JbpmContext) Component.getInstance(ManagedJbpmContext.class, ScopeType.EVENT, true);
+ return (JbpmContext) Component.getInstance(ManagedJbpmContext.class, ScopeType.EVENT);
}
}
1.116 +2 -2 jboss-seam/src/main/org/jboss/seam/core/Manager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Manager.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Manager.java,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -b -r1.115 -r1.116
--- Manager.java 16 Nov 2006 22:58:13 -0000 1.115
+++ Manager.java 17 Nov 2006 02:35:45 -0000 1.116
@@ -40,7 +40,7 @@
*
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.115 $
+ * @version $Revision: 1.116 $
*/
@Scope(ScopeType.EVENT)
@Name("org.jboss.seam.core.manager")
@@ -239,7 +239,7 @@
{
throw new IllegalStateException("No active event context");
}
- Manager instance = (Manager) Component.getInstance(Manager.class, ScopeType.EVENT, true);
+ Manager instance = (Manager) Component.getInstance(Manager.class, ScopeType.EVENT);
if (instance==null)
{
throw new IllegalStateException("No Manager could be created, make sure the Component exists in application scope");
1.42 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Pageflow.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pageflow.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Pageflow.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- Pageflow.java 16 Nov 2006 17:25:04 -0000 1.41
+++ Pageflow.java 17 Nov 2006 02:35:45 -0000 1.42
@@ -68,7 +68,7 @@
{
throw new IllegalStateException("No active conversation context");
}
- return (Pageflow) Component.getInstance(Pageflow.class, ScopeType.CONVERSATION, true);
+ return (Pageflow) Component.getInstance(Pageflow.class, ScopeType.CONVERSATION);
}
public int getPageflowCounter()
1.50 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Pages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Pages.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- Pages.java 16 Nov 2006 23:18:20 -0000 1.49
+++ Pages.java 17 Nov 2006 02:35:45 -0000 1.50
@@ -339,7 +339,7 @@
{
throw new IllegalStateException("No active application context");
}
- return (Pages) Component.getInstance(Pages.class, ScopeType.APPLICATION, true);
+ return (Pages) Component.getInstance(Pages.class, ScopeType.APPLICATION);
}
public static boolean callAction(FacesContext facesContext)
1.4 +2 -2 jboss-seam/src/main/org/jboss/seam/core/PojoCache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCache.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/PojoCache.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- PojoCache.java 16 Nov 2006 17:25:04 -0000 1.3
+++ PojoCache.java 17 Nov 2006 02:35:45 -0000 1.4
@@ -1,4 +1,4 @@
-//$Id: PojoCache.java,v 1.3 2006/11/16 17:25:04 gavin Exp $
+//$Id: PojoCache.java,v 1.4 2006/11/17 02:35:45 gavin Exp $
package org.jboss.seam.core;
import org.apache.commons.logging.Log;
@@ -66,7 +66,7 @@
{
throw new IllegalStateException("No active application scope");
}
- return (org.jboss.cache.aop.PojoCache) Component.getInstance(PojoCache.class, ScopeType.APPLICATION, true);
+ return (org.jboss.cache.aop.PojoCache) Component.getInstance(PojoCache.class, ScopeType.APPLICATION);
}
}
1.15 +2 -2 jboss-seam/src/main/org/jboss/seam/core/ProcessInstance.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ProcessInstance.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ProcessInstance.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- ProcessInstance.java 17 Nov 2006 02:01:39 -0000 1.14
+++ ProcessInstance.java 17 Nov 2006 02:35:45 -0000 1.15
@@ -21,7 +21,7 @@
* jBPM ProcessInstance.
*
* @author Gavin King
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
*/
@Scope(ScopeType.APPLICATION)
@Name("org.jboss.seam.core.processInstance")
@@ -65,6 +65,6 @@
{
throw new IllegalStateException("No active application context");
}
- return (org.jbpm.graph.exe.ProcessInstance) Component.getInstance(ProcessInstance.class, ScopeType.APPLICATION, true);
+ return (org.jbpm.graph.exe.ProcessInstance) Component.getInstance(ProcessInstance.class, ScopeType.APPLICATION);
}
}
1.8 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Redirect.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Redirect.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Redirect.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- Redirect.java 16 Nov 2006 17:25:04 -0000 1.7
+++ Redirect.java 17 Nov 2006 02:35:45 -0000 1.8
@@ -112,7 +112,7 @@
{
throw new IllegalStateException("No active conversation context");
}
- return (Redirect) Component.getInstance(Redirect.class, ScopeType.CONVERSATION, true);
+ return (Redirect) Component.getInstance(Redirect.class, ScopeType.CONVERSATION);
}
}
1.3 +1 -1 jboss-seam/src/main/org/jboss/seam/core/SafeActions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SafeActions.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/SafeActions.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SafeActions.java 18 Oct 2006 18:48:07 -0000 1.2
+++ SafeActions.java 17 Nov 2006 02:35:45 -0000 1.3
@@ -90,7 +90,7 @@
{
throw new IllegalStateException("No active application context");
}
- return (SafeActions) Component.getInstance(SafeActions.class, ScopeType.APPLICATION, true);
+ return (SafeActions) Component.getInstance(SafeActions.class, ScopeType.APPLICATION);
}
}
1.14 +2 -2 jboss-seam/src/main/org/jboss/seam/core/TaskInstance.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TaskInstance.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/TaskInstance.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- TaskInstance.java 17 Nov 2006 02:01:39 -0000 1.13
+++ TaskInstance.java 17 Nov 2006 02:35:45 -0000 1.14
@@ -21,7 +21,7 @@
* jBPM TaskInstance.
*
* @author Gavin King
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
*/
@Scope(ScopeType.APPLICATION)
@Name("org.jboss.seam.core.taskInstance")
@@ -64,7 +64,7 @@
{
throw new IllegalStateException("No active application context");
}
- return (org.jbpm.taskmgmt.exe.TaskInstance) Component.getInstance(TaskInstance.class, ScopeType.APPLICATION, true);
+ return (org.jbpm.taskmgmt.exe.TaskInstance) Component.getInstance(TaskInstance.class, ScopeType.APPLICATION);
}
}
1.5 +1 -1 jboss-seam/src/main/org/jboss/seam/core/TimeZone.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TimeZone.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/TimeZone.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- TimeZone.java 16 Nov 2006 17:25:04 -0000 1.4
+++ TimeZone.java 17 Nov 2006 02:35:45 -0000 1.5
@@ -27,7 +27,7 @@
public static java.util.TimeZone instance()
{
- return (java.util.TimeZone) Component.getInstance(TimeZone.class, ScopeType.STATELESS, true);
+ return (java.util.TimeZone) Component.getInstance(TimeZone.class, ScopeType.STATELESS);
}
}
1.3 +1 -1 jboss-seam/src/main/org/jboss/seam/core/TimeZoneSelector.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TimeZoneSelector.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/TimeZoneSelector.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- TimeZoneSelector.java 16 Nov 2006 17:25:04 -0000 1.2
+++ TimeZoneSelector.java 17 Nov 2006 02:35:45 -0000 1.3
@@ -89,7 +89,7 @@
{
throw new IllegalStateException("No active session context");
}
- return (TimeZoneSelector) Component.getInstance(TimeZoneSelector.class, ScopeType.SESSION, true );
+ return (TimeZoneSelector) Component.getInstance(TimeZoneSelector.class, ScopeType.SESSION);
}
public boolean isCookieEnabled()
1.7 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Transition.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Transition.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Transition.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Transition.java 16 Nov 2006 17:25:04 -0000 1.6
+++ Transition.java 17 Nov 2006 02:35:45 -0000 1.7
@@ -44,7 +44,7 @@
{
throw new IllegalStateException("No active application context");
}
- return (Transition) Component.getInstance(Transition.class, ScopeType.CONVERSATION, true);
+ return (Transition) Component.getInstance(Transition.class, ScopeType.CONVERSATION);
}
@Override
1.8 +1 -1 jboss-seam/src/main/org/jboss/seam/core/UserPrincipal.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UserPrincipal.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/UserPrincipal.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- UserPrincipal.java 17 Nov 2006 02:01:39 -0000 1.7
+++ UserPrincipal.java 17 Nov 2006 02:35:45 -0000 1.8
@@ -52,7 +52,7 @@
{
throw new IllegalStateException("No active application scope");
}
- return (Principal) Component.getInstance(UserPrincipal.class, ScopeType.APPLICATION, true);
+ return (Principal) Component.getInstance(UserPrincipal.class, ScopeType.APPLICATION);
}
}
1.3 +1 -1 jboss-seam/src/main/org/jboss/seam/core/Validation.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Validation.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Validation.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Validation.java 3 Nov 2006 00:02:50 -0000 1.2
+++ Validation.java 17 Nov 2006 02:35:45 -0000 1.3
@@ -73,7 +73,7 @@
{
throw new IllegalStateException("No active application scope");
}
- return (Validation) Component.getInstance(Validation.class, ScopeType.APPLICATION, true);
+ return (Validation) Component.getInstance(Validation.class, ScopeType.APPLICATION);
}
}
More information about the jboss-cvs-commits
mailing list