Keel 2.1RC2

Deprecated API

Deprecated Classes
org.apache.avalon.framework.logger.AbstractLoggable
          Use AbstractLogEnabled instead. 
org.apache.commons.collections.ArrayEnumeration
          This class has significant overlap with ArrayIterator, and Collections focuses mainly on Java2-style collections. If you need to enumerate an array, create an ArrayIterator and wrap it with an IteratorEnumeration instead. 
org.apache.commons.collections.ArrayIterator
          this class has been moved to the iterators subpackage 
org.apache.log.format.AvalonFormatter
          Use org.apache.avalon.framework.logger.AvalonFormatter instead of this one. 
org.apache.log.ContextStack
          This class has been deprecated as it encouraged use of bad design practices. Use org.apache.log.ContextMap instead. 
org.apache.log.output.DatagramOutputTarget
          Use org.apache.log.output.net.DatagramOutputTarget instead 
org.apache.log.output.DefaultOutputLogTarget
          Use org.apache.log.output.io.WriterTarget or org.apache.log.output.io.StreamTarget as appropriate as this class encourages unsafe behaviour 
org.apache.commons.collections.EnumerationIterator
          this class has been moved to the iterators subpackage 
org.apache.log.output.FileOutputLogTarget
          Use org.apache.log.output.io.FileTarget as this class is not thread safe 
org.apache.commons.collections.FilterIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.FilterListIterator
          this class has been moved to the iterators subpackage 
org.apache.excalibur.event.impl.FixedSizeQueue
          Use the DefaultQueue as it properly supports the EnqueuePredicates 
org.apache.excalibur.instrument.manager.altrmi.InstrumentManagerAltrmiServer
          Please configure connectors in the instrument manager's configuration file. 
org.apache.commons.collections.IteratorEnumeration
          this class has been moved to the iterators subpackage 
org.apache.avalon.excalibur.datasource.Jdbc3Connection
          No longer necessary due to the dynamic proxies 
org.apache.avalon.excalibur.datasource.JdbcConnection
          No longer necessary due to the dynamic proxies 
org.keel.core.container.KeelContainerBuilder
          Use Container/ContainerFactory interfaces Created on Oct 17, 2002 
org.apache.excalibur.mpool.test.LatchedThreadGroup
          ECM is no longer supported 
org.apache.commons.logging.impl.Log4JCategoryLog
          Use Log4JLogger instead. 
org.apache.commons.logging.impl.Log4jFactory
          Per discussion on COMMONS-DEV, the behind-the-scenes use of this class as a proxy factory has been removed. For 1.0, you can still request it directly if you wish, but it doesn't really do anything useful, and will be removed in 1.1. 
org.apache.log.LogKit
          Instead of using LogKit directly use the facilities in code itself 
org.apache.commons.logging.LogSource
          Use LogFactory instead - The default factory implementation performs exactly the same algorithm as this class did 
org.apache.log.util.OutputStreamLogger
          Use LoggerOutputStream as this class was misnamed. 
org.apache.commons.collections.ProxyIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.ProxyListIterator
          this class has been moved to the iterators subpackage 
org.keel.clients.quartz.QuartzDirectSchedule
          Use the Quartz service via any other client 
org.apache.commons.collections.SingletonIterator
          this class has been moved to the iterators subpackage 
org.apache.commons.collections.SoftRefHashMap
          This class is all kinds of wonky; use ReferenceMap instead. 
org.apache.commons.collections.StringStack
          This class is not a Stack, it is a String utility. As such it is deprecated in favour of the StringUtils class in the [lang] project. 
org.apache.commons.collections.TransformIterator
          this class has been moved to the iterators subpackage 
 

Deprecated Interfaces
org.apache.log.FilterTarget
          Interface offered no significant advantage and thus will no longer be used by new interfaces 
org.apache.log.Formatter
          Use org.apache.log.format.Formatter instead. 
org.apache.avalon.framework.logger.Loggable
          Use LogEnabled instead. 
org.apache.avalon.framework.component.Recomposable
          Deprecated with no replacement. The Recomposable interface is a legacy interface with no concrete contracts. Rather than copy the design mistake to the "service" package, we no longer support this class. 
 

Deprecated Errors
org.apache.excalibur.mpool.test.CascadingAssertionFailedError
          ECM is no longer supported 
 

Deprecated Fields
org.apache.commons.beanutils.BeanUtils.debug
          BeanUtils now uses commons-logging for all log messages. Use your favorite logging tool to configure logging for this class. 
org.apache.commons.beanutils.PropertyUtils.debug
          The debug static property is no longer used 
