public class EvaluableScriptFactoryBean extends AbstractComponentAwareFactoryBean<net.shibboleth.utilities.java.support.scripting.EvaluableScript>
EvaluableScript from either inline data or from a resource.| Modifier and Type | Field and Description |
|---|---|
private String |
engineName
The JSR223 engine name.
|
private Logger |
log
log.
|
private Resource |
resource
The resource which locates the script.
|
private String |
script
The script.
|
private String |
sourceId
The source Id.
|
logger| Constructor and Description |
|---|
EvaluableScriptFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected net.shibboleth.utilities.java.support.scripting.EvaluableScript |
doCreateInstance()
Call the parent class to create the instance.
|
String |
getEngineName()
Get the engine Name.
|
Class<?> |
getObjectType() |
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(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, destroyInstanceafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonprivate final Logger log
private Resource resource
private String script
private String engineName
private String sourceId
public Resource getResource()
public void setResource(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 FactoryBean<net.shibboleth.utilities.java.support.scripting.EvaluableScript>getObjectType in class AbstractFactoryBean<net.shibboleth.utilities.java.support.scripting.EvaluableScript>protected net.shibboleth.utilities.java.support.scripting.EvaluableScript doCreateInstance()
throws Exception
doCreateInstance in class AbstractComponentAwareFactoryBean<net.shibboleth.utilities.java.support.scripting.EvaluableScript>Exception - if needed.Copyright © 1999–2016 Shibboleth Consortium. All rights reserved.