org.apache.myfaces.tobago.internal.util
Class Deprecation

java.lang.Object
  extended by org.apache.myfaces.tobago.internal.util.Deprecation

public final class Deprecation
extends Object


Field Summary
static org.slf4j.Logger LOG
          This Logger object should help to detect the usage of deprecated code.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.slf4j.Logger LOG
This Logger object should help to detect the usage of deprecated code. The main reason for this class is the lack of a "deprecated concept" for tag libraries. Thought the designer of a Tobago page cannot see in his IDE that a tag or attribute is deprecated.

The Tobago Java code will log into this Logger object, with

error
when the code is deprecated with a loss of function, or
warn
when the code is deprecated, but still works.

This Logger category can be switched off, in production environment without affecting the normal logging category.



Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.