|
ColdSpring 2.0 - Narwhal | ||||
FRAMES |
WEB-INF.cftags.component coldspring.beans.factory.config.JSONFactoryBean
public class JSONFactoryBean
Simple factory for creating data via a JSON string, and sharing it.
Constructor Summary | |
---|---|
init()
Constructor |
Method Summary | |
---|---|
any |
getObject()
Returns the deserialised JSON |
string |
getObjectType()
returns '' |
private any |
getSourceJSON()
The deserialised JSON |
boolean |
isSingleton()
Is this data structure is singleton? Defaults to false |
void |
setSingleton(boolean isSingleton)
|
void |
setSourceJSON(string sourceJSON)
The JSON to be deserialised |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public any getObject()
getObject
in interface
FactoryBean
public string getObjectType()
getObjectType
in interface
FactoryBean
private any getSourceJSON()
public boolean isSingleton()
isSingleton
in interface
FactoryBean
public void setSingleton(boolean isSingleton)
isSingleton
public void setSourceJSON(string sourceJSON)
sourceJSON
|
ColdSpring 2.0 - Narwhal | ||||
FRAMES |