Class SpincastDateFormatterPluginModule

java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.dateformatter.SpincastDateFormatterPluginModule
All Implemented Interfaces:
com.google.inject.Module, SpincastContextTypesInterested

public class SpincastDateFormatterPluginModule extends SpincastGuiceModuleBase
Spincast Date Formatter plugin module.
  • Constructor Details

    • SpincastDateFormatterPluginModule

      public SpincastDateFormatterPluginModule()
    • SpincastDateFormatterPluginModule

      public SpincastDateFormatterPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
  • Method Details

    • configure

      protected void configure()
      Specified by:
      configure in class SpincastGuiceModuleBase
    • isPebbleAvailable

      protected boolean isPebbleAvailable()
    • bindDateFormatterFactory

      protected void bindDateFormatterFactory()
    • getDateFormatterImplClass

      protected Class<? extends DateFormatter> getDateFormatterImplClass()
    • getDateFormatterAgoImplClass

      protected Class<? extends RelativeDateFormatter> getDateFormatterAgoImplClass()
    • bindPebbleExtension

      protected void bindPebbleExtension()
    • getPebbleExtensionImplClass

      protected Class<? extends SpincastDateFormatterPebbleExtension> getPebbleExtensionImplClass()