public class ScriptedAttributeDefinitionFactoryBean extends BaseAttributeDefinitionFactoryBean
| Modifier and Type | Field and Description |
|---|---|
private String |
script
The script.
|
private String |
scriptFile
The file to read the script from.
|
private String |
scriptLanguage
The scripting language used.
|
| Constructor and Description |
|---|
ScriptedAttributeDefinitionFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createInstance() |
String |
getLanguage()
Gets the scripting language being used.
|
Class |
getObjectType() |
String |
getScript()
Gets the script.
|
String |
getScriptFile()
Gets the file to read the script from.
|
void |
setLanguage(String language)
Sets the scripting language being used.
|
void |
setScript(String newScript)
Sets the script.
|
void |
setScriptFile(String file)
Sets the file to read the script from.
|
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeId, isDependencyOnly, populateAttributeDefinition, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeIdgetDependencyIds, getPluginId, setDependencyIds, setPluginIdprivate String scriptLanguage
private String scriptFile
private String script
public ScriptedAttributeDefinitionFactoryBean()
public String getLanguage()
public void setLanguage(String language)
language - scripting language being usedpublic String getScript()
public void setScript(String newScript)
newScript - the scriptpublic String getScriptFile()
public void setScriptFile(String file)
file - file to read the script frompublic Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeangetObjectType in class org.springframework.beans.factory.config.AbstractFactoryBeanCopyright © 1999-2015. All Rights Reserved.