Package org.zanata.seam

Examples of org.zanata.seam.SeamAutowire


*/
public class StatisticsResourceRestTest extends ZanataRestTest {

    @Override
    protected void prepareResources() {
        SeamAutowire seamAutowire = getSeamAutowire();
        seamAutowire.use("session", getSession())
                .use("entityManager", super.getEm())
                .useImpl(StatisticsServiceImpl.class);

        StatisticsResource statisticsResource =
                seamAutowire.autowire(StatisticsResource.class);

        resources.add(statisticsResource);
    }
View Full Code Here

TOP

Related Classes of org.zanata.seam.SeamAutowire

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.