Class org.as2lib.io.conn.local.LocalConfig

org.as2lib.core.BasicClass
   +--org.as2lib.io.conn.local.LocalConfig

Description

LocalConfig is the basic configuration class of the Local Connection API.

It can be used to configure static parts, that means parts that are shared globally.

Method Index

getServerRegistry(), setServerRegistry()

Inherited from BasicClass

toString()

Method Detail

getServerRegistry

static public function getServerRegistry(Void):ServerRegistry

Returns the currently used server registry.

That is either the server registry set via setServerRegistry or the default on which is an instance of class LocalServerRegistry.

Return

the currenlty used server registry

setServerRegistry

static public function setServerRegistry(newServerRegistry:ServerRegistry):Void

Sets a new server registry.

If you set a server registry of value null or undefined getServerRegistry will return the default server registry.

Parameters

newServerRegistrythe new server registry