gate.util.spring.xml
Class ExtraGatePluginBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
gate.util.spring.xml.ExtraGatePluginBeanDefinitionParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
public class ExtraGatePluginBeanDefinitionParser
- extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
Bean definition parser for
<gate:extra-plugin>path</gate:extra-plugin>
producing the equivalent of
<bean class="gate.util.spring.ExtraGatePlugin">
<property name="location" value="path" />
</bean>
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.
| Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE |
| Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
doParse, getBeanClassName, parseInternal |
| Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtraGatePluginBeanDefinitionParser
public ExtraGatePluginBeanDefinitionParser()
doParse
protected void doParse(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Overrides:
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
getBeanClass
protected Class getBeanClass(Element element)
- Overrides:
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()
- Overrides:
shouldGenerateIdAsFallback in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser