org.apache.myfaces.tobago.util
Class Deprecation

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

public final class Deprecation
extends java.lang.Object


Field Summary
static Log LOG
          This Log 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 Log LOG
This Log 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 Log object, with

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

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



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