public class EvaluableScriptFactoryBean extends AbstractComponentAwareFactoryBean<EvaluableScript>
EvaluableScript from either inline data or from a resource.| Modifier and Type | Field and Description |
|---|---|
private String |
engineName
The JSR223 engine name.
|
private org.slf4j.Logger |
log
log.
|
private org.springframework.core.io.Resource |
resource
The resource which locates the script.
|
private String |
script
The script.
|
private String |
sourceId
The source Id.
|
| Constructor and Description |
|---|
EvaluableScriptFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected EvaluableScript |
doCreateInstance()
Call the parent class to create the instance.
|
String |
getEngineName()
Get the engine Name.
|
Class<?> |
getObjectType() |
org.springframework.core.io.Resource |
getResource()
Get the resource which locates the script.
|
String |
getScript()
Get the script.
|
String |
getSourceId()
Get the source ID.
|
void |
setEngineName(String what)
Set the engine name.
|
void |
setResource(org.springframework.core.io.Resource what)
Set the resource which locates the script.
|
void |
setScript(String what)
Set the script.
|
void |
setSourceId(String what)
Set the source Id.
|
createInstance, destroyInstanceprivate final org.slf4j.Logger log
private org.springframework.core.io.Resource resource
private String script
private String engineName
private String sourceId
public org.springframework.core.io.Resource getResource()
public void setResource(org.springframework.core.io.Resource what)
what - the resource to set.public String getScript()
public void setScript(String what)
what - the script to set.public String getSourceId()
public void setSourceId(String what)
what - the Id to set.public String getEngineName()
public void setEngineName(String what)
what - the engine name to set.public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<EvaluableScript>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<EvaluableScript>protected EvaluableScript doCreateInstance() throws Exception
doCreateInstance in class AbstractComponentAwareFactoryBean<EvaluableScript>Exception - if needed.Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.