public class ScriptedAttributeDefinitionFactoryBean extends BaseAttributeDefinitionFactoryBean
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, setSourceAttributeId
getDependencyIds, getPluginId, setDependencyIds, setPluginId
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.FactoryBean
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
Copyright © 1999–2014. All rights reserved.