public class NewConsoleSessionPolicy extends org.jgrapes.core.Component
Constructor and Description |
---|
NewConsoleSessionPolicy()
Creates a new component with its channel set to itself.
|
NewConsoleSessionPolicy(org.jgrapes.core.Channel componentChannel)
Creates a new component with its channel set to the given channel.
|
Modifier and Type | Method and Description |
---|---|
void |
onConsoleConfigured(org.jgrapes.webconsole.base.events.ConsoleConfigured event,
org.jgrapes.io.IOSubchannel channel)
On console configured.
|
void |
onRenderConlet(org.jgrapes.webconsole.base.events.RenderConlet event,
org.jgrapes.io.IOSubchannel channel)
Handles a conlet render request.
|
channel, component, defaultCriterion, isEligibleFor, setName
activeEventPipeline, addHandler, attach, children, componentPath, componentVertex, detach, fire, initComponentsHandlers, iterator, name, newEventPipeline, newEventPipeline, newSyncEventPipeline, parent, registerAsGenerator, root, toString, unregisterAsGenerator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public NewConsoleSessionPolicy()
Creates a new component with its channel set to itself.
public NewConsoleSessionPolicy(org.jgrapes.core.Channel componentChannel)
Creates a new component with its channel set to the given channel.
componentChannel
- @Handler public void onRenderConlet(org.jgrapes.webconsole.base.events.RenderConlet event, org.jgrapes.io.IOSubchannel channel)
Handles a conlet render request.
event
- the eventchannel
- the channel@Handler public void onConsoleConfigured(org.jgrapes.webconsole.base.events.ConsoleConfigured event, org.jgrapes.io.IOSubchannel channel) throws InterruptedException
On console configured.
event
- the eventchannel
- the channelInterruptedException
- the interrupted exception