Class LitProvider

java.lang.Object
org.jgrapes.core.internal.ComponentVertex
org.jgrapes.core.Component
org.jgrapes.webconsole.base.PageResourceProvider
org.jgrapes.webconsole.provider.lit.LitProvider
All Implemented Interfaces:
Iterable<org.jgrapes.core.ComponentType>, org.jgrapes.core.Channel, org.jgrapes.core.ComponentType, org.jgrapes.core.Eligible, org.jgrapes.core.Manager

public class LitProvider extends PageResourceProvider
Provider for the lit library.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jgrapes.core.Channel

    org.jgrapes.core.Channel.Default
  • Field Summary

    Fields inherited from class org.jgrapes.core.Component

    logger

    Fields inherited from interface org.jgrapes.core.Channel

    BROADCAST, SELF
  • Constructor Summary

    Constructors
    Constructor
    Description
    LitProvider(org.jgrapes.core.Channel componentChannel)
    Creates a new component with its channel set to the given channel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    On ConsoleReady, fire the appropriate AddPageResources.

    Methods inherited from class org.jgrapes.webconsole.base.PageResourceProvider

    onResourceRequest, resourceBundle

    Methods inherited from class org.jgrapes.core.Component

    channel, component, defaultCriterion, isEligibleFor, setName

    Methods inherited from class org.jgrapes.core.internal.ComponentVertex

    activeEventPipeline, addHandler, attach, channelReplacements, children, componentPath, componentVertex, detach, fire, initComponentsHandlers, iterator, name, newEventPipeline, newEventPipeline, parent, registerAsGenerator, root, toString, unregisterAsGenerator

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface org.jgrapes.core.Manager

    stream
  • Constructor Details

    • LitProvider

      public LitProvider(org.jgrapes.core.Channel componentChannel)
      Creates a new component with its channel set to the given channel.
      Parameters:
      componentChannel - the channel that the component’s handlers listen on by default and that Manager.fire(Event, Channel...) sends the event to
  • Method Details

    • onConsoleReady

      @Handler(priority=100) public void onConsoleReady(ConsoleReady event, ConsoleConnection connection) throws freemarker.template.TemplateNotFoundException, freemarker.template.MalformedTemplateNameException, freemarker.core.ParseException, IOException
      On ConsoleReady, fire the appropriate AddPageResources.
      Parameters:
      event - the event
      connection - the web console connection
      Throws:
      freemarker.template.TemplateNotFoundException - the template not found exception
      freemarker.template.MalformedTemplateNameException - the malformed template name exception
      freemarker.core.ParseException - the parse exception
      IOException - Signals that an I/O exception has occurred.