Examples of FactoryCreateBuilder


Examples of org.apache.commons.digester3.binder.FactoryCreateBuilder

    /**
     * {@inheritDoc}
     */
    public void handle( FactoryCreate annotation, Class<?> element, RulesBinder rulesBinder )
    {
        FactoryCreateBuilder builder = rulesBinder.forPattern( annotation.pattern() )
            .withNamespaceURI( annotation.namespaceURI() )
            .factoryCreate()
            .overriddenByAttribute( annotation.attributeName().length() > 0 ? annotation.attributeName() : null )
            .ignoreCreateExceptions( annotation.ignoreCreateExceptions() );

        if ( FactoryCreate.DefaultObjectCreationFactory.class != annotation.factoryClass() )
        {
            builder.ofType( annotation.factoryClass() );
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.