protected DefaultListableBeanFactory createBeanFactory() { return new FilteringListableBeanFactory(filter, getInternalParentBeanFactory()); } }
protected DefaultListableBeanFactory createBeanFactory() { return new FilteringListableBeanFactory(filter, getInternalParentBeanFactory()); } }
protected DefaultListableBeanFactory createBeanFactory() { return new FilteringListableBeanFactory(filter, getInternalParentBeanFactory()); } }
public Pipeline getPipeline( String pipelineName ) { return componentManager.lookupComponent(pipelineName); }
public FilteringListableBeanFactory(JetspeedBeanDefinitionFilter filter, BeanFactory parentBeanFactory) { super(parentBeanFactory); this.filter = filter; if (this.filter == null) { this.filter = new JetspeedBeanDefinitionFilter(); } this.filter.init(); }
protected JetspeedBeanDefinitionFilter getBeanDefinitionFilter() throws IOException { String categories = getBeanDefinitionFilterCategories(); return ((categories != null) ? new JetspeedBeanDefinitionFilter(categories) : new JetspeedBeanDefinitionFilter()); }
public JetspeedBeanDefinitionFilter(String propertiesLocation, String categoriesKey) throws IOException { loadProperties(new String[]{propertiesLocation}); setCategoriesKey(categoriesKey); }
/** * Terminate server component manager. * * @throws Exception */ public void terminate() throws Exception { // tear down jetspeed component manager scm.stop(); }
public FilteringClassPathXmlApplicationContext(JetspeedBeanDefinitionFilter filter, String[] configLocations, Properties initProperties, ApplicationContext parent) { super(parent); if (initProperties != null) { PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer(); ppc.setIgnoreUnresolvablePlaceholders(true); ppc.setSystemPropertiesMode(PropertyPlaceholderConfigurer.SYSTEM_PROPERTIES_MODE_FALLBACK); ppc.setProperties(initProperties); this.addBeanFactoryPostProcessor(ppc); } this.setConfigLocations(configLocations); this.filter = filter; }
public JetspeedBeanDefinitionFilter(Set<String> categories) { setCategories(categories); }
public void setCategories(Set<String> categories) { this.categories = categories; this.matcher = ((this.categories != null) ? new JetspeedBeanDefinitionFilterMatcher(this.categories) : null); }
/** * <p> * containsComponent * </p> * * @see org.apache.jetspeed.components.ComponentManagement#containsComponent(java.lang.Object, * java.lang.Object) * @param containerName * @param componentName * @return */ public boolean containsComponent(Object containerName, Object componentName) { return containsComponent(componentName); }
/** * <p> * getComponent * </p> * * @see org.apache.jetspeed.components.ComponentManagement#getComponent(java.lang.Object, * java.lang.Object) * @param containerName * @param componentName * @return */ public Object getComponent(Object containerName, Object componentName) { return getComponent(componentName); }
protected RequestContextComponent getRequestContextComponent() { if (requestContextComponent == null) { requestContextComponent = Jetspeed.getComponentManager().lookupComponent("org.apache.jetspeed.request.RequestContextComponent"); } return requestContextComponent; }
public JetspeedBeanDefinitionFilter(String[] propertiesLocations, String categoriesKey) throws IOException { loadProperties(propertiesLocations); setCategoriesKey(categoriesKey); }
/** * close Spring context as part of test teardown */ protected void tearDown() throws Exception { if (scm != null) { scm.stop(); } super.tearDown(); }
public JetspeedBeanDefinitionFilter() { setCategories(DEFAULT_CATEGORIES); }
public Object getComponent(String name) { return Jetspeed.getComponentManager().lookupComponent(name); }
public JetspeedBeanDefinitionFilter(String categories) { setCategories(categories); }
protected PortletPreferencesProvider getPreferencesProvider() { try { return Jetspeed.getComponentManager().lookupComponent("org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider"); } catch (Exception e) { return null; } }