Package com.swiftmq.impl.streams.comp.io
Class ManagementInput
java.lang.Object
com.swiftmq.impl.streams.comp.io.ManagementInput
- All Implemented Interfaces:
Input
Consumes Messages from the Management Tree.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2017, All Rights Reserved
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this Input.voidcollect(long interval) Internal use.context()Returns the CLI contextSets a CLI context different from the name.current()Returns the current Message of this Input.Sets the current Message on this Input.voidInternal use.Internal use.getName()Returns the name of this Input.Internal use only.Internal use only.booleanInternal usebooleanInternal usebooleanInternal useAdds Property name(s) that must be addionally included in an onChange message.onAdd(InputCallback addCallback) Registers a Callback that is executed when a new Entity is addedonChange(InputCallback changeCallback) Registers a Callback that is executed when a a Property of an Entity has changedonRemove(InputCallback removeCallback) Registers a Callback that is executed when a existing Entity is removedSets a JMS Message selectorvoidsetManagementProcessor(ManagementProcessor managementProcessor) Internal use.voidstart()Starts this Input.toString()
-
Field Details
-
PROP_OPER
-
PROP_CTX
-
PROP_TIME
-
VAL_ADD
-
VAL_REMOVE
-
VAL_CHANGE
-
-
Method Details
-
getName
Description copied from interface:InputReturns the name of this Input. -
hasAddCallback
public boolean hasAddCallback()Internal use- Returns:
- true/false
-
hasRemoveCallback
public boolean hasRemoveCallback()Internal use- Returns:
- true/false
-
hasChangeCallback
public boolean hasChangeCallback()Internal use- Returns:
- true/false
-
current
Description copied from interface:InputSets the current Message on this Input. -
current
Description copied from interface:InputReturns the current Message of this Input. -
getSelector
Internal use only. -
context
Sets a CLI context different from the name.- Parameters:
context- CLI context- Returns:
- this
-
context
Returns the CLI context- Returns:
- CLI context
-
selector
Sets a JMS Message selector- Parameters:
selector- JMS Message Selector- Returns:
- this
-
include
Adds Property name(s) that must be addionally included in an onChange message. If multiple names are given, they must be separated by blank.- Parameters:
propInclude-- Returns:
- this
-
getPropIncludes
Internal use only. -
onAdd
Registers a Callback that is executed when a new Entity is added- Parameters:
addCallback- callback- Returns:
- ManagementInput
-
onRemove
Registers a Callback that is executed when a existing Entity is removed- Parameters:
removeCallback- callback- Returns:
- ManagementInput
-
onChange
Registers a Callback that is executed when a a Property of an Entity has changed- Parameters:
changeCallback- callback- Returns:
- ManagementInput
-
executeCallback
Description copied from interface:InputInternal use.- Specified by:
executeCallbackin interfaceInput- Throws:
Exception
-
getManagementProcessor
Internal use.- Returns:
- ManagementProcessor
-
setManagementProcessor
Internal use.- Parameters:
managementProcessor- ManagementProcessor
-
collect
public void collect(long interval) Description copied from interface:InputInternal use. -
start
Description copied from interface:InputStarts this Input. This method is called automatically if an Input is created outside a callback. If it is created inside, it must be called explicitly. -
close
public void close()Description copied from interface:InputCloses this Input. -
toString
-