public final class GloopInvoker extends Object
Constructor and Description |
---|
GloopInvoker() |
Modifier and Type | Method and Description |
---|---|
static io.toro.gloop.object.property.GloopModel |
gloop(io.toro.gloop.object.property.GloopModel input,
io.toro.gloop.engine.GloopExecutionContext context,
String name)
Runs a gloop service using its
name with provided input . |
static io.toro.gloop.object.property.GloopModel |
gloop(io.toro.gloop.object.property.GloopModel input,
String name)
Runs a gloop service using its
name with provided input , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
boolean closeContext,
Object... inputs)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
Collection inputs)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
Collection inputs,
boolean closeContext)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
io.toro.gloop.engine.GloopExecutionContext context,
Map inputs)
Runs a gloop service using its
name with provided inputs . |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
io.toro.gloop.engine.GloopExecutionContext context,
Object... inputs)
Runs a gloop service using its
name with provided inputs . |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
io.toro.gloop.object.property.GloopModel input)
Runs a gloop service using its
name with provided input , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
io.toro.gloop.object.property.GloopModel input,
boolean closeContext)
Runs a gloop service using its
name with provided input , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
Map inputs)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
Map inputs,
boolean closeContext)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
static io.toro.gloop.object.property.GloopModel |
gloop(String name,
Object... inputs)
Runs a gloop service using its
name with provided inputs , automatically creating
an execution context. |
public static io.toro.gloop.object.property.GloopModel gloop(String name, @GloopParameter(defaultValue="true") boolean closeContext, Object... inputs) throws io.toro.gloop.exception.GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop servicecloseContext
- if true, context will be closed after execution (true by default)inputs
- the inputs to be passed to the gloop service, following the order defined on the serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, Object... inputs) throws io.toro.gloop.exception.GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop serviceinputs
- the inputs to be passed to the gloop service, following the order defined on the serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, Collection inputs, @GloopParameter(defaultValue="true") boolean closeContext) throws io.toro.gloop.exception.GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop serviceinputs
- the inputs to be passed to the gloop service, following the order defined on the servicecloseContext
- if true, context will be closed after execution (true by default)io.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, Collection inputs) throws io.toro.gloop.exception.GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop serviceinputs
- the inputs to be passed to the gloop service, following the order defined on the serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, Map inputs, @GloopParameter(defaultValue="true") boolean closeContext) throws io.toro.gloop.exception.GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop servicecloseContext
- if true, context will be closed after execution (true by default)inputs
- the inputs to be passed to the gloop serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, Map inputs) throws io.toro.gloop.exception.GloopException
name
with provided inputs
, automatically creating
an execution context.name
- name of the gloop serviceinputs
- the inputs to be passed to the gloop serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, io.toro.gloop.object.property.GloopModel input, @GloopParameter(defaultValue="true") boolean closeContext) throws io.toro.gloop.exception.GloopException
name
with provided input
, automatically creating
an execution context.name
- name of the gloop serviceinput
- model that contains the inputs to be passed to the gloop service (empty by default)closeContext
- if true, context will be closed after execution (true by default)io.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, io.toro.gloop.object.property.GloopModel input) throws io.toro.gloop.exception.GloopException
name
with provided input
, automatically creating
an execution context.name
- name of the gloop serviceinput
- model that contains the inputs to be passed to the gloop service (empty by default)io.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(io.toro.gloop.object.property.GloopModel input, String name) throws io.toro.gloop.exception.GloopException
name
with provided input
, automatically creating
an execution context.input
- model that contains the inputs to be passed to the gloop servicename
- name of the gloop serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, io.toro.gloop.engine.GloopExecutionContext context, Object... inputs) throws io.toro.gloop.exception.GloopException
name
with provided inputs
. Note that context
must
be closed if there are any object that needs to be closed (e.g. database connections and cursors)
or use sibling methods to automatically create and close the context.name
- name of the gloop servicecontext
- execution context for the serviceinputs
- the inputs to be passed to the gloop service, following the order defined on the serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(String name, io.toro.gloop.engine.GloopExecutionContext context, Map inputs) throws io.toro.gloop.exception.GloopException
name
with provided inputs
. Note that context
must
be closed if there are any object that needs to be closed (e.g. database connections and cursors)
or use sibling methods to automatically create and close the context.name
- name of the gloop servicecontext
- execution context for the serviceinputs
- the inputs to be passed to the gloop serviceio.toro.gloop.exception.GloopException
public static io.toro.gloop.object.property.GloopModel gloop(io.toro.gloop.object.property.GloopModel input, io.toro.gloop.engine.GloopExecutionContext context, String name) throws io.toro.gloop.exception.GloopException
name
with provided input
. Note that context
must
be closed if there are any object that needs to be closed (e.g. database connections and cursors)
or use sibling methods to automatically create and close the context.input
- model that contains the inputs to be passed to the gloop servicecontext
- execution context for the servicename
- name of the gloop serviceio.toro.gloop.exception.GloopException
Copyright © 2020. All rights reserved.