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

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.TemplateAttributeDefinitionFactoryBean
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 TemplateAttributeDefinitionFactoryBean
extends BaseAttributeDefinitionFactoryBean

Spring factory bean that produces TemplateAttributeDefinitions.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
TemplateAttributeDefinitionFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 String getAttributeTemplate()
          Get the attribute template.
 Class getObjectType()
          
 List<String> getSourceAttributes()
          Get the source attribute IDs.
 org.apache.velocity.app.VelocityEngine getVelocityEngine()
          Get velocity engine instance.
 void setAttributeTemplate(String newAttributeTemplate)
          Set the attribute template.
 void setSourceAttributes(List<String> newSourceAttributes)
          Set the source attribute IDs.
 void setVelocityEngine(org.apache.velocity.app.VelocityEngine newVelocityEngine)
          Set velocity engine instance.
 
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

TemplateAttributeDefinitionFactoryBean

public TemplateAttributeDefinitionFactoryBean()
Method Detail

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

getAttributeTemplate

public String getAttributeTemplate()
Get the attribute template.

Returns:
the attribute template

setAttributeTemplate

public void setAttributeTemplate(String newAttributeTemplate)
Set the attribute template.

Parameters:
newAttributeTemplate - the attribute template

getSourceAttributes

public List<String> getSourceAttributes()
Get the source attribute IDs.

Returns:
the source attribute IDs

setSourceAttributes

public void setSourceAttributes(List<String> newSourceAttributes)
Set the source attribute IDs.

Parameters:
newSourceAttributes - the source attribute IDs

getVelocityEngine

public org.apache.velocity.app.VelocityEngine getVelocityEngine()
Get velocity engine instance.

Returns:
velocity engine instance

setVelocityEngine

public void setVelocityEngine(org.apache.velocity.app.VelocityEngine newVelocityEngine)
Set velocity engine instance.

Parameters:
newVelocityEngine - velocity engine instance


Copyright © 2006-2011 Internet2. All Rights Reserved.