createRegistry
protected
static
Object
createRegistry
(
expose
)
Registry factory method.
- Parameters:
-
expose <boolean>
whether the created registry is exposing registered objects as public members or not
- Returns:
Object
- the created registry instance
randomString
private
String
randomString
(
length
)
Generates a fixed length string of figures.
- Parameters:
-
length <Number>
the length of the generated string
- Returns:
String
- the random string of figures