Home Manual Reference Source
public class | source

Dispatcher

Executes operations against the management endpoint.

Method Summary

Public Methods
public

execute(operation: Operation, callback: function(result: ModelNode))

Executes the specified operation.

public

executeComposite(composite: Composite, callback: function(result: CompositeResult))

Executes the specified composite operation.

Public Methods

public execute(operation: Operation, callback: function(result: ModelNode)) source

Executes the specified operation. The callback contains just the result w/o surrounding nodes like "outcome".

Params:

NameTypeAttributeDescription
operation Operation

The operation to execute.

callback function(result: ModelNode)

The callback receiving the result.

public executeComposite(composite: Composite, callback: function(result: CompositeResult)) source

Executes the specified composite operation.

Params:

NameTypeAttributeDescription
composite Composite

The composite operation to execute.

callback function(result: CompositeResult)

The callback receiving the result.