Package org.torquebox.core.component

Examples of org.torquebox.core.component.ComponentResolver.resolve()


    public void startAsync(StartContext context) throws Exception {
        this.runtime = this.poolInjector.getValue().borrowRuntime( getDestinationPattern() );

        try {
            ComponentResolver componentResolver = this.componentResolverInjector.getValue();
            XAStompletComponent stomplet = (XAStompletComponent) componentResolver.resolve( runtime );

            SimpleStompletContainer container = containerInjector.getValue();
            container.addStomplet( this.destinationPattern, stomplet, this.config );
        } catch (Exception e) {
            this.poolInjector.getValue().returnRuntime( this.runtime );
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.