Packageorg.vostokframework.domain.loading
Classpublic class LoaderRepository
InheritanceLoaderRepository Inheritance Object

description



Public Properties
 PropertyDefined By
  openedConnections : int
[read-only]
LoaderRepository
Public Methods
 MethodDefined By
  
description
LoaderRepository
  
add(loader:ILoader):void
description
LoaderRepository
  
clear():void
description
LoaderRepository
  
exists(identification:VostokIdentification):Boolean
description
LoaderRepository
  
description
LoaderRepository
  
findAll():IList
description
LoaderRepository
  
description
LoaderRepository
  
isEmpty():Boolean
description
LoaderRepository
  
remove(identification:VostokIdentification):Boolean
description
LoaderRepository
  
removeAll(loaders:IList):Boolean
description
LoaderRepository
  
size():int
description
LoaderRepository
  
toString():String
description
LoaderRepository
Property Detail
openedConnectionsproperty
openedConnections:int  [read-only]


Implementation
    public function get openedConnections():int
Constructor Detail
LoaderRepository()Constructor
public function LoaderRepository()

description

Method Detail
add()method
public function add(loader:ILoader):void

description

Parameters

loader:ILoader


Throws
ArgumentError — if the <codeph>loader</codeph> argument is <codeph>null</codeph>.
 
org.vostokframework.loadermanagement.errors:DuplicateLoaderError — if already exists an <codeph>ILoader</codeph> object stored with the same <codeph>id</codeph> of the provided <codeph>loader</codeph> argument.
clear()method 
public function clear():void

description

exists()method 
public function exists(identification:VostokIdentification):Boolean

description

Parameters

identification:VostokIdentification

Returns
Boolean

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
find()method 
public function find(identification:VostokIdentification):ILoader

description

Parameters

identification:VostokIdentification

Returns
ILoader

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
findAll()method 
public function findAll():IList

description

Returns
IList
findParentLoader()method 
public function findParentLoader(childIdentification:VostokIdentification):ILoader

description

Parameters

childIdentification:VostokIdentification

Returns
ILoader
isEmpty()method 
public function isEmpty():Boolean

description

Returns
Boolean
remove()method 
public function remove(identification:VostokIdentification):Boolean

description

Parameters

identification:VostokIdentification

Returns
Boolean

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
removeAll()method 
public function removeAll(loaders:IList):Boolean

description

Parameters

loaders:IList

Returns
Boolean

Throws
ArgumentError — if the <codeph>loaders</codeph> argument is <codeph>null</codeph>.
size()method 
public function size():int

description

Returns
int
toString()method 
public function toString():String

description

Returns
String