Class DateProducer


  • @Dependent
    public class DateProducer
    extends Object

    Producer for #{startup} and #{now}.

    Since 4.0 it produces by default an instance of Temporal whereas it previously produced an instance of Date.

    Historical note: since 1.0 these were registered as beans in faces-config.xml. Since 3.6 these were migrated to CDI producers, because the CDI implementation being used may emit warnings on them not being proxyable.

    Usage

    Since:
    3.6
    Author:
    Bauke Scholtz