Class org.as2lib.io.conn.local.client.SimpleClientServiceProxyFactory

org.as2lib.core.BasicClass
   +--org.as2lib.io.conn.core.client.AbstractClientServiceProxyFactory
      +--org.as2lib.io.conn.local.client.SimpleClientServiceProxyFactory

Implemented Interfaces

ClientServiceProxyFactory

Description

SimpleClientServiceProxyFactory is the simplest implementation of a client service proxy factory.

It allows only the getClientServiceProxyByUrl method to be used and not the getClientServiceProxyByUrlAndType method. var clientFactory:SimpleClientServiceProxyFactory = new SimpleClientServiceProxyFactory(); var client:ClientServiceProxy = clientFactory.getClientServiceProxy("local.as2lib.org/myService");

Method Index

new SimpleClientServiceProxyFactory()

getClientServiceProxyByUrl()

Inherited from AbstractClientServiceProxyFactory

getClientServiceProxy(), getClientServiceProxyByUrlAndType()

Inherited from BasicClass

toString()

Constructor Detail

SimpleClientServiceProxyFactory

public function SimpleClientServiceProxyFactory(Void)

Constructs a new SimpleClientServiceProxyFactory instance.

Method Detail

getClientServiceProxyByUrl

public function getClientServiceProxyByUrl(url:String):ClientServiceProxy

Returns a client service proxy for the service specified by the passed-in url.

You can use this proxy to invoke methods on the 'remote' service and to handle responses. The returned client service proxy is an instance of class LocalClientServiceProxy.

Parameters

urlthe url of the 'remote' service

Return

a client service proxy to invoke methods on the 'remote' service

Specified By

getClientServiceProxyByUrl() in org.as2lib.io.conn.core.client.ClientServiceProxyFactory