Package org.torquebox.core.component

Examples of org.torquebox.core.component.ComponentClass


public class RubyServiceTest {
   
    @Before
    public void setUp() throws Exception {
        this.ruby = createRuby();
        this.componentClass = new ComponentClass();
        this.componentResolver = new ComponentResolver( false );
        this.componentResolver.setComponentInstantiator( this.componentClass );
        this.componentResolver.setComponentWrapperClass( ServiceComponent.class );
        this.service = new RubyService( "test service" );
        this.service.setComponentResolver( this.componentResolver );
View Full Code Here


        this.serviceTarget = serviceTarget;
        this.unit = unit;
    }

    public ComponentResolverHelper initializeInstantiator(String rubyClassName, String rubyRequirePath) {
        ComponentClass componentClass = new ComponentClass();

        componentClass.setClassName(rubyClassName);
        componentClass.setRequirePath(rubyRequirePath);

        instantiator = componentClass;

        return this;
    }
View Full Code Here

public class RubyJobProxyTest extends AbstractRubyTestCase {

    @Before
    public void setUp() throws Exception {
        this.ruby = createRuby();
        this.componentClass = new ComponentClass();
        this.componentResolver = new ComponentResolver( false );
        this.componentResolver.setComponentInstantiator( this.componentClass );
        this.componentResolver.setComponentWrapperClass( JobComponent.class );
        this.jobDetail = new JobDetailImpl();
        this.jobDetail.setName( "RubyJobProxyTest" );
View Full Code Here

TOP

Related Classes of org.torquebox.core.component.ComponentClass

Copyright © 2018 www.massapicom. 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.