bloritsch 2003/03/19 08:41:52
Modified: fortress/src/java/org/apache/avalon/fortress/impl/handler
ComponentFactory.java
Log:
remove the excessive warnings--these can be done in documentation
Revision Changes Path
1.14 +1 -15
avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/handler/ComponentFactory.java
Index: ComponentFactory.java
===================================================================
RCS file:
/home/cvs/avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/handler/ComponentFactory.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ComponentFactory.java 19 Mar 2003 12:55:46 -0000 1.13
+++ ComponentFactory.java 19 Mar 2003 16:41:52 -0000 1.14
@@ -171,13 +171,6 @@
if( component instanceof Loggable )
{
- final String message = "WARNING: " + m_componentClass.getName() +
- " implements the Loggable lifecycle stage. This is " +
- " a deprecated feature that will be removed in the future. " +
- " Please upgrade to using LogEnabled.";
- getLogger().warn( message );
- System.out.println( message );
-
final org.apache.log.Logger logkitLogger =
LogKit2AvalonLoggerAdapter.createLogger( m_componentLogger );
( (Loggable)component ).setLogger( logkitLogger );
@@ -186,13 +179,6 @@
ContainerUtil.contextualize( component, m_context );
if( component instanceof Composable )
{
- final String message = "WARNING: " + m_componentClass.getName() +
- " implements the Composable lifecycle stage. This is " +
- " a deprecated feature that will be removed in the future. " +
- " Please upgrade to using Serviceable.";
- getLogger().warn( message );
- System.out.println( message );
-
ContainerUtil.compose( component, new WrapperComponentManager(
m_serviceManager ) );
}
ContainerUtil.service( component, m_serviceManager );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]