com.atlassian.plugin.spring.pluginns
Class SpringXmlHostComponentProvider

java.lang.Object
  extended by com.atlassian.plugin.spring.pluginns.SpringXmlHostComponentProvider
All Implemented Interfaces:
HostComponentProvider, org.springframework.beans.factory.BeanFactoryAware

public class SpringXmlHostComponentProvider
extends java.lang.Object
implements HostComponentProvider, org.springframework.beans.factory.BeanFactoryAware

Host component provider that uses plugin:available="true" attributes in Spring XML bean configuration elements to determine which host components to provide to plugins.


Constructor Summary
SpringXmlHostComponentProvider()
           
 
Method Summary
 void provide(ComponentRegistrar registrar)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setRegistrations(java.util.List<java.lang.String> names)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringXmlHostComponentProvider

public SpringXmlHostComponentProvider()
Method Detail

setRegistrations

public void setRegistrations(java.util.List<java.lang.String> names)

provide

public void provide(ComponentRegistrar registrar)
Specified by:
provide in interface HostComponentProvider

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.