org.springframework.plugin.core.support
Class PluginRegistryFactoryBean<T extends Plugin<S>,S>

java.lang.Object
  extended by org.springframework.plugin.core.support.AbstractTypeAwareSupport<T>
      extended by org.springframework.plugin.core.support.PluginRegistryFactoryBean<T,S>
All Implemented Interfaces:
EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<PluginRegistry<T,S>>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

public class PluginRegistryFactoryBean<T extends Plugin<S>,S>
extends AbstractTypeAwareSupport<T>
implements org.springframework.beans.factory.FactoryBean<PluginRegistry<T,S>>

FactoryBean to create PluginRegistry instances. Wraps a BeanListFactoryBean.

Author:
Oliver Gierke

Constructor Summary
PluginRegistryFactoryBean()
           
 
Method Summary
 OrderAwarePluginRegistry<T,S> getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class org.springframework.plugin.core.support.AbstractTypeAwareSupport
afterPropertiesSet, getBeans, onApplicationEvent, setApplicationContext, setExclusions, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginRegistryFactoryBean

public PluginRegistryFactoryBean()
Method Detail

getObject

public OrderAwarePluginRegistry<T,S> getObject()
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<PluginRegistry<T extends Plugin<S>,S>>

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<PluginRegistry<T extends Plugin<S>,S>>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<PluginRegistry<T extends Plugin<S>,S>>


Copyright © 2008–2014 Pivotal, Inc.. All rights reserved.