@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ElementName
@ElementName("my") public class MyInterceptor extends AbstractInterceptor {
and define a bean
<spring:bean id="my" class="MyInterceptor" />. Then an element
<my/>will be available for usage in the proxies.xml . The parsing of the content of
<my/>has to be implemented in
AbstractXmlElement.parse(javax.xml.stream.XMLStreamReader)
.
The instance created by Spring by the bean declaration above is not used for anything.
The bean class has to have a default constructor. It will be used by spring for the useless bean
as well as by AbstractProxy#getInlinedInterceptor to create more instances, which will actually
be used.public abstract String value
Copyright © 2012. All Rights Reserved.