edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition
Class ScriptedAttribtueDefinitionFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPluginFactoryBean
          extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.BaseAttributeDefinitionFactoryBean
              extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.ScriptedAttribtueDefinitionFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class ScriptedAttribtueDefinitionFactoryBean
extends BaseAttributeDefinitionFactoryBean

Scripted attribute factory.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
ScriptedAttribtueDefinitionFactoryBean()
           
 
Method Summary
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.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.BaseAttributeDefinitionFactoryBean
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeId, isDependencyOnly, populateAttributeDefinition, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeId
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPluginFactoryBean
getDependencyIds, getPluginId, setDependencyIds, setPluginId
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptedAttribtueDefinitionFactoryBean

public ScriptedAttribtueDefinitionFactoryBean()
Method Detail

getLanguage

public String getLanguage()
Gets the scripting language being used.

Returns:
scripting language being used

setLanguage

public void setLanguage(String language)
Sets the scripting language being used.

Parameters:
language - scripting language being used

getScript

public String getScript()
Gets the script.

Returns:
the script

setScript

public void setScript(String newScript)
Sets the script.

Parameters:
newScript - the script

getScriptFile

public String getScriptFile()
Gets the file to read the script from.

Returns:
file to read the script from

setScriptFile

public void setScriptFile(String file)
Sets the file to read the script from.

Parameters:
file - file to read the script from

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception


Copyright © 2006-2008 Internet2. All Rights Reserved.