Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Calls a service asynchronously and ignores the result, so no return messages are used; that doesn't mean no errors will result, but they would just be system errors like database failures, etc which all have system error messages.

Attribute NameRequired?Description
service-nameY 
in-map-nameY 
include-user-loginNDefaults to "true".

call-bsh

Runs an external bsh script from the classpath if resource is specified and then runs the inlined bsh script if any is specified.

The bsh context is the current simple-method environment including maps, lists and special objects whose names are defined in the simple-method attributes.

The current env cannot be modified, but if a Map is returned by the bsh block the entries in the map will be put into the current env.

Error messages go on the error list and are handled with the check-errors tag.

Attribute NameRequired?Description
resourceN 
error-list-nameNDefaults to "error_list".

call-simple-method

The call-simple-method tag calls another simple-method in the same context as the current one. In other words the called simple-method will have the same environment as the calling simple-method, including all environment fields, and either the event or service objects that the calling simple-method was called with.

Attribute NameRequired?Description
xml-resourceNThe full path and filename on the classpath of the XML file which contains an external simple-method to execute. This is only required if a simple-method in a different file is desired.
method-nameYThe name of the simple-method to execute in the specified xml-resource, or in the current XML file if no xml-resource is specified.

Java Call Operations

create-object

Creates an object of the given class and if the field-name is specified saves it in that field.

The string and field sub-elements are passed to the constructor method as arguments in the order they are specified. If the sub-elements do not match the constructor method arguments an error will be returned.

Attribute NameRequired?Description
class-nameYThe name of the class to construct an object of.
field-nameNThe name of a field to put the new object in. If not specified the object will be created but ignored after that.
map-nameNThe name of the map the field will go in. If not specified the field will be put in the environment.
Sub-Element NameHow ManyDescription
string0 to manyUsed to specify an inline String argument to the constructor method.
field0 to manyUsed to specify a field to be passed as an argument to the constructor method. The field can be in a map in the environment or if no map-name is specified then the field will come directly from the environment.

call-object-method

Calls a method on an existing object that exists in a field in the environment or in a map in the environment.

The string and field sub-elements are passed to the method as arguments in the order they are specified. If the sub-elements do not match the method arguments an error will be returned.

The return value will be put in the named field if an value is returned and if a field and optionally a map name are specified.

Attribute NameRequired?Description
obj-field-nameYThe name of the field the object is in that has the method to be called.
obj-map-nameNThe name of the map the field of the object is in that has the method to be called. If this is not specified the environment will be used to find the field in.
method-nameYThe name of the method to call on the given object.
ret-field-nameNThe name of the field to put the result in. If not specified any return value will be ignored.
ret-map-nameNThe name of the map the field of the return value is in. If not specified but the field name is then the environment will be used to find the field in.
Sub-Element NameHow ManyDescription
string0 to manyUsed to specify an inline String argument to the method call.
field0 to manyUsed to specify a field to be passed as an argument to the method call. The field can be in a map in the environment or if no map-name is specified then the field will come directly from the environment.

call-class-method

Calls a static method on a class.

The string and field sub-elements are passed to the method as arguments in the order they are specified. If the sub-elements do not match the method arguments an error will be returned.

The return value will be put in the named field if an value is returned and if a field and optionally a map name are specified.