Package org.jdrupes.vmoperator.manager
Class AvoidEmptyPolicy
java.lang.Object
org.jgrapes.core.internal.ComponentVertex
org.jgrapes.core.Component
org.jdrupes.vmoperator.manager.AvoidEmptyPolicy
- All Implemented Interfaces:
Iterable<ComponentType>
,Channel
,ComponentType
,Eligible
,Manager
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jgrapes.core.Channel
Channel.Default
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAvoidEmptyPolicy
(Channel componentChannel) Creates a new component with its channel set to the given channel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onConsoleConfigured
(org.jgrapes.webconsole.base.events.ConsoleConfigured event, org.jgrapes.webconsole.base.ConsoleConnection connection) On console configured.void
onConsoleReady
(org.jgrapes.webconsole.base.events.ConsoleReady event, org.jgrapes.webconsole.base.ConsoleConnection connection) On console ready.void
onRenderConlet
(org.jgrapes.webconsole.base.events.RenderConlet event, org.jgrapes.webconsole.base.ConsoleConnection connection) On render conlet.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
-
Constructor Details
-
AvoidEmptyPolicy
Creates a new component with its channel set to the given channel.- Parameters:
componentChannel
-
-
-
Method Details
-
onConsoleReady
@Handler public void onConsoleReady(org.jgrapes.webconsole.base.events.ConsoleReady event, org.jgrapes.webconsole.base.ConsoleConnection connection) On console ready.- Parameters:
event
- the eventconnection
- the connection
-
onRenderConlet
@Handler(priority=100) public void onRenderConlet(org.jgrapes.webconsole.base.events.RenderConlet event, org.jgrapes.webconsole.base.ConsoleConnection connection) On render conlet.- Parameters:
event
- the eventconnection
- the connection
-
onConsoleConfigured
@Handler(priority=-100) public void onConsoleConfigured(org.jgrapes.webconsole.base.events.ConsoleConfigured event, org.jgrapes.webconsole.base.ConsoleConnection connection) throws InterruptedException, IOException On console configured.- Parameters:
event
- the eventconnection
- the console connection- Throws:
InterruptedException
- the interrupted exceptionIOException
-