org.apache.commons.beanutils.ConvertUtils.defaultBoolean
          Register replacement converters for Boolean.TYPE and Boolean.class instead 
org.apache.commons.beanutils.ConvertUtils.defaultByte
          Register replacement converters for Byte.TYPE and Byte.class instead 
org.apache.commons.beanutils.ConvertUtils.defaultCharacter
          Register replacement converters for Character.TYPE and Character.class instead 
org.apache.commons.beanutils.ConvertUtils.defaultDouble
          Register replacement converters for Double.TYPE and Double.class instead 
org.apache.commons.beanutils.ConvertUtils.defaultFloat
          Register replacement converters for Float.TYPE and Float.class instead 
org.apache.commons.beanutils.ConvertUtils.defaultInteger
          Register replacement converters for Integer.TYPE and Integer.class instead 
org.apache.commons.beanutils.ConvertUtils.defaultLong
          Register replacement converters for Long.TYPE and Long.class instead 
org.apache.commons.beanutils.ConvertUtils.defaultShort
          Register replacement converters for Short.TYPE and Short.class instead 
org.apache.commons.collections.CollectionUtils.EMPTY_ITERATOR
          use IteratorUtils.EMPTY_ITERATOR 
org.apache.log.LogEvent.m_contextStack
          ContextStack has been deprecated and thus so has this field. 
org.apache.log.output.AbstractOutputTarget.m_formatter
          You should not be directly accessing this attribute as it will become private next release 
org.apache.log.output.io.WriterTarget.m_output
          Accessing this variable in subclasses is no longer supported and will become private in the future. 
org.apache.excalibur.source.SourceValidity.UNKNWON
          because it has been misspelled, use UNKNOWN of course 
 

Deprecated Methods
org.apache.avalon.framework.configuration.DefaultConfiguration.addAttribute(String, String)
          Use setAttribute() instead 
org.keel.comm.ModelResponseMessage.addErrors(Map)
          This method doesn't support sending the stack trace with the error, which is usually very helpful. Use addError instead for each error. 
org.apache.avalon.framework.configuration.DefaultConfiguration.appendValueData(String)
          Use setValue() instead 
org.keel.services.persist.defaultpersist.DefaultPersistentBase.buildWhereClause(boolean)
          Use buildWhereClauseBuffer instead 
org.apache.excalibur.event.Sink.canAccept()
          Use the EnqueuePredicate to control this instead. 
org.apache.avalon.framework.container.ContainerUtil.compose(Object, ComponentManager)
          compose() is no longer the preferred method via which components will be supplied with Components. Please Use service() from Composable instead. 
org.apache.log.output.AbstractTarget.error(String, Throwable)
          Use getErrorHandler().error(...) directly 
org.apache.commons.beanutils.TestResultSet.getBigDecimal(int, int)
            
org.apache.commons.beanutils.TestResultSet.getBigDecimal(String, int)
            
org.apache.log.Logger.getCategory()
          This method violates Inversion of Control principle. If you are relying on its presence then there may be something wrong with the design of your system 
org.apache.log.format.PatternFormatter.getContext(ContextStack, String)
          Use getContextStack rather than this method 
org.apache.log.LogEvent.getContextStack()
          ContextStack has been deprecated and thus so has this method 
org.apache.log.LogKit.getCurrentContext()
          Use ContextStack.getCurrentContext() instead 
org.apache.commons.beanutils.BeanUtils.getDebug()
          BeanUtils now uses commons-logging for all log messages. Use your favorite logging tool to configure logging for this class. 
org.apache.commons.beanutils.PropertyUtils.getDebug()
          The debug static property is no longer used 
org.apache.log.output.AbstractOutputTarget.getFormatter()
          Access to formatter is not advised and this method will be removed in future iterations. It remains only for backwards compatability. 
org.apache.commons.collections.CollectionUtils.getIterator(Object)
          use IteratorUtils version instead 
org.apache.log.LogKit.getLoggerFor(String)
          Use Hierarchy.getDefaultHierarchy().getLoggerFor() instead 
org.apache.log.Logger.getLogTargets()
          This method is deprecated and will be removed in Future version. Previously it allowed unsafe access to logtargets which permitted masqurade attacks. It currently returns a zero sized array. 
org.apache.avalon.framework.parameters.Parameters.getParameterNames()
          Use getNames() instead 
org.apache.log.Logger.getPriority()
          This method violates Inversion of Control principle. It will downgraded to protected access in a future release. When user needs to check priority it is advised that they use the is[Priority]Enabled() functions. 
org.apache.log.LogKit.getPriorityForName(String)
          Use Priority.getPriorityForName() instead 
org.apache.avalon.framework.component.ComponentException.getRole()
          Use getKey instead 
