Packageorg.springextensions.actionscript.ioc.factory.config
SVN browsingRandomNumberFactoryObject.as
FisheyeRandomNumberFactoryObject.as
Classpublic class RandomNumberFactoryObject
ImplementsIFactoryObject

Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1



Public Properties
 PropertyDefined by
  isSingleton : Boolean
[read-only] Returns if this factory object is a singleton or not.
RandomNumberFactoryObject
Public Methods
 MethodDefined by
  
Constructs a new RandomNumberFactoryObject instance
RandomNumberFactoryObject
  
Generates a random number using Math.random() and returns the result Returns an instance of the object managed by this factory.
RandomNumberFactoryObject
  
getObjectType():Class
Returns the type of the object this factory manages or null if the type is unknown.
RandomNumberFactoryObject
Property detail
isSingletonproperty
isSingleton:Boolean  [read-only]

Returns if this factory object is a singleton or not. If it is a singleton, it will return a new instance of the object it creates on each getObject() call. Else, the same object will be returned.

Implementation
    public function get isSingleton():Boolean
Constructor detail
RandomNumberFactoryObject()constructor
public function RandomNumberFactoryObject()

Constructs a new RandomNumberFactoryObject instance

Method detail
getObject()method
public function getObject():*

Generates a random number using Math.random() and returns the result Returns an instance of the object managed by this factory.

Returns
*
getObjectType()method 
public function getObjectType():Class

Returns the type of the object this factory manages or null if the type is unknown.

Returns
Class