[seam-commits] Seam SVN: r10824 - in branches/community/Seam_2_1/src: main/org/jboss/seam and 11 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed May 6 21:58:37 EDT 2009
Author: norman.richards at jboss.com
Date: 2009-05-06 21:58:36 -0400 (Wed, 06 May 2009)
New Revision: 10824
Modified:
branches/community/Seam_2_1/src/ioc/org/jboss/seam/ioc/guice/Injector.java
branches/community/Seam_2_1/src/main/org/jboss/seam/Component.java
branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java
branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCacheProvider.java
branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/Contexts.java
branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/ServletLifecycle.java
branches/community/Seam_2_1/src/main/org/jboss/seam/core/Manager.java
branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/AbstractScanner.java
branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/ClassDescriptor.java
branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/DeploymentStrategy.java
branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/GroovyDeploymentHandler.java
branches/community/Seam_2_1/src/main/org/jboss/seam/drools/RuleBase.java
branches/community/Seam_2_1/src/main/org/jboss/seam/init/Initialization.java
branches/community/Seam_2_1/src/main/org/jboss/seam/mail/MailSession.java
branches/community/Seam_2_1/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java
branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/SeamListener.java
branches/community/Seam_2_1/src/wicket/org/jboss/seam/wicket/WicketComponent.java
Log:
JBSEAM-2232
Modified: branches/community/Seam_2_1/src/ioc/org/jboss/seam/ioc/guice/Injector.java
===================================================================
--- branches/community/Seam_2_1/src/ioc/org/jboss/seam/ioc/guice/Injector.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/ioc/org/jboss/seam/ioc/guice/Injector.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -46,7 +46,7 @@
throw new IllegalArgumentException("No Guice module specified.");
}
- log.info("Creating injector '" +
+ log.debug("Creating injector '" +
"'from modules: " + Arrays.toString(modules));
final List<Module> moduleList = getModuleList(modules);
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/Component.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/Component.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/Component.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -2014,7 +2014,7 @@
if (component==null)
{
//needed when this method is called by JSF
- if ( log.isDebugEnabled() ) log.debug("Seam component not found: " + name);
+ if ( log.isTraceEnabled() ) log.trace("Seam component not found: " + name);
}
else if ( component.getScope().isContextActive() )
{
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -138,7 +138,7 @@
}
catch (HibernateException he)
{
- log.info("could not set JNDI properties for jBPM persistence: " + he.getMessage());
+ log.warn("could not set JNDI properties for jBPM persistence: " + he.getMessage());
}
}
}
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCacheProvider.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCacheProvider.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCacheProvider.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -39,7 +39,7 @@
@Create
public void create()
{
- log.info("Starting JBoss Treecache 1.x");
+ log.debug("Starting JBoss Treecache 1.x");
try
{
@@ -58,7 +58,7 @@
@Destroy
public void destroy()
{
- log.info("Stopping JBoss Treecache 1.x");
+ log.debug("Stopping JBoss Treecache 1.x");
try
{
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/Contexts.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/Contexts.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/Contexts.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -159,7 +159,7 @@
Object result = getMethodContext().get(name);
if (result!=null)
{
- if ( log.isDebugEnabled() ) log.debug("found in method context: " + name);
+ if ( log.isTraceEnabled() ) log.trace("found in method context: " + name);
return result;
}
}
@@ -169,7 +169,7 @@
Object result = getEventContext().get(name);
if (result!=null)
{
- if ( log.isDebugEnabled() ) log.debug("found in event context: " + name);
+ if ( log.isTraceEnabled() ) log.trace("found in event context: " + name);
return result;
}
}
@@ -179,7 +179,7 @@
Object result = getPageContext().get(name);
if (result!=null)
{
- if ( log.isDebugEnabled() ) log.debug("found in page context: " + name);
+ if ( log.isTraceEnabled() ) log.trace("found in page context: " + name);
return result;
}
}
@@ -189,7 +189,7 @@
Object result = getConversationContext().get(name);
if (result!=null)
{
- if ( log.isDebugEnabled() ) log.debug("found in conversation context: " + name);
+ if ( log.isTraceEnabled() ) log.trace("found in conversation context: " + name);
return result;
}
}
@@ -199,7 +199,7 @@
Object result = getSessionContext().get(name);
if (result!=null)
{
- if ( log.isDebugEnabled() ) log.debug("found in session context: " + name);
+ if ( log.isTraceEnabled() ) log.trace("found in session context: " + name);
return result;
}
}
@@ -209,7 +209,7 @@
Object result = getBusinessProcessContext().get(name);
if (result!=null)
{
- if ( log.isDebugEnabled() ) log.debug("found in business process context: " + name);
+ if ( log.isTraceEnabled() ) log.trace("found in business process context: " + name);
return result;
}
}
@@ -219,7 +219,7 @@
Object result = getApplicationContext().get(name);
if (result!=null)
{
- if ( log.isDebugEnabled() ) log.debug("found in application context: " + name);
+ if ( log.isTraceEnabled() ) log.trace("found in application context: " + name);
return result;
}
}
@@ -300,7 +300,7 @@
if ( !component.getScope().getContext().isSet( component.getName() ) )
{
- log.info( "starting up: " + component.getName() );
+ log.debug( "starting up: " + component.getName() );
component.newInstance();
}
}
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/ServletLifecycle.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/ServletLifecycle.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/contexts/ServletLifecycle.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -130,7 +130,7 @@
// caching the classloader to servletContext
WeakReference<ClassLoader> ref = new WeakReference<ClassLoader>(Thread.currentThread().getContextClassLoader());
context.setAttribute("seam.context.classLoader",ref);
- log.info("Cached the context classloader in servletContext as 'seam.context.classLoader'");
+ log.debug("Cached the context classloader in servletContext as 'seam.context.classLoader'");
servletContext = context;
Lifecycle.beginApplication( new ServletApplicationMap(context) );
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/core/Manager.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/core/Manager.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/core/Manager.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -100,7 +100,7 @@
|| !getCurrentConversationIdStack().contains(
conversationEntry.getId()))
{
- log.info("Kill all other conversations, executed: kill conversation id = "
+ log.debug("Kill all other conversations, executed: kill conversation id = "
+ conversationEntry.getId());
boolean locked = conversationEntry.lockNoWait(); // we had better
@@ -412,7 +412,7 @@
// after we check the timeout - but in practice this would be extremely rare,
// and that request will get an IllegalMonitorStateException when it tries to
// unlock() the CE
- log.info("destroying conversation with garbage lock: " + conversationEntry.getId());
+ log.debug("destroying conversation with garbage lock: " + conversationEntry.getId());
}
if ( Events.exists() )
{
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/AbstractScanner.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/AbstractScanner.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/AbstractScanner.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -65,7 +65,7 @@
}
else
{
- log.info("skipping class " + name + " because it cannot be loaded (may reference a type which is not available on the classpath)");
+ log.debug("skipping class " + name + " because it cannot be loaded (may reference a type which is not available on the classpath)");
}
}
}
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/ClassDescriptor.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/ClassDescriptor.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/ClassDescriptor.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -32,7 +32,7 @@
}
catch (ClassNotFoundException cnfe)
{
- log.info("could not load class: " + classname, cnfe);
+ log.debug("could not load class: " + classname, cnfe);
}
catch (NoClassDefFoundError ncdfe)
{
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/DeploymentStrategy.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/DeploymentStrategy.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/DeploymentStrategy.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -98,12 +98,12 @@
Scanner scanner = instantiateScanner(className);
if (scanner != null)
{
- log.debug("Using " + scanner.toString());
+ log.trace("Using " + scanner.toString());
this.scanner = scanner;
return;
}
}
- log.debug("Using default URLScanner");
+ log.trace("Using default URLScanner");
this.scanner = new URLScanner(this);
}
@@ -167,7 +167,7 @@
DeploymentHandler deploymentHandler = instantiateDeploymentHandler(className);
if (deploymentHandler != null)
{
- log.debug("Adding " + deploymentHandler + " as a deployment handler");
+ log.trace("Adding " + deploymentHandler + " as a deployment handler");
deploymentHandlers.put(deploymentHandler.getName(), deploymentHandler);
}
}
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/GroovyDeploymentHandler.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/GroovyDeploymentHandler.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/GroovyDeploymentHandler.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -121,10 +121,10 @@
log.debug("could not load groovy file: " + classname, ioe);
}
catch( CompilationFailedException e) {
- log.info("Compilation error in Groovy file:" + classname, e);
+ log.debug("Compilation error in Groovy file:" + classname, e);
}
catch(GroovyRuntimeException e) {
- log.info("Unknown error reading Groovy file:" + classname, e);
+ log.debug("Unknown error reading Groovy file:" + classname, e);
}
finally
{
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/drools/RuleBase.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/drools/RuleBase.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/drools/RuleBase.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -44,7 +44,7 @@
{
for (String ruleFile: ruleFiles)
{
- log.info("parsing rules: " + ruleFile);
+ log.debug("parsing rules: " + ruleFile);
InputStream stream = ResourceLoader.instance().getResourceAsStream(ruleFile);
if (stream==null)
{
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/init/Initialization.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/init/Initialization.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/init/Initialization.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -691,7 +691,7 @@
public Initialization init()
{
- log.info("initializing Seam");
+ log.debug("initializing Seam");
if (standardDeploymentStrategy == null)
{
throw new IllegalStateException("No deployment strategy!");
@@ -738,7 +738,7 @@
}
ServletLifecycle.endInitialization();
- log.info("done initializing Seam");
+ log.debug("done initializing Seam");
return this;
}
@@ -780,7 +780,7 @@
if (hotDeploymentStrategy.getTimestamp() > init.getTimestamp())
{
- log.info("redeploying components");
+ log.debug("redeploying components");
Seam.clearComponentNameCache();
for ( String name: init.getHotDeployableComponents() )
{
@@ -800,7 +800,7 @@
init.getHotDeployableComponents().clear();
installHotDeployableComponents();
installComponents(init);
- log.info("done redeploying components");
+ log.debug("done redeploying components");
}
// update the timestamp outside of the second timestamp check to be sure we don't cause an unnecessary scan
// the second scan checks annotations (the slow part) which might happen to exclude the most recent file
@@ -823,7 +823,7 @@
warRootDeploymentStrategy.scan();
if (warRootDeploymentStrategy.getTimestamp() > init.getWarTimestamp())
{
- log.info("redeploying page descriptors...");
+ log.debug("redeploying page descriptors...");
Pages pages = (Pages) ServletLifecycle.getServletContext().getAttribute(Seam.getComponentName(Pages.class));
if (pages != null) {
// application context is needed for creating expressions
@@ -833,7 +833,7 @@
}
ServletLifecycle.getServletContext().removeAttribute(Seam.getComponentName(Exceptions.class));
init.setWarTimestamp(warRootDeploymentStrategy.getTimestamp());
- log.info("done redeploying page descriptors");
+ log.debug ("done redeploying page descriptors");
}
}
}
@@ -981,7 +981,7 @@
if (pkg != null) {
Namespace ns = pkg.getAnnotation(Namespace.class);
if (ns != null) {
- log.info("Namespace: " + ns.value() + ", package: " + pkg.getName() +
+ log.debug("Namespace: " + ns.value() + ", package: " + pkg.getName() +
", prefix: " + ns.prefix());
NamespaceDescriptor descriptor = namespaceMap.get(ns.value());
@@ -1103,7 +1103,7 @@
private void installComponents(Init init)
{
- log.info("Installing components...");
+ log.debug("Installing components...");
Context context = Contexts.getApplicationContext();
DependencyManager manager = new DependencyManager(componentDescriptors);
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/mail/MailSession.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/mail/MailSession.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/mail/MailSession.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -90,11 +90,11 @@
{
if (getPort() != null)
{
- log.info("Creating JavaMail Session (" + getHost() + ':' + getPort() + ")");
+ log.debug("Creating JavaMail Session (" + getHost() + ':' + getPort() + ")");
}
else
{
- log.info("Creating JavaMail Session (" + getHost() + ")");
+ log.debug("Creating JavaMail Session (" + getHost() + ")");
}
Properties properties = new Properties();
@@ -179,7 +179,7 @@
session = javax.mail.Session.getInstance(properties, authenticator);
session.setDebug(isDebug());
- log.info("connected to mail server");
+ log.debug("connected to mail server");
}
public String getPassword()
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -210,7 +210,7 @@
public DataSetOperation(String dataSetLocation, String dtdLocation, DatabaseOperation operation)
{
- log.info(">>> Preparing dataset: " + dataSetLocation + " <<<");
+ log.debug(">>> Preparing dataset: " + dataSetLocation + " <<<");
// Load the base dataset file
InputStream input = Thread.currentThread().getContextClassLoader().getResourceAsStream(dataSetLocation);
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/SeamListener.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/SeamListener.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/SeamListener.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -52,7 +52,7 @@
if (monitor != null && monitor.failover())
{
// If application is unfarmed or all nodes shutdown simultaneously, cluster cache may still fail to retrieve SFSBs to destroy
- log.info("Detected fail-over, not destroying session context");
+ log.debug("Detected fail-over, not destroying session context");
}
else
{
Modified: branches/community/Seam_2_1/src/wicket/org/jboss/seam/wicket/WicketComponent.java
===================================================================
--- branches/community/Seam_2_1/src/wicket/org/jboss/seam/wicket/WicketComponent.java 2009-05-07 01:56:53 UTC (rev 10823)
+++ branches/community/Seam_2_1/src/wicket/org/jboss/seam/wicket/WicketComponent.java 2009-05-07 01:58:36 UTC (rev 10824)
@@ -157,11 +157,11 @@
this.enclosingType = type.getEnclosingClass();
if (this.enclosingType != null)
{
- log.info("Class: " + type + ", enclosed by " + enclosingType);
+ log.debug("Class: " + type + ", enclosed by " + enclosingType);
}
else
{
- log.info("Class: " + type);
+ log.debug("Class: " + type);
}
scan();
More information about the seam-commits
mailing list