edu.internet2.middleware.grouper.shibboleth.dataConnector.config
Class SPMLDataConnectorFactoryBean

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.dataConnector.BaseDataConnectorFactoryBean
              extended by edu.internet2.middleware.grouper.shibboleth.dataConnector.config.SPMLDataConnectorFactoryBean
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 SPMLDataConnectorFactoryBean
extends edu.internet2.middleware.shibboleth.common.config.attribute.resolver.dataConnector.BaseDataConnectorFactoryBean

Spring bean factory that produces SPMLDataConnectors.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
SPMLDataConnectorFactoryBean()
           
 
Method Summary
protected  Object createInstance()
           
 String getBase()
           
 long getCacheElementTimeToLive()
          Gets the time to live, in milliseconds, for cache elements.
 net.sf.ehcache.CacheManager getCacheManager()
          Gets the manager for the results cache.
 String getFilterTemplate()
           
 int getMaximumCachedElements()
          Gets the maximum number of elements that will be cached.
 Class getObjectType()
           
 SpmlProvider getProvider()
           
 org.openspml.v2.msg.spml.ReturnData getReturnData()
           
 org.openspml.v2.msg.spmlsearch.Scope getScope()
           
 edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.TemplateEngine getTemplateEngine()
           
 void setBase(String base)
           
 void setCacheElementTimeToLive(long ttl)
          Sets the time to live, in milliseconds, for cache elements.
 void setCacheManager(net.sf.ehcache.CacheManager manager)
          Sets the manager for the results cache.
 void setFilterTemplate(String filterTemplate)
           
 void setMaximumCachedElements(int max)
          Sets the maximum number of elements that will be cached.
 void setProvider(SpmlProvider provider)
           
 void setReturnData(org.openspml.v2.msg.spml.ReturnData returnData)
           
 void setScope(org.openspml.v2.msg.spmlsearch.Scope scope)
           
 void setTemplateEngine(edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.TemplateEngine templateEngine)
           
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.dataConnector.BaseDataConnectorFactoryBean
getFailoverDataConnectorId, populateDataConnector, setFailoverDataConnectorIds
 
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

SPMLDataConnectorFactoryBean

public SPMLDataConnectorFactoryBean()
Method Detail

getBase

public String getBase()

setBase

public void setBase(String base)

getFilterTemplate

public String getFilterTemplate()

setFilterTemplate

public void setFilterTemplate(String filterTemplate)

getProvider

public SpmlProvider getProvider()

setProvider

public void setProvider(SpmlProvider provider)

getReturnData

public org.openspml.v2.msg.spml.ReturnData getReturnData()

setReturnData

public void setReturnData(org.openspml.v2.msg.spml.ReturnData returnData)

getScope

public org.openspml.v2.msg.spmlsearch.Scope getScope()

setScope

public void setScope(org.openspml.v2.msg.spmlsearch.Scope scope)

getTemplateEngine

public edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.TemplateEngine getTemplateEngine()

setTemplateEngine

public void setTemplateEngine(edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.TemplateEngine templateEngine)

getCacheManager

public net.sf.ehcache.CacheManager getCacheManager()
Gets the manager for the results cache.

Returns:
manager for the results cache

setCacheManager

public void setCacheManager(net.sf.ehcache.CacheManager manager)
Sets the manager for the results cache.

Parameters:
manager - manager for the results cache

getCacheElementTimeToLive

public long getCacheElementTimeToLive()
Gets the time to live, in milliseconds, for cache elements.

Returns:
time to live, in milliseconds, for cache elements

setCacheElementTimeToLive

public void setCacheElementTimeToLive(long ttl)
Sets the time to live, in milliseconds, for cache elements.

Parameters:
ttl - time to live, in milliseconds, for cache elements

getMaximumCachedElements

public int getMaximumCachedElements()
Gets the maximum number of elements that will be cached.

Returns:
maximum number of elements that will be cached

setMaximumCachedElements

public void setMaximumCachedElements(int max)
Sets the maximum number of elements that will be cached.

Parameters:
max - maximum number of elements that will be cached

createInstance

protected Object createInstance()
                         throws Exception
Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception

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


Copyright © 2011 Internet2. All Rights Reserved.