| Package | org.springextensions.actionscript.ioc.factory.config |
| SVN browsing | RandomNumberFactoryObject.as |
| Fisheye | RandomNumberFactoryObject.as |
| Class | public class RandomNumberFactoryObject |
| Implements | IFactoryObject |
Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1
| Property | Defined by | ||
|---|---|---|---|
| isSingleton : Boolean [read-only]
Returns if this factory object is a singleton or not.
| RandomNumberFactoryObject | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructs a new RandomNumberFactoryObject instance
| RandomNumberFactoryObject | ||
|
getObject():*
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 | ||
| isSingleton | property |
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
| RandomNumberFactoryObject | () | constructor |
public function RandomNumberFactoryObject()Constructs a new RandomNumberFactoryObject instance
| 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.
* |
| getObjectType | () | method |
public function getObjectType():ClassReturns the type of the object this factory manages or null if the type is unknown.
ReturnsClass |