org.apache.avalon.framework.service.ServiceException.getRole()
          Use getKey() instead 
org.keel.models.util.SequenceContext.getSeq()
          - use getSeqStepNum instead 
org.keel.models.util.SequenceContext.getSequenceModel()
          - use getSequenceName() instead 
org.apache.commons.beanutils.TestResultSet.getUnicodeStream(int)
            
org.apache.commons.beanutils.TestResultSet.getUnicodeStream(String)
            
org.apache.log.output.DefaultOutputLogTarget.initPattern()
          This is no longer the recomended way to set formatter. It is recomended that it be passed into constructor. 
org.apache.excalibur.event.Sink.isFull()
          Use the EnqueuePredicate to control this instead 
org.apache.avalon.fortress.impl.ComponentHandlerMetaData.isLazyActivation()
          in favor of getActivation() 
org.keel.services.persist.hibernate.HibernateQueryImpl.list()
          public List getQueryResults() should be used instead, because it implements the Query interface 
org.apache.log.Hierarchy.log(String)
          Logging components should use ErrorHandler rather than Hierarchy.log() 
org.apache.log.LogKit.log(String)
          Use Hierarchy.getDefaultHierarchy().log() instead 
org.apache.log.Hierarchy.log(String, Throwable)
          Logging components should use ErrorHandler rather than Hierarchy.log() 
org.apache.log.LogKit.log(String, Throwable)
          Use Hierarchy.getDefaultHierarchy().log() instead 
org.apache.excalibur.event.Sink.maxSize()
          Use the EnqueuePredicate to control this instead. 
org.apache.log.output.AbstractOutputTarget.output(String)
          User should overide write() instead of output(). Output exists for backwards compatability and will be removed in future. 
org.keel.core.container.KeelContainer.release(String, Object)
          Use release(Object obj) instead 
org.apache.log.LogEvent.setContextStack(ContextStack)
          ContextStack has been deprecated and thus so has this method 
org.apache.commons.beanutils.BeanUtils.setDebug(int)
          BeanUtils now uses commons-logging for all log messages. Use your favorite logging tool to configure logging for this class. 
org.apache.commons.beanutils.PropertyUtils.setDebug(int)
          The debug static property is no longer used 
org.apache.log.LogKit.setDefaultLogTarget(LogTarget)
          Use Hierarchy.getDefaultHierarchy().setDefaultLogTarget() instead 
org.apache.log.format.PatternFormatter.setFormat(String)
          Parse format in via constructor rather than use this method 
org.apache.log.output.DefaultOutputLogTarget.setFormat(String)
          This method is unsafe as it assumes formatter is PatternFormatter and accesses a protected attribute. Instead of calling this method It is recomended that a fully configured formatter is passed into constructor. 
org.apache.log.output.AbstractOutputTarget.setFormatter(Formatter)
          In future this method will become protected access. 
org.keel.models.util.SequenceContext.setSeq(int)
          - use setSeqStepNum instead 
org.keel.models.util.SequenceContext.setSequenceModel(String)
          - use setSequenceName instead 
org.apache.avalon.framework.ExceptionUtil.splitString(String, String)
          This is an internal utility method that should not be used 
org.apache.log.format.ExceptionUtil.splitString(String, String)
          This is an internal utility method that should not be used 
 

Deprecated Constructors
org.apache.avalon.excalibur.datasource.AbstractJdbcConnection(Connection, boolean)
          Use the version with keepAlive specified 
org.apache.avalon.framework.component.ComponentException(String)
          use the String, String version to record the role 
org.apache.avalon.framework.component.ComponentException(String, Throwable)
          use the String, String, Throwable version to record the role 
org.apache.avalon.fortress.impl.ComponentHandlerMetaData(String, String, Configuration, boolean)
          in favor of construction which takes an integer activation. 
org.apache.excalibur.instrument.manager.DefaultInstrumentManager(String)
          Name should be set in the instrument configuration file. 
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory(String, String, String, boolean, boolean)
          Use the new constructor with the keepalive and connectionClass specified. 
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory(String, String, String, boolean, boolean, String)
          Use the new constructor with the keepalive and connectionClass specified. 
org.apache.log.util.OutputStreamLogger(Logger, Priority)
          Use LoggerOutputStream as this class was misnamed. 
org.apache.log.format.PatternFormatter()
          Use constructor PatternFormatter(String pattern) as this does not correctly initialize object 
org.apache.avalon.framework.service.ServiceException(String)
          use the String,String version instead 
org.apache.avalon.framework.service.ServiceException(String, Throwable)
          use the String,String,Throwable version instead 
 


Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.