import java.lang.reflect.Field;\r
import java.util.Collection;\r
import java.util.Iterator;\r
-import java.util.LinkedList;\r
-import java.util.List;\r
import java.util.Map;\r
\r
import org.apache.commons.logging.Log;\r
import org.apache.commons.logging.LogFactory;\r
-import org.codehaus.plexus.PlexusContainer;\r
-import org.codehaus.plexus.context.Context;\r
-import org.codehaus.plexus.context.ContextException;\r
-import org.codehaus.plexus.logging.LogEnabled;\r
-import org.codehaus.plexus.logging.LoggerManager;\r
-import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable;\r
-import org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable;\r
-import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;\r
-import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;\r
-import org.springframework.beans.BeansException;\r
import org.springframework.beans.SimpleTypeConverter;\r
import org.springframework.beans.TypeConverter;\r
import org.springframework.beans.factory.BeanCreationException;\r
import org.springframework.beans.factory.BeanFactory;\r
import org.springframework.beans.factory.BeanFactoryAware;\r
import org.springframework.beans.factory.BeanInitializationException;\r
-import org.springframework.beans.factory.DisposableBean;\r
import org.springframework.beans.factory.FactoryBean;\r
-import org.springframework.beans.factory.InitializingBean;\r
import org.springframework.beans.factory.ListableBeanFactory;\r
-import org.springframework.beans.factory.config.AbstractFactoryBean;\r
import org.springframework.beans.factory.config.ConfigurableBeanFactory;\r
import org.springframework.beans.factory.config.RuntimeBeanReference;\r
import org.springframework.util.ReflectionUtils;\r
}\r
\r
/**\r
- * @param instanciationStrategy the instanciationStrategy to set\r
+ * @param instantiationStrategy the instantiationStrategy to set\r
*/\r
- public void setInstanciationStrategy( String instanciationStrategy )\r
+ public void setInstantiationStrategy( String instantiationStrategy )\r
{\r
- if ( instanciationStrategy.length() == 0 )\r
+ if ( instantiationStrategy.length() == 0 )\r
{\r
- instanciationStrategy = SINGLETON;\r
+ instantiationStrategy = SINGLETON;\r
}\r
- if ( "poolable".equals( instanciationStrategy ) )\r
+ if ( "poolable".equals( instantiationStrategy ) )\r
{\r
- throw new BeanCreationException( "Plexus poolable instanciation-strategy is not supported" );\r
+ throw new BeanCreationException( "Plexus poolable instantiation-strategy is not supported" );\r
}\r
- this.instantiationStrategy = instanciationStrategy;\r
+ this.instantiationStrategy = instantiationStrategy;\r
}\r
\r
/**\r
\r
import java.io.PrintWriter;\r
import java.io.StringWriter;\r
-import java.io.Writer;\r
import java.util.HashMap;\r
import java.util.Iterator;\r
import java.util.List;\r
import java.util.Map;\r
\r
-import javax.xml.transform.Transformer;\r
-import javax.xml.transform.TransformerConfigurationException;\r
-import javax.xml.transform.TransformerException;\r
-import javax.xml.transform.TransformerFactory;\r
-import javax.xml.transform.TransformerFactoryConfigurationError;\r
-import javax.xml.transform.dom.DOMSource;\r
-import javax.xml.transform.stream.StreamResult;\r
-\r
import org.apache.commons.lang.StringUtils;\r
-import org.dom4j.io.DOMReader;\r
-import org.dom4j.io.SAXReader;\r
import org.springframework.beans.factory.BeanDefinitionStoreException;\r
import org.springframework.beans.factory.config.RuntimeBeanReference;\r
-import org.springframework.beans.factory.parsing.BeanDefinitionParsingException;\r
-import org.springframework.beans.factory.parsing.Problem;\r
import org.springframework.beans.factory.support.AbstractBeanDefinition;\r
import org.springframework.beans.factory.support.BeanDefinitionBuilder;\r
import org.springframework.beans.factory.xml.AbstractBeanDefinitionParser;\r
import org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser;\r
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;\r
import org.springframework.beans.factory.xml.ParserContext;\r
-import org.springframework.context.ApplicationContextException;\r
import org.springframework.util.xml.DomUtils;\r
import org.w3c.dom.Element;\r
import org.w3c.dom.NamedNodeMap;\r
builder.addPropertyValue( "role", element.getAttribute( "role" ) );\r
String implementation = element.getAttribute( "implementation" );\r
builder.addPropertyValue( "implementation", implementation );\r
- builder.addPropertyValue( "instanciationStrategy", element.getAttribute( "instantiation-strategy" ) );\r
+ builder.addPropertyValue( "instantiationStrategy", element.getAttribute( "instantiation-strategy" ) );\r
\r
Map dependencies = new HashMap();\r
\r