Class PublishedBeanRegistry
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.objfac.spring.PublishedBeanRegistry
-
public class PublishedBeanRegistry extends Object
A Registry for published Spring beans. Also allows for looking up the names of all beans registered for a given type in the given Spring bean factory User: nbaker Date: 3/27/13
-
-
Constructor Summary
Constructors Constructor Description PublishedBeanRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<org.springframework.beans.factory.ListableBeanFactory>
getRegisteredFactories()
Return the list of registered BeanFactoriesstatic void
registerBean(String beanName, Class<?> clazz, Object factoryMarker)
Register a bean for the given class.static void
registerFactory(org.springframework.context.ApplicationContext applicationContext)
static void
reset()
-
-
-
Method Detail
-
registerBean
public static void registerBean(String beanName, Class<?> clazz, Object factoryMarker)
Register a bean for the given class. The factoryMarker is a UUID associated with the originating BeanFactory- Parameters:
beanName
-clazz
-factoryMarker
-
-
registerFactory
public static void registerFactory(org.springframework.context.ApplicationContext applicationContext)
-
getRegisteredFactories
public static Set<org.springframework.beans.factory.ListableBeanFactory> getRegisteredFactories()
Return the list of registered BeanFactories- Returns:
- list of factories
-
reset
public static void reset()
-
-