Package | com.asfusion.mate.actions.builders |
Class | public class ServiceInvoker |
Inheritance | ServiceInvoker AbstractServiceInvoker BaseAction AbstractAction |
Subclasses | HTTPServiceInvoker, RemoteObjectInvoker, WebServiceInvoker |
See also
Property | Defined by | ||
---|---|---|---|
channelSet : ChannelSet
Provides access to the ChannelSet used by the service.
| ServiceInvoker | ||
debug : Boolean
Whether to show debugging information for its inner-handlerss.
| AbstractServiceInvoker | ||
destination : String
The destination of the service.
| ServiceInvoker | ||
faultHandlers : Array
A set of inner-handlers to run when the server call returns a fault.
| AbstractServiceInvoker | ||
makeObjectsBindable : Boolean
When this value is true, anonymous objects returned are forced to bindable objects.
| ServiceInvoker | ||
method : Object
The
method attribute specifies what function to call on the service instance. | ServiceInvoker | ||
password : Object
Password to supply to
setCredentials method
| ServiceInvoker | ||
properties : ArrayProperties allows you to add properties to the currentInstance . | BaseAction | ||
remotePassword : Object
Password to supply to
setCredentials method
| ServiceInvoker | ||
remoteUsername : Object
Username to supply to
setCredentials method
| ServiceInvoker | ||
requestTimeout : int
Provides access to the request timeout in seconds for sent messages.
| ServiceInvoker | ||
resultHandlers : Array
A set of inner-handlers to run when the server call returns a result.
| AbstractServiceInvoker | ||
username : Object
Username to supply to
setCredentials method
| ServiceInvoker |
Property | Defined by | ||
---|---|---|---|
autoUnregistration : Boolean = true
When auto unregistration is true, all inner handlers will be
unregistered after the first inner handlers fires.
| AbstractServiceInvoker | ||
currentIndex : int = 0
Index used to store groups of inner handlers.
| AbstractServiceInvoker | ||
currentInstance : * = null
The
currentInstance is the Object that this class will
use and modify to do its work. | AbstractAction | ||
document : Object
A reference to the document object associated with the IActionList that contains this action item.
| AbstractAction | ||
innerHandlersClass : Class
Class that is used as a template to create the inner-handlers
| AbstractServiceInvoker | ||
innerHandlersDispatcher : IEventDispatcher
Dispatcher that will trigger the inner-handlers execution by
dispatching events (ie: ResultEvent or FaultEvent).
| AbstractServiceInvoker | ||
innerHandlersList : Array
Inner handlers list that stores all inner handlers indexed by the currentIndex.
| AbstractServiceInvoker | ||
token : AsyncToken
Generated when making asynchronous RPC operations.
| ServiceInvoker |
Method | Defined by | ||
---|---|---|---|
actionListStartHandler(event:ActionListEvent):void
Handler that will be fired when the first of the innerHandlers starts executing.
| AbstractServiceInvoker | ||
The last method that
trigger calls. | ServiceInvoker | ||
createInnerHandlers(scope:IScope, innerType:String, actionList:Array, innerHandlersClass:Class = null):IActionList
Creates IActionList and sets the properties:
debug, type, listeners, dispatcher and inheritScope in the newly IActionList (inner-handlers).
| AbstractServiceInvoker | ||
The first method that
trigger calls. | AbstractServiceInvoker | ||
Where all the action occurs.
| AbstractAction | ||
setProperties(scope:IScope):void
Where all the properties are set into the
currentInstance . | BaseAction |
channelSet | property |
channelSet:ChannelSet
[read-write]
Provides access to the ChannelSet used by the service. The ChannelSet can be manually constructed and assigned,
or it will be dynamically created to use the configured Channels for the destination
for this service.
public function get channelSet():ChannelSet
public function set channelSet(value:ChannelSet):void
destination | property |
destination:String
[read-write]The destination of the service. This value should match a destination entry in the services-config.xml file.
Implementation public function get destination():String
public function set destination(value:String):void
makeObjectsBindable | property |
makeObjectsBindable:Boolean
[read-write]When this value is true, anonymous objects returned are forced to bindable objects.
The default value is true
.
public function get makeObjectsBindable():Boolean
public function set makeObjectsBindable(value:Boolean):void
method | property |
method:Object
[read-write]
The method
attribute specifies what function to call on the service instance.
It can be a SmartObject or String
The default value is null
.
public function get method():Object
public function set method(value:Object):void
password | property |
password:Object
[read-write]
Password to supply to setCredentials
method
public function get password():Object
public function set password(value:Object):void
remotePassword | property |
remotePassword:Object
[read-write]
Password to supply to setCredentials
method
public function get remotePassword():Object
public function set remotePassword(value:Object):void
remoteUsername | property |
remoteUsername:Object
[read-write]
Username to supply to setCredentials
method
public function get remoteUsername():Object
public function set remoteUsername(value:Object):void
requestTimeout | property |
requestTimeout:int
[read-write]Provides access to the request timeout in seconds for sent messages. A value less than or equal to zero prevents request timeout.
Implementation public function get requestTimeout():int
public function set requestTimeout(value:int):void
token | property |
protected var token:AsyncToken
Generated when making asynchronous RPC operations.
The same object is available in the result
and fault
events in the token
property.
username | property |
username:Object
[read-write]
Username to supply to setCredentials
method
public function get username():Object
public function set username(value:Object):void
complete | () | method |
protected override function complete(scope:IScope):void
The last method that trigger
calls.
This is your last chance to perform any action before the IActionList calls the next
IAction in the list.
scope:IScope |