public class ExtraGatePluginBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
<gate:extra-plugin>path</gate:extra-plugin>
producing the equivalent of
<bean class="gate.util.spring.ExtraGatePlugin"> <property name="location" value="path" /> </bean>Or for a Maven-style plugin
<gate:extra-plugin
group-id="uk.ac.gate.plugins" artifact-id="annie" version="8.5" />
While the element can take an id
it is not normally
necessary to provide one as the Init
bean enumerates all
ExtraGatePlugin
beans by type, ignoring their IDs.Constructor and Description |
---|
ExtraGatePluginBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
getBeanClass(Element element) |
protected void |
postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
Element element) |
protected boolean |
shouldGenerateIdAsFallback() |
doParse, extractPropertyName, isEligibleAttribute, isEligibleAttribute
doParse, getBeanClassName, getParentName, parseInternal
protected void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, Element element)
postProcess
in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
protected Class<?> getBeanClass(Element element)
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected boolean shouldGenerateIdAsFallback()
shouldGenerateIdAsFallback
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Copyright © 2023 GATE. All rights reserved.